|
-
Mar 26th, 2004, 09:57 PM
#1
Thread Starter
Addicted Member
Last edited by Aphex; Apr 17th, 2009 at 09:04 PM.
-
Mar 26th, 2004, 09:59 PM
#2
Addicted Member
Not sure... but don't you need quotes?
Never tie a rock to your ankle while randomly selecting stones to throw from high places.
-
Mar 26th, 2004, 10:25 PM
#3
Thread Starter
Addicted Member
Last edited by Aphex; Apr 17th, 2009 at 09:05 PM.
-
Mar 26th, 2004, 10:31 PM
#4
Addicted Member
Aphex
Sorry... but shouldn't regsvr32 be regsvr32.exe?
If these suggestions don't work, I apologize. I can't help you further. Hopefully, someone else will reply.
Never tie a rock to your ankle while randomly selecting stones to throw from high places.
-
Mar 26th, 2004, 10:34 PM
#5
Originally posted by Aphex
i tried quotes.. still same error
Please show the code exactly as you have it. It should look like
VB Code:
Private Sub Form_Load()
Call Shell("regsvr32 /s MSWINSCK.OCX")
End Sub
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Mar 27th, 2004, 09:30 AM
#6
First off, this one Should be in quotes as it is a string. I would add the pathing in so vb knows where to look for the files as well as this:
VB Code:
Private Sub Form_Load()
Shell ("C:\Path\regsvr32.exe /s C:\Path\MSWINSCK.OCX")
End Sub
If this still doesn't sort your problem, then try looking at the SHELLEXECUTE or DLLREGISTERSERVER
api calls to achieve this registration.
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
|