Microsofts Script Control & VB5?
Is it possible to use the Microsoft Script Control in VB5? I've looked but it isn't there. However, it is there in VB6. Is it possible to use this in VB5? If yes, what do I need to do to make it work. I know the control is c:\winnt\system32\msscript.ocx. But I have a hunch that I will need to register it (knowing Microsoft) on the VB5 machine (wich btw is a win95 machine) and my experience with regsvr32 aren't to good (never succeded, not even once).
Tom Cannaerts
[email protected]
The best way to escape a problem, is to solve it.
Re: Microsofts Script Control & VB5?
I HAVE used it in VB 5 without any problems.
What error messages do you get when calling regsvr32?
Re: Microsofts Script Control & VB5?
Loadlibrary("libname") failed.
GetLastError returns 0x0000007e
or something like that. I haven't tried it with the scrit control, but with some other controls (like winsock.ocx) it always happens.
But besides that, is it nescessary to register the control, or can i just select it with project components?
Tom Cannaerts
[email protected]
The best way to escape a problem, is to solve it.
Re: Microsofts Script Control & VB5?
>But besides that, is it nescessary to register the control, or can i just select it with project components?
I think VB should register the component automatically if you add it via Project/Components/Browse