Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. obfuscate

    How to close session without messagebox??

    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...
  2. obfuscate

    passing Parrameters to Functions and Sub Programs

    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...
  3. obfuscate

    Help with Loop Extra to Excel

    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...
  4. obfuscate

    Documentation about the attachmate functions and methods

    As always, there is more than one way to do the same thing guess it just depends on how you want to build it
  5. obfuscate

    Documentation about the attachmate functions and methods

    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...
  6. obfuscate

    Documentation about the attachmate functions and methods

    OIA Description OIA Value xNO_STATUS 0 xINVALID_NUM 1 xNUM_ONLY 2 xPROTECTED_FIELD 3 xPAST_EOF 4 xBUSY 5 xINVALID_FUNC 6 xUNAUTHORIZED_PRINTER 7 xSYSTEM 8 xINVALID_CHAR 9 Property Xstatus As Integer Member...
  7. obfuscate

    google search doesn't work

    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...
  8. obfuscate

    google search doesn't work

    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...
  9. obfuscate

    _ComObject to type Integer

    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...
  10. obfuscate

    _ComObject to type Integer

    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...
  11. obfuscate

    _ComObject to type Integer

    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...
  12. obfuscate

    _ComObject to type Integer

    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...
  13. obfuscate

    moveto and putstring wont work?

    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...
  14. obfuscate

    Internet Explorer from Attachmate - wait command

    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...
  15. obfuscate

    Send key for ctrl 5

    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...
  16. obfuscate

    Send key for ctrl 5

    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...
  17. obfuscate

    Send key for ctrl 5

    ok, where did you get the idea of using the "^5" to simulate ctrl + 5?
  18. obfuscate

    Send key for ctrl 5

    nvmd my previous post, check this out http://support.attachmate.com/techdocs/1364.html
  19. obfuscate

    Send key for ctrl 5

    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...
  20. obfuscate

    Send key for ctrl 5

    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...

Part and Inventory Search

Back
Top