vb scripting windows scheduler for browser application
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: vb scripting windows scheduler for browser application

  1. #1
    Join Date
    Nov 2008
    Posts
    1

    vb scripting windows scheduler for browser application

    HI all,
    I am trying to create a window scheduler script for testing browser application. I Create a .vbs file & on clicking it , the browser is invoked & executes the script. but There is some error"Type Mismatch error 800A000D " in the script, which iam not able to debug it. Any input please.
    The code is show below:
    set ls_browser=createobject("internetexplorer.application")
    ls_browser.visible=TRUE
    ls_browser.navigate("www.gmail.com")
    a=ls_browser.HWND
    'msgbox a
    Window("hwnd:="&a).Activate 'error in this line.
    Window("hwnd:="&a).Minimize

    ls_browser=NULL

    Thanks in Advance

  2. #2
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,101

    Re: vb scripting windows scheduler for browser application


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center