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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top