| Thread | Last Post | Replies |
|
| Which is best for storing strings: .resx or app.config? | 23 Jan 2008 17:18 GMT | 6 |
I've inherited an app that currently reads in hard-coded strings (like error messages) from app.config. It has been suggested that these would be better-placed in a .resx file.
|
| How to make Debug.Assert() behave like a breakpoint in the IDE | 23 Jan 2008 17:16 GMT | 3 |
I would expect that Debug.Assert() would break into the IDE and stop on the relevant line of code and highlight it. But instead I get a dialog asking if I want to abort or ignore etc. How can I get the behavior I expected?
|
| changing access modifier of base method | 23 Jan 2008 16:07 GMT | 17 |
I have implemented an InputBox dialogue, I would like to change the access modifier of the Form::Show method from public to private, but the following code does not do that. What else do I need to do? Thanks. public partial class InputBox : Form
|
| Minimize or restore a window via a small application | 23 Jan 2008 15:51 GMT | 5 |
I have an application that will look at other Windows applications that are currently running. In a listbox I have the names of these applications and their Windows ID. When the user clicks one of the application names in the listbox I want to either minimize or restore that ...
|
| Write ICON data to an xml file | 23 Jan 2008 15:50 GMT | 2 |
I have a structure that contains both 32x32 and 16x16 icons plus some text. I want to write all this to an XML file so that I can recover the icons later in an application. Can someone tell me how to properly serialize the System.Drawing.Icon structure to an XML file?
|
| Print text file to a remote printer | 23 Jan 2008 15:48 GMT | 2 |
Is it possible to print text file to a remote printer in C#? If so, can you tell me how? Thanks, Chronos
|
| problem accessing xml file via stream | 23 Jan 2008 15:31 GMT | 10 |
.NET 2.0 In my code am I trying to access an xml file using streaming. My code compile but I think there is some kind of error in my code...: HttpWebRequest request = (HttpWebRequest) WebRequest.Create( <url to xml
|
| Windows Services and System.Web.UI.Page.Request | 23 Jan 2008 15:31 GMT | 4 |
I am wondering how to handle AbsoluteUri values inside windows services? It seems that the absoluteuri is called from the System.Web.UI.Page namespace
|
| I lose data, when I try to save a loaded DataTable on the click of another button in an asp.net webform | 23 Jan 2008 15:14 GMT | 3 |
Please can someone help me. I am writing a web application, that allows for the upload of an excel sheet into the database. I have an upload button and a save button. The upload button allows for the retrieval of the excel data into
|
| Use PrintDialog to print out formatted HTML | 23 Jan 2008 15:01 GMT | 5 |
I've searched the web but can't find a solution to an apparently really simple problem. My app contains an HTML string and I need to be able to invoke the Print Dialog to print the HTML correctly formatted (i.e. not as raw
|
| creating an Office 2007 template | 23 Jan 2008 13:32 GMT | 3 |
I'm a C# developer, and have been asked to looked into the "best" way of creating a quote template for my business that will allow users, when creating a new document based on my quote, to open a document that has a form with some details (quote number, client, customer contact, ...
|
| Unauthorized Access Exception | 23 Jan 2008 12:52 GMT | 2 |
I am using Web browser control in my application. When accessing webbrowser.document.window.frames[0].document throws an Unauthorized access exception Any one pls help.
|
| how to make a service component with Event(sink) | 23 Jan 2008 12:33 GMT | 1 |
i want to make a service component with Event, the event will be used in C++, C, VB. but i don't know how to make a service compnent with Event, and to use the componet in C++, C, VB.
|
| Creating a Settings Object, strong typed yet dynamic in nature. | 23 Jan 2008 12:11 GMT | 3 |
There are so many 'settings' or configuration options for an application I am building, and it seems the list gets longer and longer as time goes on. Instead of creating a db table named Settings, and creating text/
|
| ListView problem | 23 Jan 2008 10:30 GMT | 2 |
Hi,, I've have a problem using the ListViewItem.Selected property. Let's say that Items[2] has been selected using the mouse on the control. If I then invoke some code doing this
|