Advertisement

Experts have come up with some helpful tips for getting a solution to your problem fast.

 

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

 
Top MS Visual C# Solutions: 251 - 275 of 629
 
In csharp form, how can I disable X, close or exit form button? I can find how to remove the minimize and maximize buttons, but i would like to do the same for the close button. At the very le...
I am wanting to use some of my sql routines from the asp.net site and utilise within a c#, WinForm. did a cut and paste (as attached) -- but the compiler is complaining about SqlDataSou...
New to C# programming.  Need help to write a dll component for changing the database connection to a ODBC system data source name.  Using SQL Server 2005 and Visual Studio 2005 Your help is...
I'm using an AJAX.NET Accordion control, with a requirement that a DROPDOWN box be *inside* the header of the Accordion.   PROBLEM: However when you click on the dropdown, the Accordion Hea...
How do I convert a binary hex string representation to type binary. basically I have string hexString = "0x0001B" What I want is Binary b = (hexString)'To Binary'; Whats the easie...
i have a shopping cart in form of a user control and it sits at the top of the PRODUCT page(product.aspx) now when a customer selects the a product, it updates the user control in another p...
Hi experts, I have a problem I want to open compobox programmatically for reproduce user click on the control. I use c# and net 2.0 compact edition
If a class has a public field that you do NOT want serialized, what must you do to prevent it?   Choice 1   [NonSerialized] public int x;   Choice 2   [StreamingContext(Serializatio...
Hello all ye smart brainy people out there.... Usually I'd spend days trying to find out how to do something but I reckon the issue I am having is more of a stupid mistake or something. ...
Good morning. I'm trying to connect a SQL Server 2005 Express Edition database to a C#.Net program.  However, the connection won't go through.  I've already checked with the DBAs, but the u...
Hi I need to 1. Read a text file (a.txt), it has the data: Peter Tom Edith (One line one name) 2. Add a number to them Peter 132 Tom 253 Edith 455 (one line one name + number) ...
hi, I have a stored procedure returning 2 columns (FieldName, FieldValue) I want to populate a combo box with the FieldName being visibile to the user, and when selected it would grab the fie...
I am not sure why my variable is not getting the right value consistently.  It seems it is often failing to get a value or gets a previous value.  I am testing a login page; on login the authe...
Instances of the class (written in C#)  must be placed into the session of an ASP.NET application deployed to a server cluster with distributed sessions.  What are the minimal requirements for...
I'm making content changes to a MS Word 2007 document in my C# code. When I'm done with the changes I need to be able to save the modified document under a new name. How can I do that? -E...
I am working in a web application. The requirment is such that when user hit my web page it should detect whether .net framework is installed at user machine or not. If installed which version...
1) I have created 2 user controls (2 different solutions) 2) Namespaces are "MyUserControl.UserControlA" and "MyUserControl.USerControlB" 3) I want to create one single assembly "MyUserContr...
I've got the following method that is throwing an error...         public static void Download(String strFileName)         {             FtpWebRequest ftp = null;             Stream ...
How do I reference label objects inside of an update panel?  Below is some sample code from a project I am working on.  What I am trying to accomplish is a point  rating system.  There are two...
Experts i am so stuck with this error. I have increased the connection time out as well to about 20 sec. But there is no bail out of this error.Here is the stack trace on the error:
How to get the names of all printers in a network (intranet) in a asp.net, c#.net  web app. I have used the following code. but It only returns the name of printers installed on the server ...
Dear EE I am using VS2008 with C#, Desktop application. I am using Data Grid In the dataset I attached to the data grid, I said that a specific column must be unique. Therefore, in data en...
I have an extensive and complicated print system based on GDI plus, I want to be able to control where the output of the application goes as it has to have the capacity to print to multiple pr...
Hi, I am currently binding my typed-dataset to a grid using VisualStudio 2005.  One column in my dataset has type boolean, but when diplaying this column on the grid, instead of displaying ...
Hi, I keep on getting the "Object reference not set to an instance of an object." error for the code below on this line: pallets[count][0] = Convert.ToInt16(rec.Field1.Text); I've deb...