|
-
Jun 18th, 2003, 07:30 PM
#1
Thread Starter
Member
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?
-
Jul 8th, 2003, 02:20 PM
#2
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....
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|