
Problem deploying signed ActiveX Control on a web server
I had some similar results with an ActiveX Dll. Make very sure that you are
passing in the exact datatype required by the parameters. I found the only
way that would work was to use the appropriate conversion function within
the parameter.
ie myfunc(cstr(mystringvar), clng(mylongvar))
In ASP all variable get declared as variants and for some reason they were
not getting translated in the parameter.
Quote:
> Hello !
> I coded an activex and I've got some problems to run it on a web page
(based
> on a Apache web server) :
> When I don't give the activex parameters (<param name="foo" value="bar">)
it
> works fine. But when I put one or more param, I think the initialisation
of
> the activex failed (blank page, no errors).
> Here are my steps :
> 1. Create a new activex project
> 2. Set my properties using ActiveX Control Interface Wizard
> 3. Write my code
> 4. Create the cab with the Package and deployment Wizard (set yes to int
and
> script safe)
> 5. Sign my ocx under the support dir with signcode.exe
> 6. rebuild the cab with the .bat generated under the support dir
> 7. sign the new cab version with signcode.exe
> 8. upload the cab and htm files on the web server
> Where am I wrong ?
> TIA
> Laurent