FoxPro Programming
Problem with screen capture
I have a terminal emulator and am trying to capture the screen. I can change the cursor position, and automatically get characters typed in through foxpro with the ole script they gave me but I cannot seem to capture the screen, which is important to me. I keep coming up with the initial value I assign to my string, not the string from the captured screen. They told me it was a question of how I was passing my parameters,
I am doing the following,
mystring=space(2000)
result = oScreen.VBS_Get(mystring) && ole script they gave me (VB function)
I have tried
result = oScreen.VBS_Get((mystring)), && ole script they gave me (VB function)
and also set udfparms to reference.
Any ideas?