Menu od child windows Hi! Is it possible to put menu od child window when using MDI? ... 14 Apr 2010 13:20
About Application Security(Code Access Security). It dosn't show correct output Hi I have the program below which is from Microsoft Press exam 70-536 When I run this program I get this output C:\>listpermissions.exe System.Security.Permissions.FileIOPermission: True System.Security.Permissions.EnvironmentPermission: True System.Security.Permissions.FileDialogPermission: True System.Securi... 14 Apr 2010 11:04
Uploading file to UNIX host Does anyone have code to upload a file from a Windows PC to a Unix Host? I tried using the following code and get an error saying 'Unable to cast object type 'System.Net.HttpWebRequest' to type 'System.Net.FtpWebRequest'. This code works when uploading to the internet but not to a Unix host computer. The ftp... 14 Apr 2010 13:20
populate a DataSet via a LINQ query (Linq to XML) Is there a way to populate a DataSet via a LINQ query? (Linq to XML) Instead of; DataSet ds = new DataSet(); ds.ReadXml(myfile.xml, XmlReadMode.InferTypedSchema); dataGridView1.DataSource = ds.DefaultViewManager; dataGridView1.DataMember = "myNode"; Anthony ... 19 Apr 2010 02:15
WPF-style code Hello there, starting from this minimal XAML <Window x:Class="Acme.Graph.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="MainWindow" Height="350" Width="525"> <Grid> <Grid.Colu... 13 Apr 2010 16:13
How to do update sql in LinQ Hi, Haw can i do this in linQ: UPDATE Table SET Field1="Value" WHERE idTable==5 Thanks ... 13 Apr 2010 12:50
[Conditional("DEBUG")] attributes Is there anything similar to [Conditional("DEBUG")] attributes in csharp (http://msdn.microsoft.com/en-us/library/aa288458(VS.71).aspx) where I can supply a variable instead of "DEBUG" or other define. I have few methods which I want to call only when a global variable is true. something like if (myGlobalFl... 13 Apr 2010 04:01
CRT thread-safe when called from C-Sharp Hi, Background: Let's say, there's a DLL - A.DLL (native code) that exports function Foo(). Foo() calls some C-runtime library functions. Some other native code (for example, in an EXE) calls Foo() from multiple threads. There're 2 requirements to prevent multi-threading related problems inside CRT: 1. A... 13 Apr 2010 08:22
does not contain a definition for 'PolicyValidate' and no extension method 'PolicyValidate' in the .ASPX i have <td> <asp:Panel ID="Panel1" DefaultButton="btnNewPolicy" runat="server"> <asp:TextBox ID="textPolicyNumber" runat="server" MaxLength="10" /><br /> <asp:Button ID="btnNewPolicy" runat="server" Text="Get Forms" OnClick="lnkN... 12 Apr 2010 20:23
Marshalling C# Strings to VC++ 6.0? Hi Scott! I'm having difficulty marshalling strings in a C# COM server (VS2008, .NET Framework 2.0) back to a VC++ 6.0 client application. The C++ application wants to consume a single byte per character string, but the C# application is sending it back as a two byte per character string. Fundamentall... 13 Apr 2010 10:36 |