![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| vista ultamate 64bit | Developing Software Hi I have decided once again to jump head 1st into the world of Software developing Its a big task/challenge for a n00b like me.... im only learning.... Anyways i have decided to make a simple piece of software that can help clean up temporary files that the likes if win zip and software intallers ect decide to leave behind for example this folder C:\Users\username\AppData\Local\Temp i already have a small list of folders that are relativly safe to empty however i need your help as it may very well be possiable that you guys/gals will know of more folders that can be cleaned out so could i ask you guys if you could list all the folders that you know are safe for deletion in vista 32, 64 bit and XP 32,64 bit |
My System Specs![]() |
| | #2 (permalink) |
| vista ultamate 64bit | Re: Developing Software Any one know the source code to restart vista 32bit and 64 bit |
My System Specs![]() |
| | #3 (permalink) |
| Vista Ultimate x64 MAK, OpenSolaris 5, Gentoo 2008.1.... | Re: Developing Software source code, no, but I do know hte commandline: reboot Code: shutdown /r /now [code] shutdown /s /now[code] You can also use a /t switch and specify the time in seconds, as in Code: shutdown /r /t 600 Here is a code I got from MVP Ramesh's site for a VB code to run shutdown: Code: 'Launches "shutdown.exe /r /t xxx" - This script is a workaround...
'... for the 600 seconds time-out limit in Vista.
'Created on March 30, 2007
'Copyright © 2007 Ramesh Srinivasan.
'Winhelponline.com - http://www.winhelponline.com
Set objShell = CreateObject("Wscript.Shell")
strMsg = "Enter the reboot timeout period (in Seconds)"
iSec = trim(InputBox (strMsg,"Shutdown timeout value",750))
if iSec = "" then wscript.quit
if iSec > 600 then
iSleep = int(iSec) - 600
iSleep = iSleep * 1000
WScript.Sleep iSleep
objShell.Run "shutdown.exe /r /t 600"
else
objShell.Run "shutdown.exe /r /t " & iSec
end If
|
My System Specs![]() |
| | #4 (permalink) |
| vista ultamate 64bit | Re: Developing Software thanx.... it took some working out it was Code: Shell("C:\Windows\System32\cmd.exe /c Shutdown -r -t 00")
i got 2 projects on the go and 1 of them is ready for testing, i just have to try work out how to publish it as a simple .exe rather than an installer |
My System Specs![]() |
| | #5 (permalink) |
| Vista Ultimate x64 MAK, OpenSolaris 5, Gentoo 2008.1.... | Re: Developing Software Curious - why not write it up as a VBScript, that would be easily distributable with no installers to worry about? |
My System Specs![]() |
| | #6 (permalink) |
| vista ultamate 64bit | Re: Developing Software ![]() anyway i was able to locate the executable file and it seems to work just fine all i need now is conformation from you guys if you would be so kind ![]() this is a very simple application to turn UAC on or off which i think might be handy for the less computer savvy, it may also be useful for brinks tutorials ![]() Vista UAC Switch Last edited by ripbox; 08-12-2008 at 10:05 PM.. Reason: Found typo in software |
My System Specs![]() |
| | #7 (permalink) |
| Vista Ultimate x64 MAK, OpenSolaris 5, Gentoo 2008.1.... | Re: Developing Software You *do* know about Disable annoying Vista UAC popups with TweakUAC (FREE) right? |
My System Specs![]() |
| | #8 (permalink) |
| vista ultamate 64bit | Re: Developing Software oh yes i know about that and to be honest im not even trying to compete with it ![]() i am simply learning VB as a hobby.... maybe a for a future career... i wanted to keep it simple and basic, well actually Vista UAC Switch wasn't even the in the pipeline... i just got side tracked lol ![]() now i need to get on with what i started "Disc Junkie" in basic terms a piece of software pre-set to help aid the less savvy of us all to clean out tempoary files left behind from installed/extracted software ect ect ect... its actualy turning out mor complicated than i 1st anticipated ![]() Any how if anyone would like to try Vista UAC switch and give me some constructive critisism please feel free |
My System Specs![]() |
| | #9 (permalink) |
| Mojave Ultimate x64 | Re: Developing Software |
My System Specs![]() |
| | #10 (permalink) |
| Vista Ultimate x64 MAK, OpenSolaris 5, Gentoo 2008.1.... | Re: Developing Software Post it here so we can try it - I'll definitely give it a shot - after all, I know how to turn UAC back on manually if all else fails.... |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Developing for Windows 7. | Vista News | |||
| Windows, Office and other software for $3 to people in developing nations | Vista General | |||