| Thread | Last Post | Replies |
|
| No generalized graphics Path? | 24 Oct 2006 00:16 GMT | 5 |
So theres no way to store state information in the graphics path such as pens and brushes? ;/ Any way to do this that is simple? (maybe a metafile?) I'm trying to describe a button as a "graphics path" but obviously I need so draw with different colors and stuff.
|
| XML serialisation - error reflecting type | 24 Oct 2006 00:06 GMT | 1 |
I'm using XmlSerializer.Serialize method from System.Xml.Serialization on one of my own classes and getting the following error: "An unhandled exception of type 'System.InvalidOperationException' occurred in system.xml.dll
|
| COM DLL in C# | 23 Oct 2006 23:48 GMT | 1 |
Can somebody point me at tutorial or example how to use C# to create COM DLL? (I am using Visual Studio 2005) Thank you. Gregory Khrapunovich
|
| Garbage Collector and Local Data | 23 Oct 2006 23:42 GMT | 3 |
I'm a little unfamiliar with how the garbage collector works in C#. First my example: [StructLayout(LayoutKind.Explicit)] public unsafe struct TestClass {
|
| C# command Line netsh help! | 23 Oct 2006 22:43 GMT | 2 |
I'm using c# to called a command line netsh ipsec static.... and the group policy store it on local even those I used "ipsec static set store location=domain" my question is how do I keep the command line is in the netsh eviroment?
|
| Problem casting a byte[] to a class | 23 Oct 2006 22:23 GMT | 12 |
I'm trying to do a static_cast at runtime in C# and as I understand it, "as" is the keyword to use. Unfortunately, the compiler is trying to do the cast a compilation time. See below. /* TestA.cs */
|
| String.Trim() does not work | 23 Oct 2006 22:20 GMT | 4 |
Ok I have this code in a function, but for discussion sake I will revise it a little bit and make it shorter. The problem that I am having is that trim does not work. void main()
|
| Basic Newbie question | 23 Oct 2006 22:10 GMT | 8 |
I am learning to use C#, having decided to upgrade myself from VB.Net (to which I also recently upgraded a few months ago from VB6). I created a Windows Application and in it a form. I added a label and a button on the form. Then I double-clicked on the button and added the
|
| Is this possible | 23 Oct 2006 21:30 GMT | 4 |
Is it possible to write the following function as a template where "EnumFlags" becomes template parameter T (where T will always be an enumerator with the "FlagsAttribute"). Nothing I've tried works, including use of a "where" clause since T must always be of type "System.Enum". ...
|
| Question about Interfaces and serialization - really simple!?! | 23 Oct 2006 21:05 GMT | 5 |
I know what interfaces are and what they used for etc. Today i am learning about serilization. I know to mark the class "serializable" and implement ISerializable interface, and then implement mthod GetObjectData, etc.
|
| What happens to a reference type in a valuetype struct? | 23 Oct 2006 20:08 GMT | 3 |
I was just curious. I know that a struct is value type by definition, and will be placed on the stack, but what if you have a reference type in the struct, say a string, or an array. Where will that be placed?
|
| Updating a form control from another thread | 23 Oct 2006 19:48 GMT | 2 |
I have a form with a socket which is handled by the beginReceive function. When the data is received it is in turn returned to the window for display. I have done this several times before and the call back is straight forward enough it just seems the way I am doing it is ...
|
| Help with RegExp! | 23 Oct 2006 19:36 GMT | 2 |
i need a regexp to parse some like this <AwordHere> any thing here #$% #@$#@ /./09812 anything </AwordHere> this works for that: <(?<field>\w+)>(?<value>.*)(?<field></\w+>)
|
| Cross-thread GUI call | 23 Oct 2006 18:42 GMT | 3 |
Is it safe to call a GUI control's members directly from another thread. That is, if I launch a background thread when the user clicks a button on my form, can I safely retrieve info from one of its controls on that thread. I assume that behind the scenes the call will occur back ...
|
| C# and Memory-mapped files | 23 Oct 2006 18:23 GMT | 1 |
I'm an old Win32 guy, so I may be completely off-base here, but is there any support for Memory-mapped files in C#? I'm actually trying to get around a limitation with Windows Authorization Manager. Right now, the security information contained in AzMan is either
|