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. control another form

control another form

Scheduled Pinned Locked Moved Visual Basic
csharpquestion
6 Posts 3 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.
  • M Offline
    M Offline
    Mr kilany
    wrote on last edited by
    #1

    dear friend... if i have a form in vb.net such as (A) and another application in c language such as (B) how can i control the application (B) from the buttons based on form (A) and i mean of control : 1-run application B 2-minimize and mazimize form B 3-close form B 4- the most thing is make the form A always active that mean you cant use the appliation B except throught the form (A) thanx all kilany

    G J 2 Replies Last reply
    0
    • M Mr kilany

      dear friend... if i have a form in vb.net such as (A) and another application in c language such as (B) how can i control the application (B) from the buttons based on form (A) and i mean of control : 1-run application B 2-minimize and mazimize form B 3-close form B 4- the most thing is make the form A always active that mean you cant use the appliation B except throught the form (A) thanx all kilany

      G Offline
      G Offline
      god4k
      wrote on last edited by
      #2

      key word: Spy BRs

      M 1 Reply Last reply
      0
      • G god4k

        key word: Spy BRs

        M Offline
        M Offline
        Mr kilany
        wrote on last edited by
        #3

        still not find it /... may i get more detail kilany

        1 Reply Last reply
        0
        • M Mr kilany

          dear friend... if i have a form in vb.net such as (A) and another application in c language such as (B) how can i control the application (B) from the buttons based on form (A) and i mean of control : 1-run application B 2-minimize and mazimize form B 3-close form B 4- the most thing is make the form A always active that mean you cant use the appliation B except throught the form (A) thanx all kilany

          J Offline
          J Offline
          Jun Du
          wrote on last edited by
          #4

          While it's entirely possible, your application sounds more complicated than it should be. For curiosity, why do you want to do it this way? Best, Jun

          M 1 Reply Last reply
          0
          • J Jun Du

            While it's entirely possible, your application sounds more complicated than it should be. For curiosity, why do you want to do it this way? Best, Jun

            M Offline
            M Offline
            Mr kilany
            wrote on last edited by
            #5

            OK I WILL TELL U WHY? i have old appllication build on C and i creat a interface with a vb.net form which let user to write somthing in the old system.the problem that i need to force the user to use the vb.net form to write in old application without click on old application and write on it .. that mean i need a way to make a old system behaive as a child of vb.net form ...do you know when we make as this example : dim a as form1 a.showdialog()// that mean you cant edit a perant without close the child .. that what i need .. i need to make the old system as a child which prevent the user modify except through the vb.lnet form thanx alot for you .. kilany

            J 1 Reply Last reply
            0
            • M Mr kilany

              OK I WILL TELL U WHY? i have old appllication build on C and i creat a interface with a vb.net form which let user to write somthing in the old system.the problem that i need to force the user to use the vb.net form to write in old application without click on old application and write on it .. that mean i need a way to make a old system behaive as a child of vb.net form ...do you know when we make as this example : dim a as form1 a.showdialog()// that mean you cant edit a perant without close the child .. that what i need .. i need to make the old system as a child which prevent the user modify except through the vb.lnet form thanx alot for you .. kilany

              J Offline
              J Offline
              Jun Du
              wrote on last edited by
              #6

              It looks like a multi-process application. The communication between your old and new has to go through certain IPC. There are several IPC mechanisms which you choose from, socket, shared memory, RPC, COM, etc. Best, Jun

              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