VS 2010 How To Make Program Can Be In Open With List
Sep 20, 2011
how i can making my app in open with list for windows like if i chose my app to open txt file my app will open the txt file like example: ex.txt ==> open with my app and my app with view the ex.txt
View 1 Replies
ADVERTISEMENT
Jul 16, 2010
How do I Close a Form and then open a new one straight away? Im trying to make a Login for a Program, but I want the Login Box to open first, then disappear when the credentials are correct and a new Form to load.
View 3 Replies
Aug 23, 2009
How do i make my button open a program and make it windows size?
View 6 Replies
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
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
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
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
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
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
Jul 6, 2011
i need to know the exact code that once you click a button on visual basic program it will open a program in a directory for example:C:Program FilesiTunes.exe
View 5 Replies
Jan 28, 2011
Im using visual basic 2010 and im building a program that will basically, you click on something in the list it will automatically open a .dat file pull the information that it needs, and then proceed to enter it into a box on the right. Well heres my issue i know how to do everything else but i cant seem to imitate this image, i need to know how i can make a list like this where the whole row is selectable, and the items/subitems are divided.
View 9 Replies
Aug 21, 2009
what is the code to make windows open a program at the startup?
View 4 Replies
Oct 2, 2011
i'm relatively new to vb. I'm trying to make a relatively simple program to get all open window titles in a ListBox. I'm kinda borrowing off some tutorial's/sample code so I might have some declarations I don't need but this is what I have:
Code:Imports VB = Microsoft.VisualBasic Public Class Form1 Declare Function GetWindowTextLength Lib "user32" Alias "GetWindowTextLengthA" (ByVal hwnd As Integer) As Integer
[Code]...
View 3 Replies
Sep 12, 2009
I have made a program that makes and saves every possibility of characters under 7 characters (so far), and it takes about 10 mins to make one million possibilities... this is about 1800 possibilities per second (differering on different CPU's and RAM's)How can i make it more efficient, because i have made some basic calculations, and if i wanted 7 digits of every possible character combination, it will take about 7 billion possibilities... If i had 10 mins per million, that is a long time..
View 8 Replies
Mar 6, 2009
What control should I use to create a grid like a ListView or Excel grid?
View 1 Replies
Jun 9, 2011
I am trying to make a program that consists of two list boxes. The first list box contains the names of several employees of a given company, and the second is to display the name, department, ID number, and phone number of the person when the name is double clicked in the first list box. The file I have been given to carry this out with reads as follows. [code] I have no idea what I am doing.I know that I have to use the system imports streamwriter and streamreader, but I really am lost as to how. I don't even know where to begin really.
View 3 Replies
Feb 26, 2011
Question 1: How to make 'Button1' open a external program of there choice using the File Browser.
Question 2: How to send 'TextBox1.Text' to an external process
Question 3: How to save data in a .dll file made from Visual Basic
If anyone has source codes that I code edit for Visual Basic 10/08,And If you could sort of walk me through what I would need to edit to make it work for my programs
View 3 Replies
Nov 15, 2009
I'm trying to make a list of flight plans loaded into my program, with each flight plan having a list of waypoints along the route, along with a few other properties associated with the flight plan. Each waypoint has its own associated properties, i.e. waypoint ID, waypoint type, location, etc.
Here's the declarations:
Code:
Public Class WPinfo
Public WPType As String
Public WPID As String
[Code]...
How do I implement the List methods to access the list elements, and add, remove, etc? The way I'm doing it now just gets me an 'Object reference not set to an instance of an object' error during runtime.
View 3 Replies
Jul 24, 2011
I am just wondering on how can i make a list of recent file opened on my program in vb.net. The recent files filenames must be in a linklabel in a form and in the menustrip.
View 5 Replies
May 6, 2011
I need my program to open the users default web browser, and go to a specific url. Its actually a menustrip but still.
View 5 Replies
Aug 6, 2010
How would I open a program within Visual Basic 2010? (Like running "Application.txt" from "C:" within a Visual Basic project.
Public Class getfrom
Dim getfrom As String
Dim saveto As String
Dim download As Boolean
[code]....
View 2 Replies
Apr 1, 2012
i am making mp3 player. i didn't wanted to use open buttons so i've associated my app with .mp3 filetype (with If (My.Application.CommandLineArgs.Count > 0) Then...)
The problem is when i want to play next song while the first one is playing it opens my program again so it plays 2 songs at the same time.
I want to do is when im opening new mp3 make it shut down the old one
I guess there is more methods that open in same app but just change the url.
View 7 Replies
Apr 21, 2012
visual studio 2010 using vb.net for my windows form.I am trying to get some direction on how to integrate paypal into my windows form application. Currently, I have an expiration date on the software that loads a registration form when the software expires. I would like to add a button that can do the following:
1) open paypal to allow the user to make a payment for the software
2) send the information back to my form (successful payment or unsuccessful payment)
View 3 Replies
Nov 23, 2011
how to create a property like this:[URL]
View 7 Replies
Oct 27, 2010
How do you open the autos window for debug in vb .net 2010?
View 2 Replies
Sep 13, 2010
I was wondering if there is any way to make a program recognize a keyboard shortcut while its not the active program
View 1 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
Mar 15, 2011
I want a list of all controlls in my project, not only on open forms. The reason is that i want to make an access control, and the admin will set which buttons each users can use.
What ive got so far is:
HTML
Public Sub getallforms(ByVal sender As Object)
Dim Forms As New List(Of Form)()
Dim formType As Type = Type.GetType("System.Windows.Forms.Form")
[CODE]...
This shows me all forms in project. But i cant access their controls.
View 6 Replies
Jan 27, 2012
how i can make this code shorter:
Dim reminderday As Integer = 13
Select Case reminderday
Case 1
[Code]....
Maybe i should to somehow make an array list of all 30 Picture boxes?
View 3 Replies
Jun 8, 2011
I am trying to make an application which will list all processes in a string when it starts. After it has listed them all I enable my timer, and in the timer there gets checked if the process is in the process list (string), and if it isn't it will add it to my listbox. The only problem is, it's not working, it's never adding an item.
vb.net
Public Class Form1 Dim AllProcesses As String Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'The first check For Each p In System.Diagnostics.Process.GetProcesses() If AllProcesses = "" Then AllProcesses = p.ProcessName Else AllProcesses += "|" + p.ProcessName End
[code]....
View 3 Replies