| Thread | Last Post | Replies |
|
| Deleting element from xml doc | 21 Oct 2007 11:14 GMT | 7 |
I am stuck trying to apply the following logic to the below xml: <?xml version='1.0' encoding='ISO-8859-1'?> <Collection> <Book Id='1' Locator='Yes'>
|
| LoadLibrary not working on Vista64? | 21 Oct 2007 10:58 GMT | 4 |
I have a class named DynamicLinkLibrary which does this: [DllImport("kernel32.dll")] private static extern IntPtr LoadLibrary(string fileName); protected virtual void Load(string fileName)
|
| custom property editor | 21 Oct 2007 10:08 GMT | 2 |
I would like to create a custom property editor for Alignment. This property editor should open a small form where are 9 small BMPs. when user select by clicking 1 BMP, the bmp should change and be replaced by another one (represeneting the smae BMP but focused/or
|
| Anonymous Method vs. Anonymous Delegate | 21 Oct 2007 08:08 GMT | 3 |
Is there any such thing as an "anonymous delegate"? I understand what an anonymous method is, but I'm unclear of the concept of anonymous delegate (if it is even a valid term to be using). Is an "anoymous delegate" simply an anonymous method used in conjunction with a delegate ...
|
| Need an IStream object for COM, help please! | 21 Oct 2007 03:45 GMT | 3 |
I'm trying to call a COM function from C# The function gets a paramter of type IStream in C++. I've found the type System.Runtime.InteropServices.ComTypes.IStream, however I'm not sure how to create an instance of it to pass as the parameter. Anyone
|
| Invisable Text in Lst Bx & Msg Bk | 20 Oct 2007 23:23 GMT | 7 |
I have written a couple of programs in C# using Visual Studio.NET 2003. Both of these programs have the problem that when they are ran on my Windows XP computer at work items in list boxes and text in message boxes appears invisable. The items are actually added to the list box ...
|
| Custom property editor erase all control properties | 20 Oct 2007 21:03 GMT | 2 |
I have a custom control in which i have a collection property named "Columns". this collection property add/remove column objects. in my Column class i have a property named Alignment which use a custom
|
| Syntax Question (::) | 20 Oct 2007 20:20 GMT | 2 |
I was just going through Resources.Designer.cs and saw this code: internal class Resources { private static global::System.Resources.ResourceManager resourceMan; What is the meaning of the two colons between 'global' and 'System' in the
|
| Console within C# ide | 20 Oct 2007 15:25 GMT | 4 |
Just starting out with C#. In the book I'm using it looks like it possible to get a console window within the IDE it self. But I can't find anything in the book about how they've managed to do this. Is this possible to achieve at all? I'm using VS 2005 with C#.
|
| A simple question about foreach and datatypes | 20 Oct 2007 13:08 GMT | 7 |
Why does not this cause a compile error because a ulong has never been implicitly convertible to byte? ulong[] vektor = {100000,200000,300000}; foreach(byte b in vektor)
|
| UTF-8 std::string to System::String^ | 20 Oct 2007 12:35 GMT | 4 |
I have a std::string which I know is UTF-8 encoded. How can I make a System::String^ from it? I tried UTF8Encoding class, but it wants a Byte array, and I don't know how to get that from a std::string.
|
| Comparing Dataset Question | 20 Oct 2007 10:49 GMT | 5 |
how come unchanged always true even if data changed This code come from my saving button: ============================================ DataSet ds1 = new DataSet();
|
| Question on OO best practices with Foreiqn keys | 20 Oct 2007 10:45 GMT | 4 |
I have pondered this question often and have done it several ways but I am wondering what is the correct OO way to handle this. In my SQL Sever database I have the following tables for example, Member and MemberStatus
|
| How could i change permission on registrykey | 20 Oct 2007 09:21 GMT | 1 |
i need a way to set permission on a registry key where i have got not rights to open it. But i am the owner (administrator). The following code fails on OpenSubKey() with System.Security.SecurityException: Requested registry access is not allowed
|
| Get the smalest number from an int | 20 Oct 2007 08:52 GMT | 1 |
The smalest negativt number that an int can hold is -2147483648; If I in some case want to use this number can I use a property from the int struct or get the value from somewhere else or must I just remember this value.
|