|
-
Aug 2nd, 2006, 10:39 AM
#1
Thread Starter
Addicted Member
VB.NET 2003 Usercontrol on HTML page - what am I missing here...
This is going to sound like a really stupid question,
I'm not new to programming, but I am new to VB.Net and web development. I'm learning "web stuff" in my spare time and had a question about usercontrols on a web page.
namely - how do you do it?
Here's what I've done so far:
I have a user control - it works fine on a windows form.
I have added the namespace and interfaces to it:
Namespace ActiveXDotNet
Public Interface AxMyControl
Property Scaling() As Integer
Property ImageName() As String
Sub ShowImage()
End Interface
End Namespace
Now (if I understand it correctly) I should be able to go into a html file and use a object tag to "pull it in"..
<OBJECT id="uc_imageViewer1" name="uc_imageViewer1" classid="ActiveXDotNet.uc_ImageViewer">
This doesn't work but I don't know enough to know why. The HTML displays but not the control.
And help would be appriciated.
Thanks.
-
Aug 14th, 2006, 07:39 AM
#2
New Member
Re: VB.NET 2003 Usercontrol on HTML page - what am I missing here...
I have the same problem. Everyone tells me that i need an iis to use controls on a web-page in VB.NET 2003. Is that true? Because in VB 6 you can just create an ActiveX(ocx-file), register it an embedd it on your page. Is there nothing similar in vb.net? I don't want to use an iis because i just want to create a local application embedded in an ie-window.
Can anybody help me?
Greetings
-
Aug 15th, 2006, 04:08 AM
#3
New Member
Re: VB.NET 2003 Usercontrol on HTML page - what am I missing here...
Now i found a solution to my problem. But nobody seems to be interested in that solution so there is no need to post it here.
Bye
-
Aug 22nd, 2006, 03:52 PM
#4
Thread Starter
Addicted Member
Re: VB.NET 2003 Usercontrol on HTML page - what am I missing here...
Well, I for one would be interested in hearing it...
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
|