gbernal
11th January 2007, 23:34
Hi All,
I have written the following code in a VB program.
Set BaanObj = CreateObject("Baan4.Application")
BaanObj.ParseExecFunction "ottstpstandard", "zoom.to.menu(""tisfcm901m000"",2,"""","""",0,0)"
SendKeys ("{TAB}")
SendKeys ("{TAB}")
SendKeys ("{TAB}")
SendKeys ("{TAB}")
SendKeys ("{TAB}")
SendKeys ("{enter}")
BaanObj.Quit
Set BaanObj = Nothing
The idea is to simulate press <Enter> over the Execute button of the session to automatically execute it. But in my case the SendKeys lines are not working.
What I'm doing wrong?,
What's missing?
Tks in advance
I have written the following code in a VB program.
Set BaanObj = CreateObject("Baan4.Application")
BaanObj.ParseExecFunction "ottstpstandard", "zoom.to.menu(""tisfcm901m000"",2,"""","""",0,0)"
SendKeys ("{TAB}")
SendKeys ("{TAB}")
SendKeys ("{TAB}")
SendKeys ("{TAB}")
SendKeys ("{TAB}")
SendKeys ("{enter}")
BaanObj.Quit
Set BaanObj = Nothing
The idea is to simulate press <Enter> over the Execute button of the session to automatically execute it. But in my case the SendKeys lines are not working.
What I'm doing wrong?,
What's missing?
Tks in advance