Thanks Mark
Just one last thing. Is there a formal way of checking for the existence of a DLL/OCX rather than checking for the file(s)? or is it Ok to just do a REGSVR32 over and over without checking for it's existence?
THanks
Kev
>It depends on the actual error message. The most common is invalid license. This basically means you have a developer license installed on your PC but not on the end-users. This is usually caused by programmaticaly adding the control to a container object. The work around is to subclass the control by dropping it onto a form. Then you instanciate that subclass and work from there.
>
>>Mark
>>
>>On another note about ActiveX controls, why is that some errors (ie 1426) come up all the time, and the error traps ignore these errors - what are they exactly?
>>
>>Thanks
>>Kev
>>>Yes.
>>>
>>>>Thanks Mark
>>>>
>>>>So I just need the OCX?
>>>>
>>>>Kev
>>>>>You can run RegSvr32 in Silent mode with the /s switch. For a list of switches, type RegSvr32 /? in the RUN combobox.
>>>>>
>>>>>>Hi
>>>>>>
>>>>>>I want to distribute an ActiveX control onto all the PC's that use my app.
>>>>>>
>>>>>>Here's the tricky part - I want it done automatically with as little user-intervention as possible, the main reason being that most of our users use the app on their notebooks as a standalone and some people use it on PC's running from the server.
>>>>>>
>>>>>>The only thing I could think of was to run REGSVR32 and put this into a program that would run before the app.
>>>>>>
>>>>>>Any ideas?
>>>>>>Thanks
>>>>>>Kev
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only