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. Program in a window

Program in a window

Scheduled Pinned Locked Moved Visual Basic
csharptutorial
6 Posts 6 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
    Member 10279246
    wrote on last edited by
    #1

    Sir Please tell me how to run an external exe in a frame in vb.net... it is possible...

    L Richard DeemingR A A 4 Replies Last reply
    0
    • M Member 10279246

      Sir Please tell me how to run an external exe in a frame in vb.net... it is possible...

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Member 10279246 wrote:

      external exe in a frame in vb.net

      WinForms does not have a "frame" concept. You can change the parent of a running executable to point to your Window, as you already did. SetWindowLong[^] is used to change the border. The statusbar and toolbars aren't part of that border. The borderstyles can be found on P/Invoke[^]. ..and please don't repost the exact same question. People tend to ignore duplicate posts.

      Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

      1 Reply Last reply
      0
      • M Member 10279246

        Sir Please tell me how to run an external exe in a frame in vb.net... it is possible...

        Richard DeemingR Offline
        Richard DeemingR Offline
        Richard Deeming
        wrote on last edited by
        #3

        Which part of "don't repost" did you not understand? :mad: You have now posted the same question twice in this forum, and twice in QA. You haven't even had the courtesy to respond to the people who have tried to answer your previous versions of this question.


        "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

        "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

        1 Reply Last reply
        0
        • M Member 10279246

          Sir Please tell me how to run an external exe in a frame in vb.net... it is possible...

          A Offline
          A Offline
          Ammar_Ahmad
          wrote on last edited by
          #4

          You can make a windows form view a WPF application inside of it and viceversa. Use the host wpf control to do that. Here this should also help: http://msdn.microsoft.com/en-us/library/ms751761.aspx[^]

          1 Reply Last reply
          0
          • M Member 10279246

            Sir Please tell me how to run an external exe in a frame in vb.net... it is possible...

            A Offline
            A Offline
            Abhinav S
            wrote on last edited by
            #5

            No you can't. You can, however, open and run an external program from VB.Net.

            Apps - Color Analyzer | Arctic | XKCD | Sound Meter | Speed Dial

            D 1 Reply Last reply
            0
            • A Abhinav S

              No you can't. You can, however, open and run an external program from VB.Net.

              Apps - Color Analyzer | Arctic | XKCD | Sound Meter | Speed Dial

              D Offline
              D Offline
              Dave Kreskowiak
              wrote on last edited by
              #6

              Actually, you can do that. It's not very nice looking and you don't have control over the application window nor with the application itself. The user can do whatever they want with application, including putting it back to windowed mode and moving it around inside your parent window, even to the point where they can't see the window any more.

              A guide to posting questions on CodeProject[^]
              Dave Kreskowiak

              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