Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


Text editor for INI files


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-14-2007, 08:33 PM
Junior Member
 
Join Date: Jun 2007
Location: South Africa
Posts: 21
Awards Showcase
Beta Tester 
Total Awards: 1
Default Text editor for INI files

Hi Erel,
how can i get your TextEditor.sbp to open ini files only, EG File, load, *.ini
I need to put in some sort of a filter that will only allow the user to open INI files.
OpenDialog1.Filter="*.ini* doesnt seem to work or I am putting it in the wrong place

Thanks
Friedrich

edit inserting OpenDialog1.Filter=(*.ini) just before "If OpenDialog1.Show <> cCancel Then" gives an "error opening file"

Last edited by Softselect : 11-14-2007 at 08:39 PM. Reason: not enough info
Reply With Quote
  #2 (permalink)  
Old 11-14-2007, 08:48 PM
specci48's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: Germany
Posts: 610
Default

Hi Softselect,

add this line before showing the open dialog:
Code:
OpenDialog1.Filter = "Init Files (*.ini)|*.ini"
speeci48
Reply With Quote
  #3 (permalink)  
Old 11-15-2007, 06:50 AM
Junior Member
 
Join Date: Jun 2007
Location: South Africa
Posts: 21
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Thank you specci48
i knew it had to be simple, i guess i mis-interpeted the help file
Danke
Friedrich
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Text Editor Henshu mit fgControls alfcen German Forum 2 07-03-2008 11:37 AM
Text Editor, Henshu alfcen Open Source Projects 18 07-03-2008 12:58 AM
Text Files Erel Tutorials 11 03-17-2008 07:15 PM
Text Editor example Erel Code Samples & Tips 0 09-10-2007 02:10 PM
Is it possible to edit .spb-files in a normal editor sloopa Questions & Help Needed 1 05-12-2007 12:36 PM


All times are GMT. The time now is 07:51 AM.


Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0