|
-
Nov 12th, 1999, 08:10 AM
#1
Thread Starter
Junior Member
I created a UserControl in VB and I wanted to put it on my web page. when i ran the control from VB it opened in Internet
Explorer, I looked at the source and saw that I need the <object> tag but Im not sure how to point it to my .ctl file.
Can anyone help me? Thanks.
-
Nov 14th, 1999, 08:50 PM
#2
Member
Object-Tag is right. But you need a little bit more.
1:
Compile your control so that you have an OCX-File. A ctl-file cannot be used !
2: Search the registry for the classid of your control. (Search for the name of your control and when you've found copy the long key. Something like {XXXX-XXXX-XXXX-XXXX-XXXXX})
3: Copy the full object-tag you've seen and replace the classid with the classid of your control.
4. For more help send me an eMail or use MSDN.
Regards,
Björn
------------------
EMAIL: [email protected]
PAGE: <A HREF="http://members.xoom.com/sharetools
" TARGET=_blank>http://members.xoom.com/sharetools
</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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|