Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Code Samples & Tips > Additional Libraries
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Additional Libraries Users contributed libraries.
This sub-forum is only available to licensed users.

ExitWindows library

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-16-2008, 09:58 AM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default ExitWindows library

A tiny library, with source for merging, requested by Linecutter that lets you shutdown or reboot your PC. Desktop only but .NET 1.1 and later.
Attached Files
File Type: zip ExitWindows.zip (2.2 KB, 187 views)
Reply With Quote
  #2 (permalink)  
Old 10-16-2008, 05:18 PM
LineCutter's Avatar
Senior Member
 
Join Date: May 2007
Location: Daarsit
Posts: 161
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Thanks

I'll start work later tonight (unless the computer keeps shutting down every time I create a bug in the program ).
Reply With Quote
  #3 (permalink)  
Old 10-30-2008, 05:19 PM
LineCutter's Avatar
Senior Member
 
Join Date: May 2007
Location: Daarsit
Posts: 161
Awards Showcase
Beta Tester 
Total Awards: 1
Default MyTurn 1.0 beta

As promised, freeware, open source & liable to lock you out of the house for the night if you aren't careful!

The source code, dlls & compiled exes are in the zip. There's even a ReadMe type file.

Make sure that you have an admin account that this is not running in!

I'd be interested in bugs, suggestions for improvements, posting of improved versions & feedback about which assumptions I've made about Vista (in which this probably doesn't work).

If it all goes pear shaped the registry entries are pretty obvious in the source code.

I've updated this a little, so have moved it to "Share your creations"

Last edited by LineCutter : 11-04-2008 at 10:07 PM. Reason: Version 1.1, in a new place.
Reply With Quote
  #4 (permalink)  
Old 02-15-2009, 01:12 PM
JJM JJM is offline
Senior Member
 
Join Date: Apr 2007
Location: France
Posts: 150
Default

Hello Agraham,
I don't understand how to use ExitWindows on my computer which runs under XP.

For example if i write

Sub Form1_Close
If Msgbox ("Stop ?" Titre, cMsgboxYesNo,cMsgboxQuestion) = cNo Then
Form1.CancelClose
Else
ExitWindows.New1(0)
End If
End Sub

If i use '0' I log off.
If I use '1' or '2' or '5'(1 +4) or '6'(2+4) nothing appends. Why?

Could you help me.

Best regards

JJM
Reply With Quote
  #5 (permalink)  
Old 02-15-2009, 01:42 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Probably your program is not running with permission to shut down the computer. It needs to have administrator privileges to do so.
Reply With Quote
  #6 (permalink)  
Old 02-15-2009, 05:42 PM
JJM JJM is offline
Senior Member
 
Join Date: Apr 2007
Location: France
Posts: 150
Default

Thank you Agraham,

but I don't understand because I am the administrator!!!

Best regards

JJM
Reply With Quote
  #7 (permalink)  
Old 02-15-2009, 05:55 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Quote:
Originally Posted by JJM View Post
but I don't understand because I am the administrator!!!
I'm sorry, but in that case I don't understand either!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Door library (Beta) - Special library Erel Official Updates 60 01-13-2011 11:23 AM
Merging Outlook library and Phone library Erel Official Updates 11 09-15-2010 09:22 AM
PhoneticAlgorithms Library (ex-StringComparison Library) moster67 Additional Libraries 10 11-11-2008 07:46 PM


All times are GMT. The time now is 06:30 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0