When the button is clicked, I want the file to be opened.
The file will be in the same directory as the visual basic project.
Therefore, I need the code to open the file using "app.Path".
Any solutions?
Skate Bart 12 Newbie Poster
Recommended Answers
Jump to PostWhat you want to do is somewhat difficult with the native functions in VB6. Using the windows api functions however are much more flexible. Here's an example to open a text file just by passing the path to the file. You should be able to adapt it to your needs.
…
Jump to PostPerfect tinstaafl!!
All 5 Replies
pmusha 0 Newbie Poster
Skate Bart 12 Newbie Poster
words2riches 0 Newbie Poster
tinstaafl 1,176 Posting Maven
AndreRet commented: Perfect +12
AndreRet 526 Senior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.