"Lance Geeck" <(E-Mail Removed)> schrieb
> I have many items that I lifted off from Microsoft's website several
> years ago. These samples were in VB6.
>
> I now want to convert an application to VB.NET. I am getting an
> error that says "As Any is not supported in a declare statement"
> during the automated
> Conversion process.
>
> Some examples of this are:
> [...]
Replace As Any by another data type. You can overload declarations to use
different types.
See also
http://msdn.microsoft.com/library/en...indowsAPIs.asp
and the linked topics, like
http://msdn.microsoft.com/library/en...lfunctions.asp
and
http://msdn.microsoft.com/library/en...marshaling.asp
Be careful when strings are returned byref: Use a stringbuilder instead.
--
Armin
How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html