June 26, 2016
Hello everyone my name is Maurizio
And my problem and this: in a Userform I inserted three OptionButton and a button.
Now the purpose of this project would be to be able "Stop; Ri Start, Suspend, and disconnect my PC" Everything Leveraging the Windows API.
Now I my I tried to create this little program that will send Volenteri, But I can not get what I want because: I currently any button press, I just log off.
For here there is anyone of you a rough idea of how to succeed in ottebere everything else Thanks
October 5, 2010
The Shutdown and Restart buttons were mis-named in the form designer so I fixed that.
I also Grouped the 3 x radio buttons together.
In your CommandButton4_Click() sub you don't need to use .Value when referencing the value of the buttons, the buttons are only ever true or false.
Try the attached workbook.
June 26, 2016
Hello Philip Treacy Thanks for Your Support, and very nice what you will study it with me Submitted Warning.
Even itself still is, the True in the Meantime I had already solved, just that I know If I can never dare Put in My Finite projects in these types of Forum.
You know I would never offend anyone!
Thank you for your Involvement Sincere greetings from A.Maurizio
Most Users Ever Online: 57
Currently Browsing this Page:
Frans Visser: 210
mey tithveasna: 71
Anders Sehlstedt: 47
Guest Posters: 1
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea
Moderators: Genevieve Tupas