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 dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by jimwal0367

  1. jimwal0367

    GetElementsByName IE8

    Think I may have cracked it - just seen something in another piece of code that may help, looks like a re-write of code
  2. jimwal0367

    GetElementsByName IE8

    Thanks for the reply - does any vb.net expert know the answer to this problem
  3. jimwal0367

    GetElementsByName IE8

    SET HTMDLDOC = objie. Only works in VB6 not VB2008
  4. jimwal0367

    GetElementsByName IE8

    Just changed from VB6 to VB2008. After some investigation, I have found that IE8, has changed regarding GetElementById and GetElementsByName. My old VB6 code used to bind to certain places on a webpage, using this code HTMLDOC = objIE.document.getElementById("mainframe") But IE8 is case...
  5. jimwal0367

    String Conversion using VB2008

    Thanks seem to work at the moment - just piling through the rest of the code. Trying to change all the other errors
  6. jimwal0367

    String Conversion using VB2008

    Just converted from VB6 to VB2008 On running my old code, I get the following error. Conversion from type '_ComObject' to type 'String' is not valid This is the code that is throwing the error. trans = Trim(MyArea) I have declared trans as a string and MyArea as object. MyArea is set to...
  7. jimwal0367

    SendKeys from Attachmate to Internet Explorer

    Finally Cracked it... I used the following code Declare Sub Wait(objIE As Object) Sub Main() Dim objIE As Object, i As Integer Set objIE = CreateObject("InternetExplorer.Application") With objIE .Visible = True .Navigate "http://www.google.com" End...
  8. jimwal0367

    SendKeys from Attachmate to Internet Explorer

    1. Declare Sub Wait(objIE As Object) 2. 3. Sub Main() 4. Dim objIE As Object 5. dim objApp as object 6. 7. Set objIE = CreateObject"InternetExplorer.Application") 8. With objIE 9. .Visible = True 10. .Navigate "http://www.google.com" 11. End With 12. 13. 'Call...
  9. jimwal0367

    SendKeys from Attachmate to Internet Explorer

    I get the error on line 19 when I step through the code.
  10. jimwal0367

    SendKeys from Attachmate to Internet Explorer

    Thats strange, I have run WinblowsME's code and I get an error saying 'Object set to nothing'
  11. jimwal0367

    SendKeys from Attachmate to Internet Explorer

    I was using the code for Google as a test web site. Just to find the text box and enter some text, if I could get this to work I was going to adapt my code to work with an internal website
  12. jimwal0367

    SendKeys from Attachmate to Internet Explorer

    WinblowsME - I have tried the code that you posted above, but it returns an error with ref to the following code: objIE.Document.Forms("f").all.item("q").value = "TEST" It returns Object value is set to nothing
  13. jimwal0367

    SendKeys from Attachmate to Internet Explorer

    Thankyou, that's been a great help
  14. jimwal0367

    SendKeys from Attachmate to Internet Explorer

    Thanks for the replies, they are most helpful. Is objIE.Document.Forms("f").all.item("q").value = "TEST" Looking for certain things on the webpage.
  15. jimwal0367

    SendKeys from Attachmate to Internet Explorer

    Hi, I am trying to write a macro using Attachmate Extra 7.1 to copy from an Extra screen, find the correct opened Internet Explorer window then paste the contents into a blank box on Internet Explorer. I can get the macro to open a new IE window, navigate to a certaqin website(I used Google)...

Part and Inventory Search

Back
Top