i know, i know, old thread......
Skip, the TSKILL probably works fine for your purposes but others need to be aware of what the TSKILL is really doing behind the scenes. The tskill on Extra will kill all extra processes, whether they are 'in scope' of your application or not.
In my...
just a side note, you might want to specify how you are refrencing your vairables, ie byRef/byVal
I use vb.net but the concept is still the same
'calling my sub in code, no need for call in .net
SignInClaims(Sess0, TPX, UserID, Password)
Declaration line for the SignInClaims Sub is:
Private...
i completely agree with skip on this. If you are using excel and extra, write your code in excel vba. If you are used to plain old VB like I was, VBA has some subtle language differences which can be difficult at first to overcome but shouldnt provide to much trouble and the VBA expressions...
Place this statement at the very top of the code
Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
then declare your object
Dim MyOIA As Object
Below is How i declare my sessions and set MyOIA
Set System = CreateObject("EXTRA.System")
If (System Is...
also, it wouldnt hurt to have your program 'find' the search box by name (look at the HTML of the rendered page) and put the string from EXTRA there instead of just hoping that the cursor is going to be in the text box already
there are some really good posts on IE automation in the forum but...
Sendkeys "^v"
Sendkeys "{Enter}"
it seems the problem is probably with the control caret. you might want to assign the value from your extra session and then send that variable to IE.....additionally dont things like the 'enter' key need to be surrounded by <> instead of {}
'gets the data...
thanks for the tips skip
it appears though that it all goes back to a syntax error in my VB code vs my VBA code. Apparently i didnt end the claimLines = statement with .value in the VB version (cant believe i misssed that)
it works fine now with .value and claimLines dimmed as Int but i...
skip,
"It relates to the EDITOR/COMPILER that you're working in."
Great.....what about them is causing this error
you cant give me a specific reason as to why Excel VBA handles it fine but VB standalone doesnt.....all you do is call me sloppy and tell me how 'old-school' you are
you didnt...
Skip, I understand that....but can you provide an answer as to why in VBA this works fine but then in VB as a standalone app it screws up. The only thing i can think of is that in Excel VBA it doesnt care that your setting a variable you dimmed as an Integer to a text value (and then will let...
I am using the following code, which works fine in VBA but not in VB...grrrrr
ClaimLines needs to be a number since mathmatical fucntions are performed based off its value or values < or > ClaimLines. I could stand to have it grabbed from extra as another data type as long as i can then...
is there a chance that some piece of code is locking your extra session before the MoveTo line even has a chance to execute. Sometimes in our sessions, if you try to put info outside of an accepted field, the screen will lock, and the user must depress the escape key to unlock it...
as the two previous posters indicated, generally anytime you step through code and it works but then will not execute with the 'run' command you are going to find a timing issue.
personally, I user count timers to delay the execution of some sections of code however, the document.readystate...
once again, this all goes back to the keyboard mapping i described in my previous posts which cited attachmate reference articles. Please send me an update ptw78 and let me know how this is going for you. maybe you can let someone from the forum remote in and view your screen to walk you...
its seems you will need to kind of fuse the information found in this document
http://support.attachmate.com/techdocs/2268.html
with the one i linked carlier about the specific codes for control sequences to find the solution
i know it is not the exact same key press you want to send but it...
i was lookin over your codes again, am i mistaken or do you need to surround keys like pressing enter wrapped in <Enter>. since this isint an actual character you are sending does wrapping it in <> help....as in
Sess0.Screen.SendKeys ("<^5>")
personally i do not use the ctrl key in my sessions...
if im not mistaken, doesnt the control key just move the cursor down a line in the extra session. one first glance, it seems like you are trying to move the cursor down a row and then send the 5 key to the field the cursor moved to....is this correct or no, if not, please explain what you are...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.