Results 1 to 4 of 4

Thread: VB.NET 2003 Usercontrol on HTML page - what am I missing here...

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Mar 2002
    Location
    St. Louis MO
    Posts
    129

    Question 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.

  2. #2
    New Member
    Join Date
    Aug 2006
    Posts
    2

    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

  3. #3
    New Member
    Join Date
    Aug 2006
    Posts
    2

    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

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Mar 2002
    Location
    St. Louis MO
    Posts
    129

    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
  •  



Click Here to Expand Forum to Full Width