ghfhgfhghg
Printable View
ghfhgfhghg
Not sure... but don't you need quotes?
rtetretr
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.
Please show the code exactly as you have it. It should look likeQuote:
Originally posted by Aphex
i tried quotes.. still same error :mad:
VB Code:
Private Sub Form_Load() Call Shell("regsvr32 /s MSWINSCK.OCX") End Sub
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.