Help an Api beginer (please...) 
Author Message
 Help an Api beginer (please...)

Hi,
    I don't know if this is in the right group, but it does concern VB 5.0

My Problem:
    I'm using a book called VB 5 in 21 days, to learn the basics of VB5, my
OS is Win NT 4.0. However, when I come to the chapter on Api's, I'm supposed
to write a program that shuts down windows. I follow the book to the word,
but it doesn't work.

The point:
    Could somebody please tell me if Win NT has different Api's to say Win
95 or 98. If so, does anybody know of a good book that covers some of them.

Any help would be greatly Appreciated.



Mon, 01 Jan 2001 03:00:00 GMT  
 Help an Api beginer (please...)
Dan Appleman's Programmer's Guide to the Win32 API

Dan Appleman is one of the authorities on the API.



Quote:
> Hi,
>     I don't know if this is in the right group, but it does concern VB
5.0

> My Problem:
>     I'm using a book called VB 5 in 21 days, to learn the basics of VB5,
my
> OS is Win NT 4.0. However, when I come to the chapter on Api's, I'm
supposed
> to write a program that shuts down windows. I follow the book to the
word,
> but it doesn't work.

> The point:
>     Could somebody please tell me if Win NT has different Api's to say
Win
> 95 or 98. If so, does anybody know of a good book that covers some of
them.

> Any help would be greatly Appreciated.



Tue, 02 Jan 2001 03:00:00 GMT  
 Help an Api beginer (please...)
Hi Ryan,

On NT, you must have the correct security privilege to shutdown the system.
There are a number of KB articles on this topic.  Here are two.

HOWTO: Shutdown Windows NT, Windows 95, and 98 from VB Code
Last reviewed: July 3, 1998
Article ID: Q161136
http://support.microsoft.com/support/kb/articles/q161/1/36.asp

PRB: ExitWindowsEx API Does Not Reboot Windows NT
Last reviewed: June 16, 1998
Article ID: Q176695
http://support.microsoft.com/support/kb/articles/q176/6/95.asp

Mike

Quote:

>My Problem:
>    I'm using a book called VB 5 in 21 days, to learn the basics of VB5, my
>OS is Win NT 4.0. However, when I come to the chapter on Api's, I'm
supposed
>to write a program that shuts down windows. I follow the book to the word,
>but it doesn't work.



Tue, 02 Jan 2001 03:00:00 GMT  
 Help an Api beginer (please...)
Would you care to post the ISBN??
It would make my life at lot easier...

Thanx in advance

Woxpro



Thu, 11 Jan 2001 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. PLEASE HELP, PLEASE HELP, PLEASE HELP, PLEASE HELP, PLEASE HELP, PLEASE HELP, PLEASE HELP,

2. BEGINER NEEDS HELP PLEASE...

3. Beginer help with timers please

4. Beginers Registry Q's with the API's

5. PLEASE , ADO Documentation for Beginers

6. Can anyone HELP me PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE

7. API help: The Kamikaze API Guide - please read

8. API callbacks - need help / example code - PLEASE PLEASE!!!

9. PLEASE HELP PLEASE HELP PLEASE HELP

10. Beginer NEED HELP.

11. beginer in q basic-help

12. Help with a DB beginer

 

 
Powered by phpBB® Forum Software