Advertisement

Over 40 Experts attended the first Annual Core Conference! Take a look at what happened throughout the week...

2008 Core Conference

 

Welcome! If you have any general questions about Experts Exchange, feel free to ask me.

 
Time Tested C# Solutions: 176 - 200 of 5886
 
Hi! I try to convert UTC Data into UTC int in C#. It's not hard in Java using new Date(Date.UTC( But I can't figure out this in C#. Can anybody help me? PLS ;)
How do I add a line to the beginning of an existing text file?  I am using the following code, which appends to the end.  I'd like to add a line to the beginning, followed by a carriage return...
Need anexample of how to encrypt and decrypt MD5 in a c# web app
C# .NET 2.0 WINDOWS APPLICATION or web SERVICE ONLY!!!! Need to export a DataGrid to Excel without using Excel COM SHTUFF or WEB/Http Response ! I have seen ALOT on how to do it with a resp...
Hello, I added a ListView control in a form in C# with 1 column. How do I change the color of the column header from the traditional gray to something else? How can I also change the col...
How can I create a IntPtr to a byte[] array?
I have this sturcture in SQL SERVER 2005. Table Name- Categories. CatID       LangID    EngID      OwnerID   SubOwnerID      categoryName        Show      OrderBy       PopRating 1     ENG     1     ...
C# VS 2008 Windows App - Trying to do a wildcard delete of numerous files or directories.                 System.IO.File.Delete(@"c:\wtemp2\*.*");                 System.IO.Directory.Delet...
Hello all C# Gurus, I am a newbie to C#. I have a user control with a public event declared.  This event has some code on the parent side.  When I use this usercontrol (inherit) on a for...
I have two buttons on a windows form. When I click one button, I want to disable both of the buttons but changing the text's color of the button I have clicked (as to differentiate the button ...
Does anyone have any code that will see if it can connect the internet.  What I want to do is see if there is an internet connection.  If there is one a button is visible. if there isn't one t...
Hello, I've a problem with C#. I've created an Console Application but I want that the application starts in background without any windows and if is possible hiding it's process. How I can ...
Hi there I am developing in .net 2.0 and using Master Pages.  I have some code in the code-behind page of the Master Page that dyanmically creates an onload event, like so : body.Attribu...
private void cbo_Country_SelectedIndexChanged(object sender, EventArgs e)         {             // create an array of provinces             WebSUtil.StateProvince[] stateprovinceArr;  ...
Project - Properties window in C# 8.0 contains "Application Settings" tab. How can I use them in code? For example, I have some Open File dialog in the program and I add string InitialiDirecto...
Afternoon everyone, My department and I have been really struggling lately with server certificates and specifically bypassing trust errors brought on by the fact that our certificates are ...
Hi all, I have an .NET EXE file . I want to find the file created date and modified date in C# application. Can we do it through reflection or with IO stream? Thanks Adib
hi,     I have a datagrid with about 10 columns in it.Now i want to import the values in excel file to datagrid. scenario : 1-----There are only 5 columns in excel.So i want to match ...
I have downloaded a sample asp.net app that uses a windows service.  I am trying to install the windows service but get the error "cannot start service from command line or debugger"  - the se...
hi, i am new to .net and im working in c#. im trying to make a windows application. Im trying to populate a ComboBox setting its display member and value member from a database, but im tryin...
I am using a text box to capture a percentage value.  Example.   .95676 I am using the following code to parse the string into a floating point number. string pctValue = txtPctValue.txt  /...
I have a dll made in delphi. I initialize the method using the [dllImport] attribute and it gives no problems. I call the method in a loop, after checking certain criteria, the method is call...
Hi, I'm trying to store a DateTime value (obtained using DateTime.Now), in a SQL table.  The column is a DateTime type. I'm sure this should be simple, but I am having absolutely no luck...
Hey Guys, I have GPS Device in my mobile phone, I get the following data from the device. What is the best and most effcient way to parase the GPS Strig to get Lat and Lng? $GPGGA,04014...
On one of our sites, we're hoping to implement a feature that I'm not sure how to implement. It's ASP.Net 2.0, using C#. Inside the Master Page, there's an image not set to anything. Inside...