Mar 23, 2006 #1 ChadJK IS-IT--Management Nov 10, 2005 14 US How would this snippet of VB code be done in C# Code: Private Const SRCCOPY = &HCC0020
Mar 23, 2006 #2 NeilTrain Programmer May 27, 2003 275 US you need a type, I dont think that line would work in VB.Net, perhaps VB 6, in which you could have Variant data types in C# it would probably look like this, and I am guessing its a string Code: private const string SRCCOPY = "&HCC0020"; remember that C# is case sensitive. Upvote 0 Downvote
you need a type, I dont think that line would work in VB.Net, perhaps VB 6, in which you could have Variant data types in C# it would probably look like this, and I am guessing its a string Code: private const string SRCCOPY = "&HCC0020"; remember that C# is case sensitive.
Mar 24, 2006 1 #3 chiph Programmer Jun 9, 1999 9,878 US Code: private const int SrcCopy = 0xcc0020; ____________________________________________________________________ If you want to get the best response to a question, please read FAQ222-2244 first Upvote 0 Downvote
Code: private const int SrcCopy = 0xcc0020; ____________________________________________________________________ If you want to get the best response to a question, please read FAQ222-2244 first