Paul,
Have you looked at Adam Nathan's book ".NET and COM - The Complete
Interoperability Guide" from SAMS Press?
Adam has a chapter or two on calling API functions, both from C# & VB.NET,
plus he includes C# declarations for Win32 functions in GDI32.DLL,
KERNEL32.DLL, OLE32.DLL, SHELL32.DLL and USER32.DLL.
Hope this helps
Jay
ByteSize said:
Dear All,
Please, this is not meant to be offensive - but it is a challenge !!!
I have posted on over a dozen so called 'vb.net' expert / blog sites - in
the vain hope of finding a complete, accurate and ACTUALLY FUNCTIONING
snippet to demonsrate a successful api call to CreateProcess() using VB.NET.
So far NO ONE has taken up the challenge - not even MSDN or MS personnel.
I have code that works in vb6, I have dilligently tried to convert to vb.net
/ AND look at the multitude of innacurate / incomplete / unsuccessful
snippets of vb / c# / c++ in the hope of finding why my efforts in .Net
fail - but sadly to no avail.
As far as I can tell, MS has removed the ability for a vb-er to use
CreateProcess in basic now
Please, PLEASE prove me wrong, and point me
in the direction of light and happiness.