Calling AL.EXE in code

  • Thread starter Thread starter Doug
  • Start date Start date
D

Doug

Hello,
I would like to call AL.EXE in a com+ component but am having
trouble figuring out how to do this. Can anyone help?
 
In visual Basic 6.0 you can execute another program using
the Shell() function, e.g. Shell("Al.exe",vbnormalview).

If AL.EXE is also an OLE server you can declare an object
variable and set it to AL.EXE and then call
Methods,Properties of AL.EXE, e.g.

Dim objAlEXE as object

Set objALEXE = CreateObject("AL.EXE")

objALEXE.Show ' This would have to be a method of AL.EXE
objALEXE.DoSomething ' Another method of AL.EXE

Good luck
 
Back
Top