Time for your 3rd Quarter Update! Are you in the running for the 6th Annual Expert Awards? Click the link to find out.

Third Quarter Hot Shots
 

Having problems asking a question? Have a general question about Experts Exchange? Let us know!

 
Time Tested MS Visual C# Solutions: 1 - 25 of 2185
 
Hi all This might have been answered before, but I have been unable to find an answer I can use, so here goes.... I have a DataTable filled with data from an Excel file. Using a for-loop...
How to get the Project folder path in C#. Example: C:\Documents and Settings\Colorsit123\My Documents\Visual Studio 2005\Projects\Demo\Demo
Hi, I am looking into "OOPS" - Object Oriented Programming Concepts. I have the following definition for "Abstraction". Can you please explain / justify me this concept in simple terms ? Ev...
I need a timer to run as my progress bar runs, I want it to increase one second at a time. here is how I have tried to do it so far, but im missing something, please help. Thank You. Nu...
This is probably fairly simple, but I cant find an answer for this question anywhere. I have a standard cheapo usb webcam and I need to capture a bitmap image from it. I have found quite a ...
Gridview properties SortExpression and SortDirection not maintaining values when using paging... 1) I am manually binding to a MySQL database 2) Therefore I am manually handling the firing...
Hello, I need to save the text (string) file. Can I use default Microsoft Save to File dialog? If yes, how? How should I implement it? Thanks
I am trying to find an easy way to copy files in C# across servers/domains/account.  I assumed that this would be an easy task until I started researching it about 4 hours ago.... The basic...
My ASP.net application resides on a server with  central  time. from the same server I am pushing a web service request to another application. Now in that web service I am asked to send time ...
I have an object that I call MyObject.  Its parameters are MyObject.Id, MyObject.Name.. etc. I create a List of this Object. List<MyObject> myObjectList = new List<MyObject>(); I would lik...
Can some one help me convert let say "14.5" into "14,5" and vice versa using Globalization. I tried what I could in vain and finally I had to use String.Replace which is not a viable solution ...
I iterate through a List<> of objects. If a certain condition is met in an object I would like to delete it from the List<>. How is best to do that?
I am trying to execute the following, but it doesn't write anything to the database. Can anyone help me debug? I get no error message. It just does nothing.
Hi, I am writing a WPF application that scans a folder and then shows latest image in it. Its all fine when UpdateImage function is called on click of a button. But If I call it from File...
I have a file browser that will select an excel file.  How do I import it into the application?  Do I open and read each line, one at at time?  Can someone post some code? Thanks
FernandoSoto, As I mentioned in another thread. I follow your code to upload a file to ftp server by webclient at my web application. I pass a file path to the function you posted. I got a ex...
i have a string variable in which i get values from 3 different  date  variable and make it look like a date eg      validdate = requestdate1.month + "/" + requestdate2.day + "/" + requestd...
Using C#.NET VS2005, I have a background worker object. I want to use it to update GUI componets (say a textbox). However, I want to pass that textbox a string parameter from the DoWorkEventHa...
I need to pass a null to Parameter guidNumber2.  Any ideas?
Can anyone point me to some C# code that I could use to create my own PDF viewer.  I would like to be able to parse out a PDF document through code,  not using some already existing control.  ...
Hi,     I would like to get some input from the experts out here....I am trying to make a case for our organization to switch from C++ to C# .NET, so I would like to know what are some of the...
I have a simple C# App with a Form. How do I programatically change the color of the Title bar? [NOTE: If this means changing all nonclient area color then that is ok too.]
I have a web service that retrieves a data table and returns the datatable.  when I used a sql connection in the web service,  I could output the SQL to XML fine.  but now I need to do it prop...
I am exporting some double datatype value to an Excel file format (using C#, see attached code snippet). In this case, its two numbers 2.11 and 2.10. Problem in Excel is, the number is dis...
Hello experts. I need help with implementing drag and drop from a listview to a tree view, does anyone have a example. Im using C# WinForm in VS2005. Thanks,