Extra! ActiveX Component
Extra! ActiveX Component
(OP)
I am using the Attachmate EXTRA! Object Library to communicate with Extra! from C#.
Opening sessions and sending/reading characters works fine, but when I try to use functions like WaitForString or WaitForCursor they take a bunch of parameters that Ive never seen in any documentation.
Example:
System.Object WaitForCursor ( System.Int16 Row , System.Object Col , System.Object EndRow , System.Object EndCol , System.Object Page , System.Object Type )
What are EndRow and EndCol and Type for ??
And what is the return value, I cant recieve it as a boolean.
Opening sessions and sending/reading characters works fine, but when I try to use functions like WaitForString or WaitForCursor they take a bunch of parameters that Ive never seen in any documentation.
Example:
System.Object WaitForCursor ( System.Int16 Row , System.Object Col , System.Object EndRow , System.Object EndCol , System.Object Page , System.Object Type )
What are EndRow and EndCol and Type for ??
And what is the return value, I cant recieve it as a boolean.
RE: Extra! ActiveX Component
The EndRow and EndCol will allow you to search a specific section of the screen instead of a specific location. I've never used this feature as it seems more difficult and just doesn't have a payoff for your trouble.
calculus
RE: Extra! ActiveX Component
Im still lost.
If someone could show an example of how to use the WaitForCursor method, or any other wait method, in C# I would really appreciate it.
I have tried all different ways that I can think of but I always get 'Invalid cast Exception' or something similar..
Here is one example:
CODE
if (sw.Wait(1000))
...