Open an external .exe within a form - VB.NET

Soldato
Joined
20 Jan 2005
Posts
2,722
Location
Whitley Bay
Hi there,

I would like to know if it's possible to embed an external application in a Windows Form.

I have a button in my program which launches the login window of another application. I'd like the login window to open within a panel on my main form.

Is this possible?

TIA

Si
:)
 
I have done this in the past, but I can't remember what for. Just googled it and found this

Code:
Imports System
Imports System.Diagnostics
Dim program As New Process() 
program.StartInfo.FileName = "Notepad.exe" 
program.StartInfo.Arguments = " " 
program.Start()

It looks familiar so I assume it works :)
 
That doesnt do what he has asked for? Starting a program from another (i.e. above) is easy... starting an application so it is consumed by another is a lot harder and it might not even be possible? Far from 10% sure about that though...
 
Back
Top Bottom