Open A Application In A TEXTBOX?
Jun 20, 2012I was if there is a way to open a application in a texbox or something similar on the form
View 8 RepliesI was if there is a way to open a application in a texbox or something similar on the form
View 8 RepliesI want to open up an existing instance if my program is already running only if its running the same version.I noticed that this question was asked for only if the name exists, but what if the version is older, I just want to notify the user that an older version is still running, "please remove older version before starting this version."The other link is this one:Return to an already open application when a user tries to open a new instance but they don't talk about closing an instance if an older or newer version is detected.
View 3 RepliesHow to open an application from 1 button (not to open the application, only to select it)
Example: 1 button> when it press to display only .exe file for choose
With the click of a button I want to open a rtf file embeded in the application itself.
how can I do this?
How I Can open the same form in my application one time only can not open the form tow time in same time
View 5 RepliesI have a textbox in my Application with a button to submit the text thats in the textbox..But i want to be able to hit the Return Key on the Keyboard to do the same action as the button how do i do this any ideas?
View 8 RepliesWhat is the code to open a folder or application in a vb.net application?
View 2 Repliesi have 2 vb applications. this is the code for the first one which when a button is clicked it will check if the other application is already open. If not, it'll open that application -
Dim sComputer As String
sComputer = Environ("COMPUTERNAME")
Dim LocalByName As Process() = Process.GetProcessesByName("ticket.prices", sComputer)
[code]....
this runs fine. but what i need is that the customerid on the application 1 that is calling application 2, should be transfered while opening app 2.e.g -Customer 10001 screen is open on app 1. When i click open app 2, the above code runs and opens app 2. how do i make app 2 open to customer 10001 screen. Is there any way to pass parameters while opening app 2 in System.Diagnostics.Process.Start ?
I am trying to use the System.Diagnostics.Process class.I have the following Windows Forms application. It consists of 1 Button and 1 TextBox. The only code is for the button click event as follows.
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim myProcess As New Process()
[code]....
So today while trying to develop my knowledge in VB a little further. I bumped into a problem. The problem occurs with this code:
Dim process1() As Process = Process.GetProcesses()
Dim p As Integer = 0
Dim k As Integer = process1.Length
[Code]....
Getting the mainwindowtitle works just fine, but when I try to add all the windows to a textbox instead of a listbox I get an error. how I could add the mainwindows to a textbox and separate them with a " " ???
I made a form that gets send to my email.now there is a a droplist box in which there is an options of afew, lets say colors, and at the end there is the option "Other" in which I want a textbox to apear beanth so the client can write the "color" he wants.Im using VBcode with ASP.NET.
View 2 Repliesi have recently been developing a simple text editor designed for YML. i have come across 2 problems. 1. When i open a YML file to a textbox, the text seems rather messed up comparing to what im used to seeing (in wordpad and notepad++) 2. Most compilers and programs for typing code remember the column of the text above them like this:
[Code]....
I'm looking to, using an OpenFileDialog, open a file to a TextBox, named TextBox1. When you press the Button, Button1, it'll show you an OpenFileDialog
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
OpenFileDialog1.Title = "Please Select a File"
OpenFileDialog1.InitialDirectory = "C:temp"
[CODE]................
That's the code for my open file dialog, and now I'm confused as how to have the file opened using that file open dialog open up into the TextBox1.Text area.
how can i make a textbox accept a drag and drop (if i drag and drop a txt file onto it, how can i make it open)Well, If it is not worth it, it is not fun - you say programmers are boring but i say they are worth it.
View 1 RepliesI sm currently trying to open a certain offset and code in VB textbox. For example I want to Open a hex file and have FFFF000F Open in the textbox how would i do this? heres the openfiledialog but i cannot get it to open the save and open a certain hex value into the textbox
OpenFileDialog1.CheckFileExists = True
OpenFileDialog1.CheckPathExists = True
OpenFileDialog1.DefaultExt = "exs"
[code].....
My windows form as a bunch of textboxes on it that basically let the user put in different positions/forces that a test cycle then uses. I am trying to let the user save their profile settings/open the settings so they don't have to input the same values every time they want to run the same test. Here is my code so far. basically, when i save my csv file, and open it, all 6 textbox values are plopped in the first textbox instead of being distributed to their original boxes. I just read about a "split" function
code
Private Sub SaveProfileToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SaveProfileToolStripMenuItem.Click
SaveProfileDialog.ShowDialog()
Dim sw As StreamWriter
[Code]....
How can i open a directory or folder from text displayed in a textbox?
View 3 RepliesI want to display the test from a text file into a textbox.
View 3 Replies[Code]...
'Show the Open dialog and if the user clicks the Open button, 'load the file If OpenFileDialog1.ShowDialog = Windows.Forms.DialogResult.Ok Then
[Code]...
I want to display the test from a text file into a textbox.
View 3 RepliesHow do I get a form to open with the cursor positioned on the lowest-tabbed index textbox (assuming there is no other type of control that is lowest in the tab sequence) and with the cursor blinking (assuming the textbox is emply)? I have tried this
View 10 RepliesThis is the code i have so far[code]...
but now i need to load the text file into a text box from the listbox. one thing that confuses me is if a try to load the file from the list box, this code only shows the file names, no path, no extensions.
I am wondering how to open a specific program with the textbox contents. Here is my situation: I want the text in the textbox to be saved to a html file and then open that html file in a specific browser.
View 5 RepliesI have little problem to open any url link from my application i have placed a textbox and a button on the screen. what i want is any url which i write in the textbox and when i press the button automatically that url would open in the browser.
View 19 RepliesI just want to open a form based on a users input into the textbox
Public Class MainForm
Private Sub PictureBox1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TagBox1.Click
Form2.Show()
[CODE]....
I already have it opening the form2 based on a click from the picture, but decided aginst that design. Also any design on form2? (below) I am storing values for tags inside the forms....
Public Class Form2
Private Sub saveButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles saveButton.Click
My.Settings.SaveTitle = TextBox1.Text
[CODE]...
I'm building a simple Notepad where users can open CSS & HTML files & was wondering how I can program it to open the file in the main text box like the regular Windows Notepad does.
View 4 RepliesIs it possible, create a button that can start looking for files in a particular folder and open and close each 1 of them.
Eje: Search in c: est (here open and read all files on folder in texbox) test.txt, test2.txt, ...
Open 1 and close to open 2, close and open 3...
I write the folder to search, and program find and open and close all files in the folder.
I was wondering if it is possible to check if a specific application is running when I open up a form.
If the application is running I want a label to say running, but if it isn't running then the label will say closed.
I would like to close my appliaction and then open it based on a condition.Lets say I have a Lab1.EXE file, I want to close if the flag = True and then reopen it.
If ClFlag = True then
Application.Exit
---Then
RUN LAB1.EXE
Endif
I made a vb 2010 project that in turn is pretty dumb, just one that you click a button to open the file that the button contains.... but all i know how to do is basically open .exe files, image and audio files, but i would like to know how to open anotherpublished project of mine by clicking a button.
View 1 Replies