I am developing with visual basic 2005 and access 2007 as backend.
I have a datagridview, a button for date, and a textbox to enter a numeric value. What I would like to know if is it possi...
Using VB.NET 2.0, how do you select a listbox item as you type into it? This was default behaviour in VB6.0 but I can't seem to make it work in VB.Net. I have found some samples that allow you...
Hi,
I would like to know which event to capture to resize a form to a specific height and width.
My form has the follwoing set : FormBorserStyle -> Fixed3D. WindowState = normal.
In the...
I'm revamping an old program--converted from vb to vb.net--I wanted to change some text boxes I had to date time pickers--and I also turned on option strict and fixed all of those bugs already...
Hello
I have a login screen containing a panel having two textboxes login and password and a login button
Now when a user enters the username and a passsword, and presses enter , he shou...
How can I get a MemoryStream into a String?
Dim a as String
Dim b as MemoryStream
a = b
????
We recently purchased and started using Visual Studio 2005. We are trying to create an application in Visual Basic that has a datagrid which displays data from a SQL select statement (dataset...
I want to create a VB.NET application that creates an Excel File. Currently I have installed Office 2007.
Most examples I found on the web uses office 2003 objects library. Some, like the lin...
Hello,
I have an issue exiting a vb.net app.
I have written a vb.net app that does the following from the startup routine.
- create a thread to get updates via tcp/ip from another ser...
Hello,
I am trying to update ab SQL database from a datagridview.
My question is that the grid may have 16 columns and 2 or more rows.
Can I just update the dataset
Dim griddata...
How I can change the datagridview cell text color in multicolr text
Hi Experts,
I'm not sure if I understand the meaning of displaymember and valuemember correctly on combobox's but in relation to my MS Access experience, I understand the first is what's di...
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....
Hi everyone. I'm definately not a VB.NET or developer pro, but I wanted to know if anyone has a function that removes non-ascii characters from a string/CSV readline.
I'm trying to find ...
I have an ownerdrawn listbox on my form which colors items a variety of colors. The problem is, whichever item happens to be selected is tough to read because selecting the item highlights it...
I am new to Visual Studio and more experienced with VBA.
Let's say I have a file called test.csv in c:\myfiles which has 3 lines
1,antelope,55
2,bear,44
3,cat,33
How can I open thi...
Ok so, I wanted to make a pretty table for my program as the user would need to specify a string and a long, but they'd need to go together... Instead of using parallel listboxes, textboxes or...
Hi Experts,
I'm a junior VB.Net programmer and all I know about active directory is that "it's something that stores data of users".....
I need to query AD to get user details back from ...
What is the easiest way to import a CSV file into a .NET DataTable object?
I am using Visual Studio 2005.
1) Does OLEDB have a driver that could parse a CSV into a datatable?
2) Is...
Hi Experts,
I have a dataset that is populated from a stored procedure.
There are textboxes that are filled in with the data. So far so good.
When the textboxes are changed I have a save...
Hi,
I have an application that allows the users to enter a date through a date picker. The date goes into the textbox as mm/dd/yyyy. I then run an INSERT. In the table I have the field set ...
Hello,
I have an application that refers to an existing excel workbook and I am trying to retreive values from group of cells in a worksheet using a loop.
There doesn't seem to be a prob...
Hi there,
I am using strongly typed datatables. I have a datatable filled from a dataAdapter. I want to copy some of the rows in the table, add them as new rows to the same the data table,...
I am using VB.Net to query a SQL database and am placing the information retrieved in a datagrid. I need to know how to count the number of rows that meet the query criteria and placed in the ...
I'm trying to insert a datarow into an existing datatable in a dataset, but can't seem to get it to work
Dim ds2 As DataSet = DB.GetDS("select AffiliateID, Name From affilia...