engage99
31st May 2004, 22:11
Hi,
I want to star a baan session in a command line.
I know the command line to start application with a specific user configuration is:
start C:\Baan4\bin\bw.exe C:\Baan4\lib\user\user.bwc
To give an example, what is the command line to start in the session tiitm0101m000 ???
To extend my question, can I read a text file to fill the fields in the form?? :eek:
Thanks
:)
p.cole
1st June 2004, 01:54
Edit your bwc file and put the session that you want to start in the "command" field.
Hitesh Shah
1st June 2004, 09:01
Hi,
what is the command line to start in the session tiitm0101m000 ???
To extend my question, can I read a text file to fill the fields in the form?? :eek:
Thanks
:)
In unix ba6.1 <session code> can start the session. However u can not input values from txt file to the session.
I would suggest u to use Baan exchange or AFS ffor this purpose.
kbabu1
1st June 2004, 09:43
Hi,
I want to star a baan session in a command line.
I know the command line to start application with a specific user configuration is:
start C:\Baan4\bin\bw.exe C:\Baan4\lib\user\user.bwc
To give an example, what is the command line to start in the session tiitm0101m000 ???
To extend my question, can I read a text file to fill the fields in the form?? :eek:
Thanks
:)
to start Items session type in the following in the command line...
"C:\Baan4\bin\bw.exe" "C:\Baan4\lib\user\user.bwc" tiitm0101m000
This will start the session tiitm0101m000(Items)
engage99
1st June 2004, 13:42
Thankyou for your reply, but it didn't work.
I'm using the organizer interface and Baan IV.
When I connect the bw, and type F4 I can run a program or session. I need to do this in the command line... without user interference!
Thanks again!
dorleta
2nd June 2004, 10:39
One way may be using OLE
These methods and properties allow Visual Basic programmers to call any function in any dll. For example:
Baan4Obj.Timeout = 10 ' 10 seconds timeout
Baan4Obj.ParseExecFunction "mydll", "myfunction(arg1, arg2)"
If Baan4Obj.Error <> 0 Then MsgBox("An error occurred")
MsgBox("The return value is " + Baan4Obj.ReturnValue)
My dll can have an instruction like
zoom.to.....
of this way you can execute one sesion from windows. You should to have a predeterminated user with the password saved and program a litle vbs script.
good luck
croezen
8th June 2004, 17:16
e:\baan\bin\bw.exe e:\baan\lib\user\default.bwc -- -nodebug tiitm0101m000