hello. please i would want to know how i can communicate with the system and find the system's present status such as logging off, shutting down, etc. vb codes would be most appreciated. thaNKS

In visual basic 6.0, if you have a form displayed it will recieve these events, and how you interpret and intercept them is through the query unload event of the form. As for the OS's status there is a whole lot more information than that, that you can acquire. Look into the application wizard and have it create an about form for you if you are interested (at least I think it is the about form???).

Good Luck

what you need? the code of shutdown, log off etc?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.