Compiler Error when using VB Namespace I get an error when use Microsoft.VisualBasic.CompilerServices: Compiler Error Message: CS0234: The type or namespace name 'CompilerServices' does not exist in the namespace 'Microsoft.VisualBasic' (are you missing an assembly reference?) using Microsoft.VisualBasic.CompilerServices; using System; using Sys... 22 Mar 2010 16:52
Serialization/LINQ Given var myFile = (from file in fileList // Most recent file orderby file.CreationTime descending select new { file.FullName, fs = file.Length }).First(); - What is the easiest way to serialize myFile? (need the XML to show the name/value pair for each value) - What ... 19 Mar 2010 09:19
encoding Hi! Here is some encodings standards 1.ASCII 2.Unicode 3.UTF-7 4.UTF-8 5.UTF-32 In the beginning of the file encoded with Unicode,UTF-8 and UTF-32 is code markers but file encoded with ASCII and UTF-7 does not contains any code markers at all. So why is that not code markers for these two. //Tony ... 20 Mar 2010 10:58
How To Iterate the Hashtable in C# If we write in the same way as above for the hashtable then we would not get the desired values. Hashtable ss = new Hashtable(); ss["key1"] ="india"; ss["key2"] = "bharat"; foreach (object gg in ss) { Console.WriteLine("Key value is " + gg); ... 19 Mar 2010 19:02
Need .Net developer Urgently in Hyderabad. Position: ASP.NET,Silverlight Location: Hyderabad Skills required: Fix application related bugs Develop new enhancements/features Follow the MGSI recommended process Documentation skills 5-7years Technical Background According to last CTC and market standard ... 17 Mar 2010 03:36
Send form windows to the back of -global- Z-order I know there is a function to send child form windows to the back of an app's 'local' Z-order. And there's an easy way to send them to the -front- of the global Z-order. But is there any way to send them to the back of the global Z-order? In other words, place the form windows behind all other currently active w... 17 Mar 2010 15:58
anonymous method Hi! Here is a simple example on an anonymous method that works test.myEvent += delegate(object sender, EventArgs e) { Console.WriteLine("Test"); }; How do I write the anonymous method within the EventHandler I have tried here but this gives compile error test.myEvent +=new EventHandler(Console.Wri... 16 Mar 2010 18:37
IIS Application Pools I'm trying to create application pools in IIS, using the example from http://msdn.microsoft.com/en-us/library/ms525598.aspx. The problem is that this example is based on Virtual Directories. When I try to create an application pool in C:\Inetput\wwwroot\scripts\myapp, the Invoke("AppCreate3", param) fails. Any... 16 Mar 2010 18:37
how to print text onto which control "Christian Hubert-Hugoud / weabow - Xtrem7 - Groobax" <nospam(a)weabow.com> wrote in message news:eeH6foPxKHA.4752(a)TK2MSFTNGP04.phx.gbl... Hi all, I can't manage to write some text onto a control, using WPF. I've found some code on the web using DrawString. It doesn't work (?) with me. I'm making m... 16 Mar 2010 09:08
LINQ - Picking the most recently created file Given a list of files, how can I specify the 'where' in a LINQ query to return the name of the most recent file name? e.g. var queryLatestFile = from file in Directory.GetFiles(@"c:\mypath", "*.JPG")) where file.CreationTime== ?? select file.FullName; Thanks for your help.... 16 Mar 2010 13:58 |