By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,871 Members | 2,418 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,871 IT Pros & Developers. It's quick & easy.

Calling AL.EXE in code

P: n/a
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?
Jul 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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
-----Original Message-----
Hello,
I would like to call AL.EXE in a com+ component but am havingtrouble figuring out how to do this. Can anyone help?
.

Jul 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.