| Thread | Last Post | Replies |
|
| settings.settings values don't load? | 15 Sep 2006 20:00 GMT | 1 |
I've created a new settings file named AppList.settings for a Winform app. In the Program.cs file, I can access values in settings.settings fine. However, when I do this: SettingsPropertyValueCollection propertyColl =
|
| CoSetProxyBlanket equivalent | 15 Sep 2006 19:19 GMT | 1 |
Is there an equivalent of CoSetProxyBlanket in c#? I require it to change the default credentials im using to create a DCOM object. Im getting access denied at the moment. thanks for any help you can offer,
|
| RowState not updating | 15 Sep 2006 18:59 GMT | 8 |
I'm getting really strange behaviour where the data source RowState is not being updated to modified in some circumstances. I place my controls on a form, bind them through a BindingSource control to a DataSet. If I don't do anything to the DataSet other than load data normally ...
|
| How to make Regex.Replace faster? | 15 Sep 2006 18:56 GMT | 4 |
In my case, I have to remove any line containing "0.000000" from input string. In below case, it takes about 100 ms for 2k size input string. Regex.Replace(inputString, ".*0\\.000000.*\n", "");
|
| Converting Datatypes | 15 Sep 2006 18:19 GMT | 12 |
I have in c: WORD calcChecksum(BYTE data[], WORD length) { WORD* i_data;
|
| Question about the word Attribute in attribute class names | 15 Sep 2006 18:02 GMT | 2 |
I am wondering about attributes: in the Framework, they all seem to end in the word Attribute, for example, BindableAttribute. But when you use them, you can either code Bindable(true) or BindableAttribute(true). I don't know of any other classes that work this way. Is this a ...
|
| c# and GDI graphics | 15 Sep 2006 17:18 GMT | 1 |
I had an app i write on DirectX that will nearly always run in a windowed situation. It could also have many instances running at a time and as such to keep the cpu usage down i had a frame refresh sticker ever 32 ms rather than maximum speed. This worked great but then i thought ...
|
| statics & memory | 15 Sep 2006 16:57 GMT | 6 |
We have a C# app that runs on the PocketPC. We are having some odd behavior reported from our users that I have been unable to recreate. It made me start to look at memory issues. One of the appl errors that they get can only come up when a static member variable inside a ...
|
| Server does not exist or access denied. | 15 Sep 2006 16:50 GMT | 1 |
I'm receiving this error when I try to connect to my database (MS SQL 2000) using C#2003. I have Windows 2003 server. I have test the same application in a Windows XP computer and I don't receive that error message. Server does not exist or access denied. I have create a new users ...
|
| Auto-resizing a listview column | 15 Sep 2006 16:02 GMT | 1 |
I've got a listview with several columns, and I'm trying to automatically resize the columns when the control gets painted. I know there are methods for this in .NET 2 but we're not using it yet, so I've gotta get it working the old-fashioned way.
|
| ISynchronizeInvoke and UI Culture problem | 15 Sep 2006 15:54 GMT | 1 |
Hi NG ! I set the CurrentCulture and the CurrentUICulture at the start of my app using this code: string sUICulture =
|
| Drag & drop from IE address bar | 15 Sep 2006 15:46 GMT | 3 |
Hi all; Is it possible to drag an IE shortcut from the address bar, into a page element (eg. textbox, tree control) on a web page? TIA. - JR
|
| [C# 2.0] CustomControl and DrawString (GDI+) | 15 Sep 2006 14:56 GMT | 2 |
I've created a WinForm control and everything is OK except the look of the font on my control. protected override void OnPaint(PaintEventArgs e) {
|
| Type safe access to resources | 15 Sep 2006 14:33 GMT | 3 |
I have added a resource file to my project called "DemoSite1Resources.resx". I have seen an example in VB where you could have type-safe access to the resources in your code like this: btn.Text = My.Resources.DemoSite1Resources.btnCaption
|
| day-difference between 2 datetimes | 15 Sep 2006 13:26 GMT | 4 |
how do I get the difference, in days, between two DateTime classes?
|