Click here to Skip to main content
15,890,336 members
Home / Discussions / Windows Development
   

Windows Development

 
GeneralRe: VB5 on WIndows 10 Pin
MatthysDT20-Aug-15 20:37
MatthysDT20-Aug-15 20:37 
GeneralRe: VB5 on WIndows 10 Pin
Eddy Vluggen20-Aug-15 21:41
professionalEddy Vluggen20-Aug-15 21:41 
GeneralRe: VB5 on WIndows 10 Pin
Wombaticus20-Aug-15 21:55
Wombaticus20-Aug-15 21:55 
GeneralRe: VB5 on WIndows 10 Pin
Eddy Vluggen20-Aug-15 22:05
professionalEddy Vluggen20-Aug-15 22:05 
GeneralRe: VB5 on WIndows 10 Pin
MatthysDT20-Aug-15 20:32
MatthysDT20-Aug-15 20:32 
GeneralRe: VB5 on WIndows 10 Pin
Wombaticus20-Aug-15 21:49
Wombaticus20-Aug-15 21:49 
GeneralRe: VB5 on WIndows 10 Pin
MatthysDT20-Aug-15 21:58
MatthysDT20-Aug-15 21:58 
QuestionHow do I check to see if any running applications have unsaved documents? Pin
Ben Aldhouse15-Aug-15 10:31
Ben Aldhouse15-Aug-15 10:31 
I have seen other people's solution to the rather small, obscured 'power off' button in Windows 10 - by making a link to shutdown.exe. Unfortunately, as far as I can see, shutdown.exe will not check to see if there are any unsaved documents and will close the computer whether data is saved or not. Also, although you can delay shutdown.exe - this, I think, is made almost completely pointless by the fact that there is no way to cancel it (that I can see).

My idea is to write a small program which will call shutdown.exe after a delay but which can be cancelled. This bit, I'm pretty sure I can do. The part I have no idea how to do is to check to see if there are any unsaved documents so I can give the user the option to quit shut down.

Is it possible to check to see if there are unsaved documents? How would I do this?

Thanks.
AnswerRe: How do I check to see if any running applications have unsaved documents? Pin
Richard MacCutchan15-Aug-15 21:05
mveRichard MacCutchan15-Aug-15 21:05 
GeneralRe: How do I check to see if any running applications have unsaved documents? Pin
Ben Aldhouse16-Aug-15 0:50
Ben Aldhouse16-Aug-15 0:50 
GeneralRe: How do I check to see if any running applications have unsaved documents? Pin
Eddy Vluggen16-Aug-15 1:09
professionalEddy Vluggen16-Aug-15 1:09 
AnswerRe: How do I check to see if any running applications have unsaved documents? Pin
Ben Aldhouse16-Aug-15 2:22
Ben Aldhouse16-Aug-15 2:22 
GeneralRe: How do I check to see if any running applications have unsaved documents? Pin
Kornfeld Eliyahu Peter16-Aug-15 4:17
professionalKornfeld Eliyahu Peter16-Aug-15 4:17 
GeneralRe: How do I check to see if any running applications have unsaved documents? Pin
Ben Aldhouse16-Aug-15 8:59
Ben Aldhouse16-Aug-15 8:59 
GeneralRe: How do I check to see if any running applications have unsaved documents? Pin
Eddy Vluggen16-Aug-15 4:52
professionalEddy Vluggen16-Aug-15 4:52 
GeneralRe: How do I check to see if any running applications have unsaved documents? Pin
Ben Aldhouse16-Aug-15 8:46
Ben Aldhouse16-Aug-15 8:46 
QuestionHow to show long form of date & time in Taskbar for Windows 10? Pin
swampwiz5-Aug-15 4:36
swampwiz5-Aug-15 4:36 
AnswerRe: How to show long form of date & time in Taskbar for Windows 10? Pin
Richard MacCutchan5-Aug-15 5:26
mveRichard MacCutchan5-Aug-15 5:26 
GeneralRe: How to show long form of date & time in Taskbar for Windows 10? Pin
swampwiz5-Aug-15 7:37
swampwiz5-Aug-15 7:37 
GeneralRe: How to show long form of date & time in Taskbar for Windows 10? Pin
Wes Aday5-Aug-15 7:57
professionalWes Aday5-Aug-15 7:57 
QuestionHow to make Windows 10 windows look like Windows 7? Pin
swampwiz5-Aug-15 4:25
swampwiz5-Aug-15 4:25 
AnswerRe: How to make Windows 10 windows look like Windows 7? Pin
Pete O'Hanlon5-Aug-15 8:32
mvePete O'Hanlon5-Aug-15 8:32 
QuestionWindows Universal Platform on Windows 7? Pin
Matt T Heffron16-Jul-15 8:15
professionalMatt T Heffron16-Jul-15 8:15 
AnswerRe: Windows Universal Platform on Windows 7? Pin
Richard Deeming16-Jul-15 8:30
mveRichard Deeming16-Jul-15 8:30 
GeneralRe: Windows Universal Platform on Windows 7? Pin
Matt T Heffron16-Jul-15 10:55
professionalMatt T Heffron16-Jul-15 10:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.