Problem deploying signed ActiveX Control on a web server 
Author Message
 Problem deploying signed ActiveX Control on a web server

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



Mon, 08 Mar 2004 00:26:51 GMT  
 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



Mon, 08 Mar 2004 00:43:18 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Problem deploying signed ActiveX Control on a web server

2. Problem deploying signed ActiveX Control on a web server

3. problems with deploying signed ocx control on the web

4. Deploy ActiveX to a web server... troubles :)

5. QUESTION: Deploying an ActiveX Control on a Web Page

6. QUESTION: Deploying an ActiveX Control on a Web Page

7. deploying activex control problem

8. Deploying ActiveX Control is giving problem

9. Enabling activex when deploying web app

10. Web Browser control - problem loading ActiveX controls

11. auto deploy windows form from web server

12. Building, Deploying Web App for Mac OS X server

 

 
Powered by phpBB® Forum Software