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...
Hi experts,
How can I convert a csv file to en xls file?
This is my code, but when I open the new xls file all the information is in column A.
myXL = CreateObject("Excel.applicati...
Does any one know how to ping IP by port? Thank in advance
E.g
Module Module1
Sub Main()
Dim siteResponds As Boolean = False
siteResponds = Ping("192.10.10....
Hi,
Using VB .NET 2003 and the PIA for Office XP.
What I'm basically doing is using Excel as a report generator. I have no problem from VB .NET calling Excel, transferring data from the ...
Hello Experts,
I am developing an application that will utilize the webbrowser control. (VB.NET 2005) I need to trap user interactions within the webbrowser to trigger an event.
I was ab...
Hi,
What code do I need to call/show a report (rdlc not crystal) in VB.Net 2005 from a button on a windows form.
I'm assuming I'll need to add reference first but what reference?
I want to ...
Hi Experts,
Software:
VB.Net 2005
SQL Server 2005
I need sample code to insert a row in a SQL Data Bound DataGridView.
Thanks,
Dave
I've found a lot of answers on how to align the Header Text for a column but when I set the HeaderText to MiddleRight alignment, there is some sort of padding after the Header text that I can'...
Hi,
I'm trying to add some simple help to my application. I have some tips in a help.htm file, and I created a form and added a webbrowser control to it. The URL property seems to only...
I'm trying to encrypt the connection string in my web.config using code and instructions from O'Reilly Windows Dev Center: http://www.ondotnet.com/pub/a/dotnet/2005/02/15/encryptingconnstring....
I need to be able to determine if a printer exists and if it is online. The name of the printer to be checked is stored as a setting of the program i am creating. Is it possible to check th...
I need to decode a fixed length header on a packet of compressed data. The header is always 32 bytes. The header starts with 16 byte null terminated ASCII timestamp. This is followed by four b...
I have a grid view with multiple data rows, a footer and a pager.
In GridView_RowCommand, I detect I am responding to a "Page" command. Because of various tests, I determine the user shoul...
Need to know how to limit the number of characters a user can enter in a MulitLine textbox and display a countdown. I assume I will need to use Javascript but have no experience with it. Bas...
I having problems placing a image file into excel 2007 cell. I using the same routine which works well with excel 2003 and below. When I place the image in Excel 2007 the image is place in t...
Hi, I am very new to web development, and would appreciate any advice given that helps me get going again.
Basically I just need to know how to use the pageindexchanging event on a gridview...
I need help resolving an error, every time i run my code it says:
"Cross-thread operation not valid: Control 'RichTextBox1' accessed from a thread other than the thread it was created on."
...
I have a column of numbers in a DataGridView but when Sortign by clicking on the Column Header it sorts it as it were Text. How can I get it to sort as a value not as text?
Hi,
I have an application where a user can select a school session from a drop down and it will give them the attendance that has not been entered for that session. I have 12 different sess...
Hi all,
I want to write to an XML configuration file but I get an error message saying the following:
code: System.Configuration.ConfigurationSettings.AppSettings("compNameCon...
When I button is clicked, I want to sort the first column of the datagridview programmatically. When I use the code, datagridview1.sort(datagridview1.columns(0), listsortdirection.ascending), ...
Hello,
I downloaded this code from the web (devx) as a way to get some practice with serial ports in vb.net 2005. I am trying to communicate with a serial port device that has a database o...
Hi,
I have two forms:
Form1 will contain datagridview to show all the students info (ie.student_id,first_name,last_name,contact_no)
Form2 will contain the corresponding student_id,first_nam...
I just started to fool with VB.NET - I program in other languages.
Curious why this code won't work. The Status Strip does not update. It just shows as Gray without any text at all in the...