baanfan
29th August 2002, 13:41
Hello ,
Can nebody tell me how to call an external VB program from
the zoom menu of Mnt. routing(menu is tirou002s000) and also
pass a field value to that program.
We are using 4c4 on Windows NT.Also i would like to know
how to send reports vai Outlook.
thank you.

mark_h
29th August 2002, 15:48
You could first of all create a Baan session to put in the zoom. This Baan session would then use app_start to start your VB executable. You can check out the code and utilities section for examples that use the app_start, and you can check the online library for help on app_start. So to start your app would look something like this:


app = "someprogram " & " someparameter"
appid = app_start(app,"","","","")
if appid = 0 then
message "App failed to start."
endif


Search the tools forum and the code and utilities forum for outlook. This has been discussed before and you will probably find a post to help you.

Good Luck!

Mark