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.

 
Time Tested MS Visual C# Solutions: 76 - 100 of 1465
null
How to hide / show taskbar using C# ?
I need a c# function that would check for the string length to be 16 characters. If the length is less than 16 chars, it would pad it with leading zeros and make it 16 characters long.
In web app in the current web page I have destination link to text file on server, it's not web server. I have to create code to read from that text file, probably save file text to stream and...
How do i convert a IntPtr variable to a string then convert the string back to IntPtr?
I have a DataView that displays items databound from a SELECT query. ID,Description,Date I want to create a hyperlink on the Description, so it posts back with the ID as part of a URL. ...
I am trying to display a PDF in a windows .net C# application. Here is the code that I am using: Acrobat.CAcroApp app = (Acrobat.CAcroApp) Activator.CreateInstance(Type.GetTypeFromProgID("...
I'm working on a program that takes several inputs, does some calculations and then plots a graph.  The inputs are handled with a KeyPress event.  All of the textBoxes are in a groupBox contro...
hi, iam trying to open up an excel sheet from a batch file using my c# code. I did this by opening the command prompt and reading the batch file contents and writing on the cmd window to ex...
Hi I have a backend databae that is connected to sql server and i have a front end datagrid connected to it. what i want to do it retrieve my images from the database and put them in the imag...
I have a stored procedure in SQL Server 2005 to insert record and it accepts few input parameters. I want to execute this stored procedure from C# (.NET Framework 2.0) code.
I am trying to format a textbox when someone leaves to put it in a currency format. I am getting this error: cannot convert from 'string' to 'System.IFormatProvider'         public string...
Hi Does anyone have any experience of opening word documents and saving them as text files? Or just extracting the words (not the formatting etc). I don't want to install word on my serv...
I am reading from PDF's from a SQL Server 2005 Database. I have a method I modified from its original "Write to file" style to "Write to Stream" style, as i dont want the data to be written...
Hello Experts, I am doing a C# project. I am retrieving a part of an XML page and I need to store it into a SQL2005 database. I think storing the XML in a dataset and using a data adapter...
Which is more efficient in case of complex objects? If the objects are large, are they copied in either case, or are references used? foreach( ComplexObject obj in complexObjectList ) {  ...
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...
I am trying to get my C#.NET program to send an email with code which used to work.  I do get warnings that the code is outdated.  Here it is. Can anyone find the problem or simply have wor...
how to add rows to bounded datagridview c#(windows form) rite now iam adding the data to the underlying datatable .so my question is is their any other way of doing and what happens if i a...
using a grideview format to display databound information...this is working fine etc. what I am wanting to know is how do I change a gridview row dynamically -- I understand about the gener...
I'm taking a string number and need to write into SQL database. Request.Form["amount"] ... is "22.85" Convert.ToDecimal(Request.Form["amount"]) ... is "23" I'm passing to SQL, using "SqlDbT...
Event Type:     Warning Event Source:     W3SVC Event Category:     None Event ID:     1011 Date:          10/28/2007 Time:          9:09:05 AM User:          N/A Computer:     <Comp> Description: A process serving application ...
How to upload realy big files using FileUpload control C#.NET 2.0
I am building an editable GridView for an ASP.NET 2.0 web form, and would like users to be able to add, edit, and delete as many rows as they like before saving the contents of the grid to a d...
I can retrieve an OLE Object from Northwind database and change it to a c# Bitmap object. I used an offset of 78 when reading the byte array. (see code snippet) But I can't convert the OLE...
Hi, Is there anyway I can have a function that can covert from a string to a secure string? SecureString SecurePassword = new SecureString(); e.g something like: SecureString Sec...