![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Questions & Help Needed Post any question regarding Basic4ppc. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi guys,
I have the following lines in code with y textbox.text full of data. When trying to save this I get an access denied error. Any idea? Sub mnuFileSave_Click Savedialog.Filter = "Text files (*.txt)|*.txt" if fName = "" then Choice = savedialog.Show if Choice = cCancel then return else fName = Savedialog.File end if fileopen (F,fName,cWrite) s = txtbxData.Text filewrite (F,s) fileclose (F) End Sub |
|
|||
|
Hi, try this :
Savedialog.Filter = "Text files (*.txt)|*.txt" if fName = "" then savedialog.Show fname = savedialog.file if fname = cCancel then return end if fileopen (F,fName,cWrite) s = txtbxData.Text filewrite (F,s) fileclose (F) End Sub It should work. Petr |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| calender control option show/open ? | mike2ppc | Questions & Help Needed | 10 | 10-27-2008 08:54 PM |
| FAX Option? | Jonathon | Basic4ppc Wishlist | 3 | 06-25-2008 07:52 AM |
| Option Explicit | badkarma | Questions & Help Needed | 6 | 06-21-2008 05:08 PM |
| SMS Message Intercept option To Delete Message | RandomCoder | Basic4ppc Wishlist | 0 | 03-02-2008 10:11 PM |
| SetPixel do no work | Put Claude | Questions & Help Needed | 1 | 05-14-2007 06:21 AM |