fmagli
5th August 2003, 19:23
How i can run an extern program such as Excel from a Baan session?
In detail i have to interface Baan sessions with a Documental software.
Thank's
NPRao
5th August 2003, 19:43
Please use the Search engine to look for known solutions before asking your question on the board.
There are many solutions for Excel posted in the tools and utilities sections.
You can use the tools function - app_start() (http://www.baanboard.com/programmers_manual_baanerp_help_functions_client_file_access_app_start) to do that.
dorleta
6th August 2003, 13:13
Another way maybe:
I don“t know how execute a Windows API, but you can execute a Windows application with this script:
#pragma used dll "otgwms0004"
extern domain tgbrg.prgm tgbrg.code
string tgbrg520.argu (100)
long l.error
extern string word (250)
choice.user.1:
before.choice:
word="c:\temp\Fileout.rtf"
tgbrg.code = "doc"
tgbrg520.argu = word
L.ERROR = tgwms0004.start.application("winword", word, tgyenox.yes, 0)