Results 1 to 2 of 2

Thread: ActiveX Control Registration

  1. #1

    Thread Starter
    Member
    Join Date
    May 2001
    Posts
    55

    ActiveX Control Registration

    I created a simple ActiveX control that I want to be placed in my webpage. I created the control using VB6.0. When I goto run the control It brings up a webpage and everything works fine, so I copy a paste the "<object....." line from the created HTML into my webpage, run my webpage and the control comes up fine.

    Then I close Visual Studio and try my webpage again and all I get is a little empty white box where the control should be, what gives??

    do I have to register the control somehow? I thought that was does automaticly. can anyone give me some insite as to what the problem may be?

  2. #2
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538
    Yep ActiveX controls need to be registered which you can do from the start>run box by typing:

    regsvr32 "C:\path\mydllname.dll"

    For another time, I found a cheat a while back stating you could use the activex control pad from MS if you can still get hold of it -
    http://www.vbforums.com/showthread.p...hlight=control I think you can drag & drop your control onto a page & it'll create the <Object> tag & classid, as well as register the file for you from memory - it's been a couple of years since I've used that myself but I think tht's right....

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

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