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.
I have a form that has buttons and a datagrid. When a user resizes the form I want the datagrid to expand with the form and buttons to bind to the form so they move in conjunction with the form. Is this possible?
Thanks!
Well I have a 20+4 pin PSU connector. I'm not sure what it means by 20+4 pin.
http://www.newegg.com/Product/Product.asp?Item=N82E16817234003
And here's my mobo:
http://www.newegg.com/Product/Product.asp?Item=N82E16813128050
So I guess I'll just go buy a new power supply with a 24 pin connector...
Ok this may be stupid but I just want to verify before I go out and buy a new power supply. My mobo has a 24 pin ATX connector but the power supply that I bought has a main power connector with only 20 pins. So my question is, can I still hookup the power supply to the motherboard even though...
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.