Taffarel
Dec 8th, 2000, 06:29 PM
I want to put a button on my form that will start up a certain program installed on my computer. The program is different than normal though - instead of having an exe file to start the program, it created a new virtual folder (just like the Recycle Bin) and put a shortcut to it on my desktop. When I start the program, it opens an Explore window like the Recycle Bin would. I've looked at functions like SHGetSpecialFolderLocation, but I don't understand how to make it work in this kind of a situation. I found this function that opens the Recycle Bin:
sCommand = "/root,::{645FF040-5081-101B-9F08-00AA002F954E}"
Call ShellExecute(0, "Open", "explorer.exe", sCommand, 0&, 1)
But I don't know how to find the sCommand that would access this special folder. Can you help?
sCommand = "/root,::{645FF040-5081-101B-9F08-00AA002F954E}"
Call ShellExecute(0, "Open", "explorer.exe", sCommand, 0&, 1)
But I don't know how to find the sCommand that would access this special folder. Can you help?