I have returned a number of rows into a DataGrid on a form_load event.
I am using the following two controls:
DataGrid - dgProducts
Button - btnEditProducts
I would like to be able t...
I have a scenario. There is a laptop. Many USB drives like about fourty (40) will be connected at a time. I have to write a code which can copy files efficiently to all the USB drives at the ...
Hello,
I am filling a DataGridView control with database from a SL Server table via a datset with the following code:
Conn = new OleDbConnection(ConStr))
cmd = new OleDbCommand(SQL, Conn)...
Hi Experts,
I require C# windows application to send email with attachment. I got the error like
ex.Message "Could not access 'CDO.Message' object."
ex.InnerException.Message "Exceptio...
I'm using async socket in .net C#, now my question is, how do I know on my server side that the Client side had stopped or disconnected its connection (Socket)
Hi experts,
I would like to have a simple dialog which will resemble the Windows File Copy Dialog.
In simple words, I would like to have the animation on this dialog, like the folders flying...
I'm trying to copy data to an existing excel file with a graph already inside.
The error appears on this line:
oBooks.Open(Server.MapPath(Request.ApplicationPath) + "\\MyTemplate.xls", nu...
FYI...I am still in the learning process in C# so bear with me :-)
I am having a problem with negative numbers showing up strange in ASP textboxes. I have tried various things to get it to...
Hi,
I am trying to Dynamically invoke a web service. The code was originally in Java and we are migratiing to .NET.
To invoke a webservice, we usually generate web referece based on wsdl...
I wrote a windows service in c#, along with an installer for that service on my local dev box. I then moved it to the staging server where it would not start. Obviously the service relied on...
I wrote a program which restores permissions and ownership on roaming profile folders.
It is C#.NET2.0 and uses subinacl and xcacls....
I would like to rewrite it so I will not need external...
I have Service : ServiceBase and ProjectInstaller : Installer classes. I can install the service using InstallUtil.exe or the MSI installer project. Is there a way to install the service in co...
I have developed many image processing functions in matlab..
I wanna integrate matlab in c# so I can use the functions that I have developed in matlab in c#.
any ideas how to do this ( or sn...
We would like to write a .NET application to determine who is currently logged on to each computer in our Active Directory domain (approximately 70 computers). Also, is it possible to determin...
C# VS2008 Standard - Windows App - Printing question
I have a form in which I have a print button using the following line that works fine and prints the form:
printForm1.Print(this, Mic...
I am using Visual Studio 2005 and C#. I have created a Progress Bar on my main Form and I want to update this Progress Bar from a worker thread. I get the run time error = "Cross-Thread opera...
I need to know how to do a sorting in GridView in C#
www.codepal.co.nr
Hello,
Have a few questions in regards of customizing DataGridView control in VS 2005:
1. How can I change the colour of the column header? I tried changing ColumnHeaderDeafultCellStyle pr...
Hi.
Eeach month I need to import some Access tables into SQL Server. I am re-writing a C# application that does this.
The last version would read in each row from each Access table using one...
I have an ASP.NET Web Application that uses the ASP.NET membership model. I have figured out how to modifiy the session timeout length directly through the web.config file (see attached code s...
I have an excel file being saved into a database. I try to write it from the db to a temp file and open it, but when I do, it opens an empty file with on the the word "system.byte[]" and that...
Hi Experts,
I developed a simple web service client application in C#. Basically, what I did was to create a Windows application project and then added the wsdl file as a Web Reference. T...
How do I iterate through a DataSet? What would be the standard return type?
DataSet ds = new DataSet();
foreach ( ??? in ds )
{
}
thankss,
newbieweb
When I attempt to write a record to the database I get this error message. I understand the error message occurs because I have left one of the date fields blank but in many cases the data is...
Hi,
I just noticed this exception error:
A first chance exception of type 'System.NullReferenceException' occurred in DMS.exe
but do not know what it means.
Any ideas?
thaks,
n...