Discussion Locked

Visual Basic question...

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
How can I open *.pdf, *.doc,*.bmp..etc files from within visual basic without knowing the path of the application which opens the file?

3 replies

by mark.thomson

Use the Shellexecute API, this essentially uses the windows file associations (i.e. like double-clicking a file in windows explorer) - see msdn for further details

This discussion is closed to new replies.