brushhead
asked on
Accessing a COM .exe from VB .Net
I'm really sorry if this is a dumb question but how do I get at the services on a COM exe from within VB .Net? I have just started using VB .Net having been using VB6 for ages and ages and I cannot see hwo to do it. As usual the help is useless.
Goodwill to all,
Rob.
Goodwill to all,
Rob.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The System.Diagnostics.Process
processes. For example, the following code sample shows how to run Notepad, pass arguments to it,
and run it from inside a given intial directory:
' this code assumes that you have used this Imports statement
' Imports System.Diagnostics
Dim proc As New Process()
' Prepare to run Notepad and load C:\Autoexec.bat in it.
proc.StartInfo.FileName = "Notepad.exe"
proc.Start()