|
-
Jun 20th, 2012, 12:07 PM
#1
Thread Starter
Banned
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
-
Jun 20th, 2012, 12:44 PM
#2
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?
-
Jun 20th, 2012, 01:38 PM
#3
Thread Starter
Banned
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
-
Jun 20th, 2012, 01:50 PM
#4
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.
-
Jun 20th, 2012, 01:51 PM
#5
Thread Starter
Banned
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
-
Jun 20th, 2012, 01:57 PM
#6
Re: How do you open a application in a TEXTBOX or something SIMILAR
-
Jun 20th, 2012, 02:02 PM
#7
Thread Starter
Banned
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
-
Jun 20th, 2012, 02:38 PM
#8
Re: How do you open a application in a TEXTBOX or something SIMILAR
-
Jun 20th, 2012, 02:38 PM
#9
Thread Starter
Banned
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|