vb.net api
In vb6 i could use api functions to say reboot a machine or open a word doc from a VB app.
In vb.net how do i do those things as it has changed. There are no api commands now .
[186 byte] By [
jagguy] at [2007-11-20 9:28:40]

# 1 Re: vb.net api
Who said there are no API commands? There are API commands still available using DllImoprt.
However, some of the tasks have been made quite easy. You can now use Process Class instead of shell execute to open a Word file or Restart the system.
# 2 Re: vb.net api
In casae you want to open the word doc and make modifications on it, I also replied with code on your VBF thread. :)
http://vbforums.com/showthread.php?t=479949
# 3 Re: vb.net api
Shuja is correct, as always :) The API is still around, it must be. It is just the whole implementation of it that has changed, and the fact that .NET has built in many of those APIs already.
You can also have a look at this article, comparing VB 6 and .NET 's way of implementing the API :
Discovering the API Using Visual Basic 6 and Visual Basic .NET (http://www.dev-archive.com/vb/gen/vb_general/ideincludingvisualstudionet/article.php/c11981/)