Results 1 to 9 of 9

Thread: How do you open a application in a TEXTBOX or something SIMILAR

  1. #1
    Banned
    Join Date
    Jun 12
    Posts
    29

    How do you open a application in a TEXTBOX or something SIMILAR

    I was if there is a way to open a application in a texbox or something similar on the form

  2. #2
    .Net Member dday9's Avatar
    Join Date
    Mar 11
    Location
    South Louisiana
    Posts
    2,324

    Re: How do you open a application in a TEXTBOX or something SIMILAR

    Like if you want to read a textfile and display that contents into a textbox? If so take a look on msdn for "Stream Reader" and "Stream Writer". If not, could you be a bit more specific. What is it that you're trying to accomplish?
    Vb.Net Contributions:-Here-
    Game Contributions:-Here- New - 2d map creator
    XNA in Vb.Net Tutorials:-Here-

    Links:
    LegalShield | AUP

  3. #3
    Banned
    Join Date
    Jun 12
    Posts
    29

    Re: How do you open a application in a TEXTBOX or something SIMILAR

    i am just wanting to press a button and you can search for an application and then whne you press ok it fires up the program within the form, but in a textbox in the form is this possible

  4. #4
    PowerPoster
    Join Date
    Feb 12
    Location
    West Virginia
    Posts
    4,978

    Re: How do you open a application in a TEXTBOX or something SIMILAR

    You are making it sound as though you want the application to run within the confines of a text box which of course is not possible nor would there be any reason to do so even if it were possible.

    Yes you can write code behind a button that pulls up a browse for file dialog and then uses Process.Start to launch the application selected or the application that is set to open that type of file and yes you can have that filename appear in the text box but no you can not run an application in a tetxbox.

  5. #5
    Banned
    Join Date
    Jun 12
    Posts
    29

    Re: How do you open a application in a TEXTBOX or something SIMILAR

    ok, but could you run an application at all in a form created in visual basic

  6. #6
    PowerPoster
    Join Date
    Feb 12
    Location
    West Virginia
    Posts
    4,978

    Re: How do you open a application in a TEXTBOX or something SIMILAR


  7. #7
    Banned
    Join Date
    Jun 12
    Posts
    29

    Re: How do you open a application in a TEXTBOX or something SIMILAR

    right, so what does it start up in. because what i am wanting is half the form the be a application launcher and the other half a web browser

  8. #8
    PowerPoster
    Join Date
    Feb 12
    Location
    West Virginia
    Posts
    4,978

    Re: How do you open a application in a TEXTBOX or something SIMILAR

    Try it and see

  9. #9
    Banned
    Join Date
    Jun 12
    Posts
    29

    Re: How do you open a application in a TEXTBOX or something SIMILAR

    so it is the top bit right?

Posting Permissions

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