Hi all,
I am using VB 6.0 and I got .vbp and .frm files from a colleague. (The program worked fine in her computer)
The filename is to be entered into a TextBox. And the OpenTextFile will open the the filename as stated in the TextBox. When I run the program using the IDE's Run-> Start, it cannot find the text file and reports error '53'.
When I created it as a .exe file and run from the Windows Environment, the text file can be opened.
I believe the .vbp file still contains the old pathname of my colleague's computer.
Is there a way to solve this ? How can I tell OpenTextFile to search in the current folder as .vbp (without explicitly entering the "full path name" ?)
Thank you
Marwing