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. Web Development
  3. ASP.NET
  4. Accessing ASP.Net Controls from OCX Control.

Accessing ASP.Net Controls from OCX Control.

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netdatabasequestion
3 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.
  • V Offline
    V Offline
    VikashGohil
    wrote on last edited by
    #1

    Hello, This is Vikash. I have created an OCX Control in VB6.0 for Controlling a USB Device. In the OCX Control I have a function where I get data from the USB Device. Now my query is How Can I pass this data from OCX Control to a Textbox on the same WebPage. Anyone Having any idea, or Can it be done in the first place. If Yes, then some ideas please. Thanks in Advance.

    C 1 Reply Last reply
    0
    • V VikashGohil

      Hello, This is Vikash. I have created an OCX Control in VB6.0 for Controlling a USB Device. In the OCX Control I have a function where I get data from the USB Device. Now my query is How Can I pass this data from OCX Control to a Textbox on the same WebPage. Anyone Having any idea, or Can it be done in the first place. If Yes, then some ideas please. Thanks in Advance.

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      I believe that if you create a COM object in VBScript, you can access it's properties. An IE web page can run VBScript on the client, and of course, your site will now only work in IE anyhow.

      Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

      V 1 Reply Last reply
      0
      • C Christian Graus

        I believe that if you create a COM object in VBScript, you can access it's properties. An IE web page can run VBScript on the client, and of course, your site will now only work in IE anyhow.

        Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

        V Offline
        V Offline
        VikashGohil
        wrote on last edited by
        #3

        Thanks Christian for the reply. Actually, I have a USB Card Reader. And I am getting Data from this Device in an Event when some Card is swapped on the device. Bcoz of this event I need to use the OCX Control to trap the event and get data. Now I need to Pass this data to my WebPage which will take this data, Search for a Match in the DB and Display other details like Name, Code, Image of the person who has punched the Card. Any Idea please, I need to somehow get this information. Christian any more Ideas please.

        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