| Thread | Last Post | Replies |
|
| reference type | 01 Nov 2006 00:21 GMT | 4 |
i understand that in csharp "string" and "object" are reference type... For e.g. in this case myString is passed to a method and it changes the value of the string.. if string is a reference type, isnt it passed to the method by
|
| Datagrid -Scrollbars , Freezing rows | 31 Oct 2006 23:50 GMT | 1 |
I'm using Visual studio 2003. I was wondering if there was a way to freeze the first 2 rows of a datagrid. So if the user scrolls to the last datarow is there a way for the user to still be able to view the first 2 rows? Something like Excel's freeze rows..
|
| Display PDF file in a Winform app | 31 Oct 2006 23:46 GMT | 7 |
I need to display PDF documents in my vs2005 winform app. What are my choices? I can't seem to find a 3rd party PDF viewer control? Is Adobe ActiveX control my only choice? Thanks.
|
| Unmanaged code | 31 Oct 2006 22:13 GMT | 5 |
I've got a DLL from a 3rd party vendor and they wrote the DLL in C++ so I can't just easily add a reference to it. How do I add that dll, to my C# application? Any idea, examples?
|
| ADO.NET explanation of deleting rows from DB please? | 31 Oct 2006 20:17 GMT | 2 |
I want to delete rows from my database. So I download them to a dataset, and then discover the following. This does not work: dataset["tablename"].Rows.Clear();
|
| Creating a list of objects with unique identifiers | 31 Oct 2006 20:16 GMT | 1 |
I need some opionions on an issue here... Suppose I want to keep a collection of objects, each need to be uniquely identified by a number. This number has no meaning as long as it's unique, so it should be automatically generated for each new
|
| Is this an example of Polymorphism? | 31 Oct 2006 20:12 GMT | 1 |
I was reading about the provider model and found that providers have a definition, the contract, that all provider implementations must have. Is this an example of polymorphic behavior because there is a definition (either an abstract class or an interface) and each
|
| locks within locks | 31 Oct 2006 20:10 GMT | 3 |
I have a question concerning nested locks. I just noticed that I have an object declared in my parent class that I use as the lock. But what I noticed is that in one of the childs methods, I lock that object, then while still in the critical section I call one of my inherited
|
| IEnumerable<> won't work | 31 Oct 2006 20:04 GMT | 15 |
Using VS 2005. I got an 'IpForm' class and an 'IpFormCollection' class, containing IpForm objects. To iterate through IpFrom objects with foreach, the class is implemented as such: public class IpFormCollection : IEnumerable<IpForm>
|
| How to force ExcellApp.Quit() when it's actually called? | 31 Oct 2006 20:03 GMT | 4 |
I load the contents of an excel sheet into a dataset via the excel object library (couldn't get the #$%#$^ oledb/ado route to work - #^$%&^%$ connection strings... grrr.... ) Anyway, after I get the sheet's contents into my dataset, I'd love to
|
| RegEx to find a word not enclosed in paranthesis | 31 Oct 2006 19:31 GMT | 1 |
I have a text and I need to find a Word that are not enclosed in paranthesis. Can it be done with a regex? Is someone could help me? I am not familar with regex... Example looking for WORD:
|
| How do I show/hide columns in ListView? | 31 Oct 2006 19:29 GMT | 1 |
what's the trick in showing/hiding columns in ListView's Details view mode? I can change a columns width to 0 and it effectively makes it disappear but then you can actually resize the column to bring it back into view. Is there any way to disable resizing for just that one ...
|
| How to cancel a copy selection in Excel? | 31 Oct 2006 19:17 GMT | 3 |
Does anyone know how to cancel the selection of a block that has been copied programmatically using C# and Excel Interop. This is my current code: rng=XLApp.get_Range("OrigRows",m); //selects the
|
| RegEx to find a word not enclosed in paranthesis | 31 Oct 2006 19:16 GMT | 4 |
I have a text and I need to find a Word that are not enclosed in paranthesis. Can it be done with a regex? Is someone could help me? I am not familar with regex... Example looking for WORD:
|
| How do you handle clipped content in custom user control? | 31 Oct 2006 19:10 GMT | 2 |
IF I am making a custom user control which draws stuff that might exceed its boundaries, can I get the user control to handle the scrolling for me? The AutoScroll property doesn't seem to be doing it. Do I have to set some special Size so it knows it's supposed to scroll?
|