
add explorer file right-click to vb program?
Right... I got that much of it. I'm trying to set up the associations in
the registry via the VB Setup program, so that the user doesn't have to do
it manually. I'll probably have to shell to an executable that I will
create that creates the key values, etc. THAT's the part I need help with!
Thanks,
Randy
Quote:
>Utilize the VB variable "Command" within your Visual Basic app. This will
>contain the command line argument passed to your program. It can be passed
>by command line like : myprog.exe c:\autoexec.bat ... In this case,
>the "Command" variable will contain the "c:\autoexec.bat"
>In addition, to allow Windows Explorer to open the file with your
>application, create a file association under the view/folder options/file
>types within Windows explorer. The variable is passed to your application
>in the same way listed above...
>>I want to enable my vb app to launch and load a file that's selected by
>>right-clicking the file in Explorer, a la Winzip and others. I believe
>>ShellExecute is involved, and I'll probably need to pass a commandline
>>argument, but does anyone have any specifics or code examples?
>>Thanks in advance!
>>Randall Arnold
>>t & r designs