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
ADVERTISEMENT
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
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
Mar 20, 2011
Is it possible to open a file with the default program installed on Windows ? Lets say we have the exact location of the file on the hard disk and it is a *.pdf file , how can we give the order for that file to get opened by the default program ? In case it matters , I want to open *.pdf and *.doc files . It doesn't matter which program exactly will load the file , the default is fine by me .
View 2 Replies
Aug 2, 2009
I have a program that when you set it as the default program for opening rtf files, and open the file, not from the program, but from windows. It doesn't open it at all. It launches my program but, the file doesn't open in my richtext box.
View 1 Replies
Sep 23, 2009
I have a program that needs to access the files that are open by another program on the computer.When my application comes up I can easily see if the other application is running with the .net Process.GetProcessesByName method
Dim MyProcesses() as Process = GetProcessesByName("AnApplication")
For Each Instance as Process in MyProcesses
If MsgBox("application is running - do you want to end it?", MsgBoxStyle.YesNo or MsgBoxStyle.Question, "Warning") = MsgBoxResult.Yes then
[code].....
The problem is that the Instance.Kill does not allow the application to end gracefully. In VB6 you could use the SendMessage API to send a close message to the application and it would end gracefully - i.e. give the user the normal closing prompt. This just slays the application - leaving any open files in their potentially incomplete state, etc.
View 4 Replies
Jul 7, 2011
I'm new to VB and i want a simple program that opens a local htm file when you click a button into a iframe of the program.
What should the code say for the button to open a local file into a window?
View 10 Replies
Oct 12, 2010
I have made a program with 2 files, say (file1 and file2). Here I need to make an object of file2 in file1 where I need help from file2. And file2 needs the display text from file1 again to execute the enquiry. So I made an object of file1 in file2 to get the content in display text. But I get stack overflow exception when compiling. I do somehow understand why I get this information. But how do I solve this problem. I thought if I made this display variable to be public, I might reach it from file2. But I couldn't get the content.
View 4 Replies
Apr 24, 2010
I have a program that works when, a file is opened with it using the right click menu in explorer. But if I select multiple files and then right click and open with my program then it opens multiple instances of my program, instead of just passing the multiple files as arguments to a single instance. The program is written in vb.net but is not a windows form, it is just a module, so I can to tick the Single instance option in the properties in Visual Studio.So how do I open multiple files from explorer context menu in a single instance.
View 2 Replies
May 8, 2010
i want to write a program and set it as default to open .txt files so when i double click on a text file that it opens in that program and displays the text into a RichTextBox
my question is how do i display the text in the RichTextBox after opening the program through a double click on a text file?
View 6 Replies
Mar 24, 2011
I have a CheckedListBox. In the box are files from a directory. All *.jpg files.
Now I want to open the checked files with the default program.
View 3 Replies
Aug 3, 2011
I have VB 2008 Express installed in my PC. I downloaded a program source code written in VB6 but could not open the files. What do I need to do to get this codes displayed.
View 4 Replies
Feb 25, 2011
I want to import an xls that I made in open office into a VB 2010 form so I can edit it from inside my app.First is it possible to get the Excel object library without having Excel installed on my machine so this can be done, and second how do I do his once I have the library?
View 1 Replies
Jun 22, 2010
I was wondering can you get a program made w/ vb to click on a certain part of the screen outside of the program? and also, can you copy information from outside the program in another window and store it in the program as a variable.
View 1 Replies
Aug 15, 2010
How is it possible to open files (*.lva) made with my application by doubleclicking on them, as I can open MS Word etc files.My files are saved using StreamWriter member WriteLine.When I doubleclick on file made with my application, it has to fill some textboxes.I can open files through my application using ReadLine command, but not doubleclicking on them.I use Inno Setup Compiler to install my program and I'd like to associate *.lva files to open with my application.
View 17 Replies
Mar 2, 2010
I have made a VB.NET program on my laptop. It works just fine on the laptop. But when I install it on another computer it wont open (when I click on program it wont open form). I think I had this problem once before, but cant remember what I did to make it work. Its Win XP on the machine that wont open program and Win Vista on the one that it works on.
View 2 Replies
Jul 8, 2009
right here ever experience having their programs made in vb.net run slow on the computer it was deployed at?
what are the system requirements to run a program made in vb.net with framework 3.5?
is it a simple program or a large program (eg with database)
View 8 Replies
Dec 1, 2009
I was wondering how you update a program made in vb.net. I know that when you click "Publish" you do a bunch of crap and it shows if you want your program to check for updates.
View 1 Replies
Feb 29, 2012
For example, if on form load Button1 was created, how would I make this button function?
View 2 Replies
Dec 31, 2010
I was wondering how to open a file with a program made in vb.net.I know that you can open the file when the program is opened with the openfiledialog and stuff... but I want to open it by double clicking or open with.
View 9 Replies
May 27, 2009
In my Tools/Options box under Projects and Solutions/Build and Run, I have selected: Before building: to "Don't save any Changes."However, after making changes to a form, I would like to run it without saving, but I get a message that forces me to save, unless it runs the version of the program before the changes were made.The VB 2005 edition works the way I want it to allow testing without saving, but VB2008 does not allow this.Is there any way I can change this behavior?
View 2 Replies
Apr 15, 2010
How can made cmd application in vb.net 2008?
View 1 Replies
Oct 28, 2009
I been trying to made a clone of the vista contact program to use in a address/phonebook application im tryin yto make for learning purposes. I have or think I have it almost licked but it seems there is a few buggs that does not work right.
what i want it to do is as i type characters into the textboxes it will automatically at the same time fill another control like a label.text or textbox.text. but ultimally the combined data will be added to a combobox.in the vista new contact program it automatically updates the full name combobox in realtime as you type each letter in 3 different format.
[Code]...
View 5 Replies
May 30, 2011
I made a program that clicks in different places. I wanted it to be able to click on other programs, but it doesnt. I know it clicks because when i test it on VS where i am typing changes when the program clicks.
View 1 Replies
May 29, 2009
How would i make my program update the changes made to the current document. And if it hasnt been saved yet make it show my save as dialog?
View 1 Replies
Oct 7, 2009
I've seen used the datagridview to save the changes.
I don't use a dgv, but rather I connect directly to access and when a text field has text in it, it takes that text and searches, and updates various text boxes with the according information (finds a row, and takes all the data in the columns and adds it into their respective box). There are approximately 5-7 text boxes being used at the same time, and only a few will be changed.
How would I go about updating and saving through the VB program?
Here are some relevant pieces of code:
Dim con As OleDbConnection = New OleDbConnection("Provider=Microsoft.jet.oledb.4.0;data source=C:\InventoryMusic.mdb")
[Code].....
View 1 Replies
Aug 24, 2009
This thread sounds nuubish! but im still quite learning vb/c#/c++.ok.. i wanna know how i can steal source codes from a program made in vb.Post tuts link on just write off
View 5 Replies
Mar 15, 2010
I have numberic updown control in my app. There may be times when I want to programatically change the vlaue (in which case I don't want to ValueChanged event handler code to run). There will certainly be times when the user makes a change (in which case, I would want the event handler code to run).
[Code]...
View 5 Replies
Dec 24, 2011
So I made a program for generating prime numbers in a list box. My initial code had them listed like this:
2
3
5
7
..ect
Now I have them listed in pairs like this :
[Code]...
View 1 Replies
Jan 17, 2010
I was wondering if anyone knows of any way of statically linking all dependant DLL's to the vb.net program? I know there are ways to find the dependencies using dependency walker and other tools like that. But was curious since c++ supports the static ability to load DLL's. If not, what tools can i use to quickly package the required DLL's without having to install .net on all my systems?
View 4 Replies