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. .NET (Core and Framework)
  4. Problem with dot net (Window forms) user control in Vb6 application

Problem with dot net (Window forms) user control in Vb6 application

Scheduled Pinned Locked Moved .NET (Core and Framework)
helpalgorithms
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.
  • N Offline
    N Offline
    Nitin1981
    wrote on last edited by
    #1

    Hi! I'm using a Windows form user control in a Vb6 application. I'm having some problems while using the control in Vb6 application. 1. I'm not able to set the value of a combo box in the user control programmatically. i.e At the run time I'm running some code which is not setting the value of the combo box in the Vb6 form. 2. When I click on some Vb6 control on the form then user control gets hidden. I'm adding the user control dynamically at run time. 3. Some module level variable were not able to retain there values in the user control but when I changed them to "Shared type" they were able to retain their values. Similarly progress bar is not able to retain its property values. I tried searching on the net but could not find any suiable solution.Any kind of help is appreciated. Thanks

    Don't Quit

    N 1 Reply Last reply
    0
    • N Nitin1981

      Hi! I'm using a Windows form user control in a Vb6 application. I'm having some problems while using the control in Vb6 application. 1. I'm not able to set the value of a combo box in the user control programmatically. i.e At the run time I'm running some code which is not setting the value of the combo box in the Vb6 form. 2. When I click on some Vb6 control on the form then user control gets hidden. I'm adding the user control dynamically at run time. 3. Some module level variable were not able to retain there values in the user control but when I changed them to "Shared type" they were able to retain their values. Similarly progress bar is not able to retain its property values. I tried searching on the net but could not find any suiable solution.Any kind of help is appreciated. Thanks

      Don't Quit

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      What does this have to do with the .NET Framework?


      only two letters away from being an asset

      N 1 Reply Last reply
      0
      • N Not Active

        What does this have to do with the .NET Framework?


        only two letters away from being an asset

        N Offline
        N Offline
        Nitin1981
        wrote on last edited by
        #3

        This is related to InterOp and I could not find any forum specific to Interop here so I put it in the dot net framework.

        Don't Quit

        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