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

mark_h
12th January 2007, 00:40
Okay - no duplicate posts. Lets stick to this http://www.baanboard.com/baanboard/showthread.php?p=106712#post106712 thread. Or if you want I can take the original post and make a new thread in the other forum - where I think it belongs. This post is closed.