>ie.. why will this work in C# but not in vb.net
Because VB has a different way of writing hex number literals - you
use the &H prefix.
Public Const WM_CLOSE as Integer = &H10
Mattias
--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ |
http://www.dotnetinterop.com
Please reply only to the newsgroup.