VS 2010 Storing date value in access
I was trying to store an date in my db table, for which i had used the following code. Code: cmd.CommandText = "Insert into Purchase (InvoiceDate) Values (@InvoiceDate)...
View ArticleAccessing a Button Click From Datagridview Column Button
Hola, If i have created a datagridview (visiual studio) and made one of the Columns a BUTTON, How do I access that button in code? If the DGV has 3 rows and thus 3 buttons, one for each row, how do I...
View ArticleVS 2010 autostart program doesn´t behave like when it´s started manually
Hi, I´ve made a program that autostarts when windows starts. Like always, when using it on a windows 7 64 bit machine, it doesn´t work. I´ve learned that it usually has to do with "security" settings,...
View ArticleVS 2012 Savefile dialog & msgbox
hi guys, Anyway how i can make a savefiledialog, and save a file to show a message box ? the project contains A textbox1.text and a savefiledialog, where when you write something in the textbox and...
View Articlecheckboxes
Ok, I have a very simple question: I did not have option strict turned on in one of my forms, and now that it is I have an error saying that you can't convert an integer value to a checkbox checkstate...
View ArticleSerialPort problems, readline() hangs when using win xp (fine on win 7)
I am very new to VB.net so please be understanding!! I have based an application around some examples from the net. Basically I have a microprocessor connected to a serial port. The Micro does 2 main...
View Article[RESOLVED] Getting listview selectedindex
I've got a listviewbox with a single column. I want to get the selectedindex, and I'm using this code: 'txt = lvwROMs.SelectedItems.Item(0).Text'. It works the first time, but the second time it raises...
View ArticleVS 2012 Using a combobox text in instructions
Hello guys, I am making a program and I want to use the text in a combobox in a certain piece of code. See this instruction: Code: txtElementNumber.Text = (cboElements.text).ElementNumber ElementNumber...
View ArticleSettings are causing an exception
My application is giving me this error when it starts: Quote: An unhandled exception of type 'System.Configuration.ConfigurationErrorsException' occurred in System.Configuration.dll Additional...
View ArticleVS 2012 [Help] How Can i get a "Char" position(X/Y) in richtextbox?
Hey all.. i am having aproblem with finding a char like a smile ":)" position(x/y) to replace it with a picture box control in a richtextbox.. if anyone can give me a hint or away to do it.. i will be...
View ArticleVS 2010 XML, dropdown boxes, and webpages ... oh my
I would like to develop a webpage with 2 dropdown boxes that can eventually produce another webpage containing a table of results based on the selected dropdown values. The values for the dropboxes...
View ArticleNewb to VB - Help with strings problem
Hello...I am really inexperienced with computer programming and learning VB on my own as an introduction of sorts. I've surpassed the general strings section and now I'm having a problem writing a code...
View ArticleDo not clear TextBox?
Using the following code, everything is executing how I want, except the text that is transferred to the form Command is highlighted, so on the second keypress it gets deleted. For instance, from the...
View ArticleVS 2010 Active Directory as My logon on VB
Good Day, I would like to ask some Information regarding on using Active Directory User and Credentials on my application? Is it possible? The Username and Password on Active Directory will be also the...
View ArticleVS 2012 Help with sending text in txt file to shell command
Well the title says it all. i have a .txt in Code: AppData\Roaming\.MM\class.txt i would like to know how so send the text inside that text file to a shell command? any help would be appreciated!...
View ArticleVS 2010 How to view RAM from processes?
I've got this, which I found someone on here: Code: TextBox1.Text = String.Join(" ", IO.File.ReadAllBytes(OpenFileDialog1.FileName).Select(Function(b) b.ToString("X2")).ToArray()) As you can see it...
View ArticleVS 2008 Need help with top down shooter
Code: Private Sub shoot(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles MyBase.MouseClick Dim num1 As Decimal = 0 Dim num2 As Decimal = 0...
View ArticleVS 2012 Can someone help me get this Screenshot form working
I have explained how i want to get this working in the code but i am stuck and need someone to help me with the code to get this to the way i want it, you will make my day if you can help Code:...
View ArticleNeed help telling when an event has changed
I'm just about finished creating a diving competition program in Visual Studio 2010... It has well over 2,000 lines of code in 5 different files that I've attached. I'm stuck though on trying to figure...
View ArticleVS 2010 [RESOLVED] Get Entire Node Path from Database without using Treeview
Dear Experts; I have a table for the data storing of treeview. Now, the challenge is I need to get the full path of a node without using treeview; how to achieve this I am bit confused, any help will...
View Article