Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.
open file with an associated progra
Name: nader Date: August 31, 2003 at 23:19:00 Pacific OS: 98 CPU/Ram: 800
Comment:
I am searching the way to write a program have treeview of files. And then click on the file names in the treeview then windows open it with an associated program.for example: Doc file open with word and Pdf open with Acrobat reader and … (Same a windows explorer). I am using the VB6 for programing Thanks
Name: Chi Happens Date: September 1, 2003 at 21:52:35 Pacific
Reply:
You can use ShellExecute and simply execute the file (if the association is already made it will open), or use ShellExecute to open the target executable and pass the file as the parameter.
Hope this gets you pointed in the right direction, Chi Happens
Summary: Oh, that'a a pity! But I've already thougt that it's not possible. I've already searched to do it in java, vb, python etc ... but I've only found the way to open files with the shell-command, which do...
Summary: Hi, I was wondering if anyone knew how I can prevent people from saving an HTML file with an image on it (jpeg) from within a browser? I'm mainly concerned about people saving the image, since it is r...
Summary: Hi everyone, I am programming a parser for a computer science class and I have ran into a problem with my open file. I had a working scanner in which I open the file in the main method and then pass t...