Client-side ACTIVE X - HELP!

Results 1 to 2 of 2

Thread: Client-side ACTIVE X - HELP!

  1. #1
    Johan Tauson Guest

    Default Client-side ACTIVE X - HELP!

    Hello!<BR><BR>I have made an ActiveX OCX-file. I have registered it on the webserver using a CAB-setupfile.<BR>If I, on the server, create a local HTML-file, makes an OBJECT-tag and calls the function from the AX-controller, then everything works just fine, but if I write the same thing in an ASP-file and accesses it over TCP/IP, then i get an error.<BR>look at this<BR><BR>&#060;OBJECT id="myobj" CLASSID=clsid:blabla...."...blablalbla&#062;<BR>&# 060;/OBJECT&#062;<BR><BR>&#060;SCRIPT LANGUAGE = "vbscript"&#062;<BR>dim koord<BR>koord="150,100,50,90"<BR>&#039;setPic is a public sub in the AX-cntroller<BR>&#039;it takes 4 parameters<BR>myobj.setPic "picture.jpg", 200,200,koord<BR><BR>&#060;/SCRIPT&#062;<BR><BR><BR>The error says something like "Could not find method setPic in myobj"<BR><BR>Does someone know what&#039;s wrong?<BR><BR>/Johan

  2. #2
    Join Date
    Dec 1969

    Default RE: Client-side ACTIVE X - HELP!

    Add RUNAT="SERVER" in your &#060;OBJECT&#062; tag

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts