How To Open Another Program In VB

Jul 21, 2010

I have a button on my form. And I want to open for example winamp.exe

View 2 Replies


ADVERTISEMENT

Program First Open And Saving Data When Program Is Closed?

Nov 19, 2011

I am currently working on a menu driven console program that so far has 4 menu options of checking internet connection, decrypting/encrypting a message, calculator, and a logout, and i am wondering about a few current things.

1. How do i make it to where, when a program starts for the first time, it asks for a user to enter in his data, like signing up for a site for the first time?

2. How do i make it to where the program will save the data entered, and does not delete when the user closed the program.

3. How can i make it to where when a user signs in, his/her data is read correctly? Like an array search for a multidimensional array.For my "New user" sign data i created a function...

Function createNewUser() As String()
Dim name As String
Dim userName As String[code]...

View 2 Replies

Make A Program Open When Another Program?

Aug 27, 2009

Is it possible to only make a program open when another program opens it? so when someone tries to open it themselfs by clicking on it, it pops up a error message?if so then how would someone go about doing this in VB 2008?

View 9 Replies

Text Editor Program-when Open A .txt Program Loads With No Text In The Textbox?

Feb 27, 2010

I believe I need the code for Load Event. I have tried many ideas. I have searched the threads here and also google of course. No luck as of yet. Better description: I have a file named hello.txt. The contents of this text file are "hello". I use my program as the default for .txt files. I dbl click hello.txt. My program loads and the contents are blank and it should have "hello" in it.

View 31 Replies

Program Can Not Open

Dec 8, 2010

I have an asp.net project developed in visual studio 2005. I created it on my machine, and then zipped the project and emailed it to the team lead to install the app on a central directory. However, when he double clicks on the .vbproj file (and if he attempts to open it using the 2005 IDE) he gets an error message[code]...

View 3 Replies

Run Program That Can Only Open Certain?

May 14, 2011

I am new here and I want to ask, I have 2 Program called O2jam.exe and O2SP.exe . I want O2SP.exe only can execute by O2jam.exe and cannot run Directly, when you run Directly there are Message Box "Run O2jam.exe".

View 1 Replies

'Open With' Pops Up When Trying To Use Program

Aug 5, 2010

i tried searching, so i hope this isn't answered and is in the right place, but i made a program in visual basic 2008 which was working completely fine when i finished it. i uploaded it online for others to download, which has also worked fine for them for several months. as of late, some users have reported that when they try to use the program, the 'open with...' window pops up because windows does not recognize the program needed to run my application. yet...it works fine on my PC, and most others (that i assume that have not redownloaded it causing this error to occur). i instruct the users to update their .NET framework in the original forum post to the latest update which was previously required for my application to work, but the issue still arises. regardless of all my searching, i haven't found a solution. or any issues that are even similar to mine. i'm a beginner programmer (only one semester in visual basic) and that was over a semester ago, so i'm hoping it is an easy fix i'm not aware of or am overlooking.

View 4 Replies

'Open With...' Pops Up When Trying To Use Program?

Mar 28, 2009

'Open with...' pops up when trying to use program

View 16 Replies

Detect Whether A Program Is Open?

Jan 6, 2011

Objective : Time how long a user has been on the internet. I have never delved this deep into Visual Studio. I am suing Visual Basic 2010 Express. Please move it if you need to.

I want to have a program - that will detect running processes. If Internet Explorere EXE or Chrome or FireFox exe or any other browser is installed - as soon as that process starts the timer will appear.

When those processes are closed by the user the timer stops counting. This is possible but i dont know how. But i only want it to time just one internet process because timing them all when they are openend up at different times could cause bugs. Unless on the time form you have 1 timer for IE, 1 for FFox, 1 for Chrome 1 for Opera..

View 5 Replies

Exe Program Will Not Open .Txt Files?

Jan 18, 2009

Ok first i want to say im sorry if i put this inthe wrong section i have no idea what the thing im doing is called "I call it a notepad" Ok i made a notepad saved it ect now i got the .exe file i tryed making that my default notepad but when i click on a .txt file i get an error massage

C:Documentsand SettingsUserDesktopTry.txt is not a valid Win32 application

i dont get the point in making a program and not using it..The Notepad is only a simple one "My first project" Only has features like

[Code]...

Edit 1 If anyone can tell me the diffrence between TextBox and RichTextBox would be nice also

View 19 Replies

Get All Open Windows In Program?

Feb 25, 2011

I would like to have a way of getting all of the open windows in a windows system. I need an array for all of the active windows (what you see in the taskbar). I just want a function to do this please. Its the core of a program I am writing, and its where i am starting from, so no code yet.

View 1 Replies

How To Open Own Program From An Url (link)

Mar 30, 2011

I want to be able to send an email with a link in it like ... myprogram:customerid?1423 .r something like that. So when the user click the link, it must open "myprogram" and lookup the customer with ID 1423.

View 1 Replies

Moving To Another Open Program?

Mar 9, 2012

Ok so say I had a simple form with a button. This form has the TopMost set to true and when the button was clicked it would use the SendKeys.
But unfortunately you have to click onto the place where you want it to send the keys otherwise it will try typing it onto itself.

Say I have a .jar open in processes, how would I make it so when the button is pressed it would switch to make the .jar the "Front"?

View 3 Replies

Open CD And A Close CD Using Program?

Jun 4, 2010

Is it possible to issue a Open CD and a Close CD using VB.net? Are there any examples of code I could see or articles? Thanks for you help, in what seems to be such a trivial matter. (I know though that the simpler the function the more code seems to be

View 2 Replies

Open CMD Within VB Program Text Box Or Other

Oct 17, 2009

I open a Shell("CMD") windows using my VB program but I would like it to open within my VB program. Either using a Text Box, List Box or some other box. I can get it to open a dos prompt but I want it to be contained within my application. I want people to be able to see the results. There are several different windows my program opens but I don't want them to open externally.

[Code]....

View 3 Replies

Open Exe Of Program In A Form?

Jan 21, 2011

I develop a small calculator in VB 2008 but i lost the code due to virus attack on my computer. But i make a exe when i complete is it any way i open this exe in my new project?

View 5 Replies

Open File With Program?

Apr 26, 2009

i made a program that manage file (picture text etc.), and i want when i right click the file and select open with->myprogram, it do the function that add the file to my program! (similarly WinRAR)

View 2 Replies

Open More Than 1 Program , Cant Close Them?

Sep 26, 2009

i have just started to use this program...i accidently opened more than 1 program and i cant close them.

View 1 Replies

Open Pdf Bookmark Using Program?

Jun 23, 2011

Retrieve a list of rdlc's from a project?I want to open a pdf document which already has certain bookmarks. I want to open the pdf to a bookmarked page. How can I do that? I am using the following code to go to page 2 of the pdf. But how can I go to a Bookmark named "Topic 5" whose page number I don't know.[code]...

View 2 Replies

Open Up A File With Program?

Sep 11, 2009

How can I open up a file with my program? Like the notepad does {right click, open with, notepad}Or swf file opener {right click, open with, swf player}etc...

View 9 Replies

All Exe. Files Now Open To Program Made In VB?

Aug 24, 2010

My brother had his son make a simple maze program with Visual Basic. Now all exe files on his system open to the maze, even system restore opens the maze. They have windows xp and he usually can figure things out but this one has him stumped.

View 3 Replies

All Exe. Files Now Open To Program Made?

Dec 23, 2010

My brother had his son make a simple maze program with Visual Basic. Now all exe files on his system open to the maze, even system restore opens the maze. They have windows xp and he usually can figure things out but this one has him stumped.

View 3 Replies

Can Re-open A Published VB2008 Program

Dec 5, 2009

I edited the development copy of a cherished program beyond restore by CTRL+Z, the original version which I want to recover is already published and it is in the c:/deploy folder but I dont know how to open such files for editing. How can I open this deployed program to edit and add some methods. I was cautious enough to save the program before editing but I was suprised that the original was over written by the edited copy.

View 7 Replies

Can't Open File Using Access 7 Program

Jun 4, 2010

I am trying to write a section of Access VB code that opens the Windows dialog box and allows my user to select and open a file to verify it is the correct one. (Then I use the file path and name to copy, rename and move the file). I have been trying to use the OpenFileName structure and have succeeded in capturing the file path and name my user selected... My main problem in all of this is getting the file to actually open so the user can verify it before I commit the actions noted. This probably can be done as a part of the OpenFileName dialog if I understood it better, but but isn't there also a trivial way to open a file if you have the path and name?

View 2 Replies

Get Program To Open Another Form Using Code?

May 28, 2009

How can I get Visual Basic to open another form using code? I have attempted to google the solution several times and never found anything that works.

Also, do VB forms share variables? Is there any way for one form to send data to another form?

View 1 Replies

Make A Program That Will Open An Image?

Oct 14, 2009

How can I make a program that will open an image, put it in picturebox1, and save it resized?So far I have the open code

OpenFileDialog1.ShowDialog()
PictureBox1.ImageLocation = OpenFileDialog1.FileName
Me.Text = OpenFileDialog1.SafeFileName
PictureBox1.SizeMode = PictureBoxSizeMode.Zoom

View 3 Replies

Make A Program Who Can Open Add-ons Like Firefo

Sep 21, 2009

Just for fun i am trying to make a program who can open add-ons like firefox. I was thinking that i maybey can use something like this: Me. Controls. Add(the add-ons file}and if it's possible, what kind of files shuld i use, dll?

View 2 Replies

Make Exe Form Open Only Once In Program?

Oct 13, 2009

I have a vb.net form which has a button in it. The button will call A.exe (it's a vb.net exe) using the command Shell("A.exe ", AppWinStyle.NormalFocus).

How can I make sure that everytime I press on the button, A.exe will only open once, and does not open a new form each time?

View 4 Replies

Make Program Open On Startup?

Sep 15, 2009

I want my users to be able to have my program open on startup. I am coding in vb.net. How can I go about doing this?I can't find a "system startup" folder anywhere that I could just copy a shortcut to.

View 4 Replies

Need To Make Program Open A File

Jun 3, 2009

I need to make my program open a file, write a length of 142 bytes over an existing 142 bytes and save. Please help. I have gotten no where with it so far...

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved