-
July 20th, 2007, 07:29 PM
#1
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 .
-
July 20th, 2007, 10:02 PM
#2
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.
-
July 21st, 2007, 02:38 AM
#3
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
-
July 21st, 2007, 03:48 AM
#4
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|