Results 1 to 12 of 12

Thread: [RESOLVED] ActiveX Publshing issues on the Web

  1. #1

    Thread Starter
    PowerPoster Fazi's Avatar
    Join Date
    Aug 2005
    Location
    Underworld
    Posts
    2,525

    Resolved [RESOLVED] ActiveX Publshing issues on the Web

    Hai friends,

    I have never used an activeX controll on the web.
    Yesterday i created an activeX contol. Then i used the P&D wizard to package it for the web. after packaging i ended up with 3 files on in a folder called 'Package' . 1. ocxname.htm 2.ocxname.cab 3.a folder call support which consist of all the vbruntime files,an inf and an additional ocx for inet. looking like a copies of files which are inside the cab file.

    i just copied the htm file and the cab file to the root of my website.
    i accessed the htm page using http://www.mysite.com/myocx.htm
    the page displayes, but insted of my activex control, i can only see a small Box with a dot in the middle indicating somthing is missing.

    Please Help. Agent matter.
    Last edited by Fazi; Dec 19th, 2007 at 11:36 PM.

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: ActiveX Publshing issues on the Web

    Are you certain it is registered on the web server?

  3. #3

    Thread Starter
    PowerPoster Fazi's Avatar
    Join Date
    Aug 2005
    Location
    Underworld
    Posts
    2,525

    Re: ActiveX Publshing issues on the Web

    Hack,
    first, it does not appear in the page.
    second, how do i register it ?
    3rd, what i have distributed is correct ?

  4. #4
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: ActiveX Publshing issues on the Web

    Quote Originally Posted by Fazi
    second, how do i register it ?
    If your installer didn't register it, then I would try regsvr32
    Quote Originally Posted by Fazi
    3rd, what i have distributed is correct ?
    If this is the only problem you are having, then it sounds like you got everything. Especially, if manually registering the control works.

  5. #5
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: ActiveX Publshing issues on the Web

    Well, since it's something to run in the browser, it doesn't need to be registered with the server.....

    How did you link to the object in your HTML? That's going to be the key. There's a couple attributes that are involved - 1) to indicate the object to use and 2) if it's not available, a link to the CAB file where it can be installed from.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  6. #6

    Thread Starter
    PowerPoster Fazi's Avatar
    Join Date
    Aug 2005
    Location
    Underworld
    Posts
    2,525

    Re: ActiveX Publshing issues on the Web

    Thanks for your replies.

    This is the code P&D has put inside html file
    Code:
    <OBJECT ID="UserControl1"
    CLASSID="CLSID:B8BE9C8E-2C73-4316-980C-86387DE20F86"
    CODEBASE="NetCheck.CAB#version=1,0,0,0">
    </OBJECT>
    NetCheck is the ocx name

    I am still confused with what to upload on to the server
    Last edited by Fazi; Dec 20th, 2007 at 12:20 PM.

  7. #7

    Thread Starter
    PowerPoster Fazi's Avatar
    Join Date
    Aug 2005
    Location
    Underworld
    Posts
    2,525

    Re: ActiveX Publshing issues on the Web

    Quote Originally Posted by Hack
    If your installer didn't register it, then I would try regsvr32If this is the only problem you are having, then it sounds like you got everything. Especially, if manually registering the control works.
    Hack, as tg sad, i need to put this activex in a webpage
    for the initial testing, i decided to the use the page p&D generated. that has the cod i posted in previous post.

  8. #8
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: ActiveX Publshing issues on the Web

    For uploading, the CAB file. But even still... the tag....oop.... never mind, I see it... it's pointing to the cab... the CAB file needs to go into the same dir as the web page that is displaying it. IF you want the CAB in another folder, then modify the CODEBASE parameter of the tag to point to the CAB file RELATIVE to the web page displaying it.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  9. #9

    Thread Starter
    PowerPoster Fazi's Avatar
    Join Date
    Aug 2005
    Location
    Underworld
    Posts
    2,525

    Re: ActiveX Publshing issues on the Web

    amaizing, still the control does not apeear on the page. browser displays the waring. if allowed, the control not shown

  10. #10

    Thread Starter
    PowerPoster Fazi's Avatar
    Join Date
    Aug 2005
    Location
    Underworld
    Posts
    2,525

    Re: ActiveX Publshing issues on the Web

    GotIt, As TG specified, i just distributed the cab file and the htm file generated by the P&D an uploaded to the root. Now the problem is,

    ie7 seems maintaining a strong security policy on its own activeX technology. The activeX is not loaded even if i allow the security warning by ie7. i found the reson. coz my activex is not signed. Now the next challange is to get A digital signature which i have no idea on where to obtain

    Appriciate if you can help me to get a digital signature for Free
    Attached Images Attached Images  

  11. #11
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: ActiveX Publshing issues on the Web

    That's the wordst part..... the digital signature.... VeriSign is probably the widely known & used company... but it's not cheap... most Digi Sigs aren't....

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  12. #12

    Thread Starter
    PowerPoster Fazi's Avatar
    Join Date
    Aug 2005
    Location
    Underworld
    Posts
    2,525

    Re: ActiveX Publshing issues on the Web

    Yes tg, i have come to the worst part
    Now i am not in a position to spend 299 usd for 'Code Signing Certificate' for this activeX control.

    But, I am happy that, today i practically felt the importance of Certificates on the web.

    Actually activeX controls seems not humans friends. they look at thease Controls as evil on the web

    So, i just found an Ajax method to exchange data between two websites in the following link : http://www.simple-talk.com/dotnet/as...vices-in-ajax/

    Thank You all for the support.

    OK, I decided to gofor a

Posting Permissions

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



Click Here to Expand Forum to Full Width