kind of an out there question but is it possible in vb code to open a file with a specific program not the default program so for example open a inf file with word even tho its not the default file type associated with word
Printable View
kind of an out there question but is it possible in vb code to open a file with a specific program not the default program so for example open a inf file with word even tho its not the default file type associated with word
1. For Word only: Create a Word App, use Documents.Open(FileName)
2. General: Use Shell() if program file support command-line.
Shell ProgramFileFullPath & " " & DocumentFullPath
If either path contains a space it must be surrounded by quotes
alright that seemed to work thanks alot