I have a treeview control with checkboxes that I need to get the unique identifier value of all checked nodes on a button click. I dont need the control to update until the user actually clic...
I have created a an object: Public lstTMERecs As New Specialized.NameValueCollection()
I have added 1 KEY VALUE to lstTMERecs.
The Debug.Print(lstTMERecs.Count) displays a 1
How do I assig...
Hi, I have a query which craps out with the error:
"An explicit value for the identity column in table Table_Name can only be specified when a column list is used and IDENTITY_INSERT is ON....
Hi,
Is it possible to convert a date (not necessarily the current date) to a yyyyMMdd (i.e. CCYYMMDD) and it not being a String but a DateTime variable type?
Also, is is possible to con...
Hello,
I am trying to run an ActiveX barcode and am getting an error when i try running the application on another machine. Below is the error i get. Any help would be great appreciated!
...
I have a web page "PgA" with a GridView. I open another page "PgB" in a new window. On PgB, they do some things that affect the underlying data for the GridView on PgA. When the user is don...
Dear Experts,
I am trying to read data from serial port connected to barcode scanner and dispaly it to a text box.
Please help me with a simple code ?
Thanks in advance for your help.
My OS is Windows XP SP2 and my IDE is Visual Studio 2005. My program is written in VB.NET 2005. My RDBMS is MySQL version 5.0.45
Context: I have been working on this program for about 2 yea...
I am using Linq to create objects with the data I need. Is there a way to convert those objects into a datatable which I can then bind to datagrids, textboxes etc? I would like to be able to...
I am writing code that will insert orders in the ORDERS and ORDERSDET tables. I need to find a way to insert new data into the ORDERS table and then return the value of ORDER_NUM (an auto-inc...
I've been trying to get a service to install but am stumped on one portion - namely getting the service to install with the comand line utility.
The utility always generates an error messag...
Well the title pretty much says it all. I am building a data management tool in which I would like to have the ability to Browse to an Excel file and Import it into an Access database (my bac...
I am trying to send an email using the SMTPClient class but I keep getting the 'SMTP host was not specified error'. This is the code:
Dim smtpServer As SmtpClient
...
Hey all,
how can I save the content of a textbox to a .txt file with the save dialog??
Dim dlg As SaveFileDialog = New SaveFileDialog()
Dim res As DialogResult = dlg.ShowDialog()
Thats...
I have a date field that I want to use a Text Box or Masked Text Box to enter the date in the format mm/dd/yyyy. I'm currently using a Masked Text Box and I can enter the date 07/18/2008. Th...
What I want to achieve is quite simple (but I don't know how). I want the user to give the change to pick a customer name with a combo box and show the details (address, phone, ...) in textbox...
I am working in Visual Studio 2005 and have 2 web apps. Both of them have this in the VB Code Behind:
Dim connectionString As String = ConfigurationSettings.AppSettings("theConnectio...
Hi all,
i am trying to reset password for a user using the vb.net ,asp.net.
Here is my code.
It is seraching the user,but when trying to set password using Directory entry ,i am getting a...
Hi, I'm writing a financial application and can't seem to figure out how to properly format numbers for display. In the code snippet below, you can see two methods that I am using to format n...
Hi,
I am trying to change a folder (and all its sub folders and files) permission in Visual studio 2008 and VB .Net 3.5. Also I can not use windows AD as it is not implemented.
What is...
Hello,
How can I pass parameters to a Windows Form? the way it can be done
with a Web Form. to be considered when form loading
I searched the VS.NET finding nothing.
Many thanks in advance
I have a collection of keys and items where both are of String type.
I'm trying to figure out how to easily sort the collection so that the data is first sorted by key and then by item.
...
Greetings experts;
I have an application that allows custom queries to a SQL 2005 database and displays the results in a datagrid. The user then has the option of exporting the resulting d...
Hi,
I have attached the code in question. I'm trying to export the dataset into excel. I have used this code in the past and it seems to work well. The trouble I'm having is that the pc I a...
I have built a web form using ASP.NET 2 and VB that captures the data entered, converts the data to xml and writes it as a memory stream. What I need to do is convert the content of the XML i...