Friends,
I am getting an error:
System.ArgumentException was caught
Message="Items collection cannot be modified when the DataSource property is set."
Once this sub has been ran on...
Hi,
I have a structure defined as
Public Mine() As FileLineMapping
Structure FileLineMapping
Dim DBTable As String
Dim Pos As Long
Dim length As Integer
...
Using non-GUI Console Application in VB.Net, I'd like to read data from serial port, and write it to a text file. The data is four lines of comma-delineated text strings, which can be configur...
Hello everyone,
I'm developing a driver that sends out text commands via serial port to an instrument. When that instrument is finished executing the command, or an error results, it will s...
Hi ,
I want to Add a new element and edit existing element And delete one root element from my exists xml file.
my xml file look like this:
<?xml version="1.0" encoding="utf-8" ?>
<Nod...
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...
Hi,
I want to be able to print an HTML file from a location (for this example we will say "C:\test.html"). I want to be able to set the printer settings such as orientation, margins etc and...
I have a 2.0 framework dll I am attempting to add to the GAC on a non-development computer.
I am able to install the dll to the GAC on my development computer. I am unable to do so on the tar...
I like to change the properties of mp3 files like (title, genre, artist) within VB.net program. I can change the properties manually but I like to change programmaticaly.
Is there a way th...
Hi experts,
i need to schedule a daily job at 3.00 am (the time can be changed by the form)
how can i do that in vb.net
i mean, how can i make my program start at this time and every ...
I want to write encrypted connection string to app.config file for windows application. Later, I want to read that encrypted connection string, decrypt it and use it for connection. Please ans...
Hey all, I've been researching sound capture for VB.NET 2005 Express. Basically all I can find is sound capture via MIC. I want to record the output of my application. I've plenty of links to ...
I put in a DateTimePicker into a DataGridView control just like in the http://msdn.microsoft.com/en-us/library/7tas5c80.aspx
article. The only problem is that when I try to insert another ro...
Hi there,
Is there a way to create a vbscript that can copy file(s) while preserving it's original time stamp?
I know there's a utility from Microsoft called "RoboCopy" - I was wondering i...
Hi
I have a user that is visually impaired and who cannot read textboxes content when they are disabled.
I have tried to inherits from the Textbox and overwrite the Paint method but I ha...
When my application runs, I have a requirement to prevent a system from entering Standby, etc. The reason for this is that it loses connection to the remote host.
So, while my application ...
I create a VB.NET program which has a form and a simple crystal report (which called TestApp). Then I create a setup program to install this TestApp for users. In setup program I include all ....
Yo Experts,
Can someone please provide me with simple xml and xsd sample code. Use a vb.net app, have it read an xml file validate it against the xsd (i think thats what an xsd is for) and ...
Good Day
Experts:
I am working with VB.net and am looking for help on the most efficient way to do the following:
Filename ---> Test.sql
Username ---> Bob
I need Filename to be Test...
Hi I am newbie in VB.net, and I want to create application can calculate age by entering Birth date
and the result give me how old am I + month. For example: if my birthday was in 11-9-1990 t...
I am trying to Format an Excel Worsheet using VB.NET. I have run the Macros in Excel and copied the code to VB.NET. There is this part of the macros that gives me an error.
oSheet.Columns("...
HI all,
I created a folder tree as code attachment. When I open form, it take a long time.
- How can I speed up the time to open form.
- How can I move to my selected node (Ex: C:\Test) ...
I have the follwoing code that i use to add new record to a db table but i'm interested to know how i could modify my code to delete and update records with this bindingsource. I get an error ...
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...
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
...