Results 1 to 2 of 2
  1. #1
    2 Star Lounger
    Join Date
    Jul 2001
    Posts
    132
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Integration (VB6)

    Hey all experts

    I have this program that requires you to input an IP # into the box and press enter...no big deal! But...I want to have a VB application that when you push a button it will open the program and input the IP# for you and then press enter...basically automating the process. The IP # will be stored in the VB code to make things easier. So basically how do I make my vb code enter a number and push enter for me automatically in another commercial software?

    Thanks

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Integration (VB6)

    Typically you Shell the other program to start it, or bring its window to the foreground if it is already running, then use SendKeys to mimic keyboard typing (such as moving to the correct field and typing).

Posting Permissions

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