Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. ActiveX DLL control help

ActiveX DLL control help

Scheduled Pinned Locked Moved Visual Basic
comhelpquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Todd Smith
    wrote on last edited by
    #1

    I'm trying to create an ActiveX DLL control in VB but I'm running into one snag. I want a simple form in the ActiveX control that has a scrollbar and a few buttons. This is working except that my form/dialog is popping up outside of IE. I want it to show up in IE (using the OBJECT tag) like a control embeded in the web page. Any suggestions? It seems like I just need to make the form a child of the main class or IE somehow.

    ' MainClass

    Private TheForm As TimeAdjustForm

    Private Sub Class_Initialize()
    Set TheForm = New TimeAdjustForm
    TheForm.Visible = True
    End Sub

    Private Sub Class_Terminate()
    Set TheForm = Nothing
    End Sub

    Todd Smith

    R 1 Reply Last reply
    0
    • T Todd Smith

      I'm trying to create an ActiveX DLL control in VB but I'm running into one snag. I want a simple form in the ActiveX control that has a scrollbar and a few buttons. This is working except that my form/dialog is popping up outside of IE. I want it to show up in IE (using the OBJECT tag) like a control embeded in the web page. Any suggestions? It seems like I just need to make the form a child of the main class or IE somehow.

      ' MainClass

      Private TheForm As TimeAdjustForm

      Private Sub Class_Initialize()
      Set TheForm = New TimeAdjustForm
      TheForm.Visible = True
      End Sub

      Private Sub Class_Terminate()
      Set TheForm = Nothing
      End Sub

      Todd Smith

      R Offline
      R Offline
      Ray Cassick
      wrote on last edited by
      #2

      As far as I know there is no way to directly display a VB form on a web page. You would have to build your form as a visual OCX control.


      Paul Watson wrote: "At the end of the day it is what you produce that counts, not how many doctorates you have on the wall."
      George Carlin wrote: "Don't sweat the petty things, and don't pet the sweaty things."


      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups