|
-
Sep 10th, 2001, 07:44 AM
#1
Thread Starter
New Member
using regsvr32
In my job I test software applications. To make it easier for me to reinstall new builds I wrote a batch file to unregister the dlls used by one of our apps. (it will not uninstall otherwise) The batch file is very simple: "regsvr32 -u c:\....filename.dll" I would like to convert this to a visual basic 6 application. Clicking a command button to do what the batch file does, another command button to exit and a couple of labels. Should be really simple but I am stuck. I have tried the shell execute function to run regsvr32, I get no error messages but it doesn't work. For something this simple should I be able to use the open command? Nothing I have tried so far appears to work. eg: open "regsvr32.exe -u <path> for binary as #1
Close#1" That statement gives me a whole host of syntex and compile errors. Any suggestions?
thanks,
Myra
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|