|
-
Jun 14th, 2000, 01:38 PM
#1
Thread Starter
Addicted Member
I have the working model edtion of vb6 and it doesnt allow me to make .exe programs or make any activeX components
Here's my question....i tried to make a command button that lets the user read text files...but when i use the code..
Private Sub cmdPress_Click()
Dim FilePath As String
FilePath = InputBox("Enter the file you want to read", "PathFinder")
Open FilePath For Input As #1
Print #1, txtMessage.Text
Close #1
End Sub
and run it....i get a message "file not found" but i know it exists..cause it is listed in my DOS ..is it the fact that i have the working model editon stopping me from opening files?? Do i need the professional edtion to accomplish this?
or is it in my code that there is a mistake.
thanks in advance.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|