Where have all the vb.Net experts Gone ???

  • Thread starter Thread starter Guest
  • Start date Start date
Many thanks. I have seen similar and just oh so wish MS would provide a similar example for vb.net

The library I was referring to is written in C# but you can compile it into
a .dll and then just reference it and call it from VB.Net, so there's no
need to convert it. Let me know if you want it.

--
Chris

dunawayc[AT]sbcglobal_lunchmeat_[DOT]net

To send me an E-mail, remove the "[", "]", underscores ,lunchmeat, and
replace certain words in my E-Mail address.
 
¤ Dear Paul,
¤
¤ I could give you the very long story as to why I need to start interactive apps from a local system service - but lets just say I do, because I do - don't forget that it is a VERY LARGE WORLD OUT THERE, and problems DO COME in varieties. This is my problem for real. Now, what was that you said about a possible solution to the problem as posed ?
¤
¤ Many thaks,
¤ Paul.

Actually my implication was to "find another solution". ;-)

My concern would be that at some point in the future this capability might be inhibited by .NET or
the OS for security reasons.


Paul ~~~ (e-mail address removed)
Microsoft MVP (Visual Basic)
 
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.
 
Back
Top