Im trying to load data from a datatable into a DataGridView in a Windows app in Visual Studio 2005 (vb.net). Theres something about OOP Im not understanding here, so its not loading the d...
hi there,
I have an aplication that it is buidl on VS 2005. After i compile it on my computer and work it through the windows i have created, it does what it is supposed to be doing. My prob...
I need to know the simplest way to handle function keys in a vb.net app. Typical code I have been given to handle the Enter key is:
Private Sub txtLocA_KeyPress(ByVal sender As Object, ByV...
I believe a software that has an extenstion .exe was created in Visual Basic. I am not sure if it was created in VB 5.0, 6.0, .NET, or Visual Studio. How can I upload an .exe file inside of Vi...
I am loading a datagrid with a decimal field and have chosen a "C" format in my column mapping. The source field is decimal, scale of 0. The display gives me $ sign, commas and two decimals....
I need a metod to change the type of a cell in a DataGridView to other type of cell.
Example: Change a textbox cell in a combobox cell, or a textbox cell in a image cell, etc..
I have a combobox in winform populated from a datatable of 2 columns by setting the datasource, displaymember, value member . when I set the selectedvalue to a string (that does exist among th...
Hi,
My sort does not have any effect.
The code looks like this:
'dt is a dataTable
Dim row As DataRow
dt.DefaultView.Sort = "YearWeek DESC"
For Each row In dt.DefaultView.Table.Row...
ms visual studio 2005
sql erver 2005
I get the following error when trying to insert into db from web app
have tried....
txtrequireddate.Text.ToString("dd-MMM-yyyy ")
reqrddate = Con...
Hi Experts! I need help databinding values from a datagridview to textboxes that the user could make changes and update. The datagridview1 is readonly. I orginally put this code in the datagr...
Hello,
Im currently using the code below to display 4 columns of information. I now want to add a 5th column which will display either a pdf, doc or xls logo depending on the filetype.
How...
Using .Net 2.0, VS 2005, vb.net
I'm trying to print to a printer with setting defined in the attached vb.net code. The default settings of the printer is letter size with portrait orientati...
I want to run a background Timer that constantly updates several text boxes that are displayed on all the forms in my project. The text boxes are named the same in every form and need to conta...
Hello Experts,
I am fairly new to VB.net...and seem to have come to a bit of a problem....
I am adding datareader values into an array list then i want to check if a certain string value e...
Hello experts,
VS2005/VB.Net
I am buidling a datagridview with data retreived from SQL queries. As data is gathered I am adding rows to the datagridview using:
'Header...
Hello,
I have been stuck on this for nearly 2 weeks now and can't see the problem. All Internet searches have shown what I have is correct, but it doesn't work for me.
Basically, I'm set...
How can i distribute a vb.net application to a clientpc and make sure it is installs in a specific directory.
I've tryed using the "publish" option but i came acros some problems.
1 i can no...
Hi,
I have created a dataset and datatable in code using: -
Dim row As DataRow = ds.Tables("RigsToAdd").NewRow
row("SSDNumber_Description") = cmbRigs.Text
...
This is driving me nuts. Here's my code (minus all the testing comments and stuff):
============================================================
Private Declare Function OpenProcess Lib ...
Hello. I have a Datagridview control on a form that I want to be 80% of the form's width and height.
Question 1) How do I set the Datagridview size when the form loads?
Question 2) How...
I am try to find out what the RGB values are for the colors in VB .net and I cannot do it.
Color=[Control]
What would this equal in RGB?
I get this error if i am debugging thru my VB application
Context Switch Deadlock was detected ..
The CLR has been unable to transition from COM context 0x1a0950 to COM context 0x1a0ac0 for ...
Does anyone know how to split your code up on multiple lines like you do in C# (example below). In C#, you add a "@" before the quotes and then you can just hit return and keep typing until y...
I have already7 made a refernce to excel object 9.0 library, how ever i am getting an error message:
Type Excel.Application is not defined
...
I know how to close and open a form...
Well.. but can you tell me how can I do this.....
Example...
There are 2 forms...named => formA and formB
and each of them have their ...