What I usually do is create a module with a public variable of the parameter you are passing in and like the others have mentioned use GetCommandLineArgs. With the below you can add multiple paramters.
[code]
Public parameter As String 'this will be the parameter you pass in
Public...
I have a datadridview and it is a set size on my form. The data rows within the datagridview do not always fill up the entire datagridview. This is fine and what I want. The problem is that I'm trying to check if the user actually clicks on a cell within the datagridview or if they clicked...
I have a datadridview and it is a set size on my form. The data rows within the datagridview do not always fill up the entire datagridview. This is fine and what I want. The problem is that I'm trying to check if the user actually clicks on a cell within the datagridview or if they clicked...
I'm trying to get the date a file was modified. How can I do this? I know how to get the date last accessed and the creation date (below code) but what about the date modified? Thanks for your help!
Dim f As New FileInfo("file.exe")
Dim dte as string
dte = f.CreationTime.ToString
perfect thanks. i just found out you cannot "put code in both the Click and the DoubleClick event". darn! I'll have to create another button.
http://www.code-magazine.com/Article.aspx?quickid=0607101
yeah sorry for the double post. i'm not sure how that happened.
anyhow, the real purpose of the button is to remove items from a listbox. when i click once on the button it will remove the selected item from the listbox. when i double click i want to remove all items from the listbox...
ok this really seems like a simple problem but i cannot figure it out for the life of me. when i add a button to my form i want to be able to double click that button and have it perform an action. but for some reason i can not enter into the doubleclick handle when i double click on the...
ok this really seems like a simple problem but i cannot figure it out for the life of me. when i add a button to my form i want to be able to double click that button and have it perform an action. but for some reason i can not enter into the doubleclick handle when i double click on the...
Is there an easy way to get the last two decimal places to round to the nearest quarter cent if I have a given number that is 4 decimal places? So for example if I have the # 40.1234 it would round to 40.1225, or if I have the # 40.1255 it would round to 40.1250, or I have the # 40.1988 it...
I have a main form that has a tabcontrol with 4 tabs. How can I load data on each tab when the form loads? Right now only the first tab loads with data on form load. The other tabs load with data when I actually click on them.
Thank you very much for your help.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.