Results 1 to 3 of 3

Thread: fill a textbox automatically

  1. #1

    Thread Starter
    Member
    Join Date
    May 2007
    Posts
    60

    fill a textbox automatically

    Good day

    I was wondering if there is a method or a way of programming that can allow a vb program to fill a textbox in a window once this window is launched .
    this process should launch itself automaticaly in case a specific window get launched.

    Thank you

  2. #2
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Re: fill a textbox automatically

    What window are we talking about here, external one or one of of your own?
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  3. #3
    PowerPoster Fazi's Avatar
    Join Date
    Aug 2005
    Location
    Underworld
    Posts
    2,525

    Re: fill a textbox automatically

    yes saadmechiche it look like the text box is in an external windows.
    first pls answer deeu question.

    if what i undestand is correct as i mentioned above, SedMessage() API is the best method to send data to a text box kept in an external application.

    There few other ways also,
    SendKeys() . This is a built in vb function and less reliable since the window you send the data should be in focus. elase will be put on another application window

    There is somthing elase call DDE. No idea about this.

    So i recommend you to use sendMessage api for this purpose and you will have no trouble at all.

Posting Permissions

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



Click Here to Expand Forum to Full Width