I've been banging my head on this for a few hours now and I can't seem to figure out a way to get around it. I've got a datagridview setup with lots of empty columns and rows. The user clicks into a cell to fill it with a pattern they've picked. I want the patter to go right to...
I am working in VB.NET using Visual Web Developer Enterprise 2010 on an XP OS. I need to let the user download a file, but there is no reference to any dialog box or common dialog in the toolbox. I get a syntex error if I try to create one on the fly:
Dim Open_Dialog As New...
My shared sub, the strCitationNumbers string array can have a number or 'No match' text.
So I would like to add if statement to check what's in the strCitationNumbers.
If a number (string) is found in the strCitationNumbers, I want to output an error message saying 'Duplicate case'.
How do I...
I'm trying to read and Write the datagridview using .accdb files through oledb connection . when i Run the application it Showing error like " Not a valid password " .i check the database test connection in the connection properties..That also shows "Test Connection succeeded ",then why...
i trying to read the text file .So my question is how to append the first line when i reach the last line in the text file ?
when i reach the 10 ,automatically read from the 1 . how to suppose i do? please give any idea ....
I am developing a Windows Forms application with Visual Studio 2010 and VB.net
on the "load" of a form I inserted the following code that takes data from a Firebird DB and I would populate a "datagridview" but I can not:
Private Sub Form1_Shown(ByVal sender As Object, ByVal e...
My function is working but not as I expect it to. The problem is that when Section and Subvision are not found in the object aobjXmlGetStatuteRequestNode xml, I get an error NullReference Exception was unhandled by user code. Object reference not set to an instance of an object.
I am new to vb.net. (using Visual Studio 2010, Win 7, office 2010)
i used below code for open the password protected excel file. please help me to correct this code.
My code is not giving any error msg. but it is not writing password. (see attached file)
Imports Excel =...
I have a code that loop from A to D and displays the result in a text box as the loop continues.
Dim test(0 To 3) As String
test(0) = "A"
test(1) = "B"
test(2) = "C"
test(3) = "D"
For i As Int32 = 0 To test.Length - 1
TextBox4.Text = test(i)...
i am working on a application. i need some help figuring out a problem i have with one of the features:
i use Visual Basic express 2010
what the feature should do:
i have 1 panel in the form that want the user to be able to move the panel along the location.X
by now i have...
Can anyone help me on this please??
I am trying to make a stock exchange system based on mysql database using vb...
So i am stuck on :
my sql table : inProduct, OutProduct and Stock...
inProduct cells > id,prodName, quantity, units, date
OutProcust cells > id,prodName, quantity, units, date...
Dim mydatapoint As DataPoint = New DataPoint(1, 1)
Dim mydatapointcollection As DataPointCollection = New DataPointCollection(mydatapoint)
Tried this but doesn't work
Trying to simply add a DataPoint to a DataPointCollection
Here i have one situation, like in my application i have one gridview with in this grid, i have textbox, dropdown list, and label controls.
I ll fill the sub commodity value based on the commodity, the commodity values are fetching when the grid data bound...
I have a image array, it consists 100 images (50 x 50 image size)
i need to print 10 images in 1st page and another 10 images in 2nd page like it going on print up to the ubound(array)
i checked like the following
For n As Integer = initcount To img.Count - 1...
this is my Income.aspx
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Income.aspx.vb" Inherits="iplapp.Income" %> <!DOCTYPE html>
and here my Income.aspx.vb
Public Class Income
I am so happy about this web site and its forums, since I get perfect answers to my doubts. Thanks to all and special thanks to Ian who helped me several times.
I use VB.NET 2010.
Now I have a problem with DataGridView control. I need to add test details of students to the grid...