Friday, 4 January 2013

VC6 Debug left process open issue on Windows 7 64bit fix


This happens when stopping the process through the vc6 debugger.
Change the file: Common/MSDev98/Bin/TLLOC.dll   6.0.8168.0
To the updated version is 6.0.8168.292

This will fix the left open issue.

Wednesday, 2 January 2013

How to delay start a program and optionally wait for internet connection before starting.

A Common issue in windows 7 is that when booting up the programs can run before the internet connection is made which causes issues. this small dos program was written for MS Outlook but it can be used for any program or file.

download: http://www.traction-software.co.uk/downloads/delaystart.exe   (148kb) dos program and put it somewhere on your hard disk. e.g. c:\

type delaystart.exe   for parameters. e.g.

c:\delaystart.exe

usage:-
-d(delay in seconds)
-n wait for internet connection (upto 50 retries)
-f<filename>
-h hide program window
-m minimize program window


e.g. DelayStart.exe -d10 -f"c:\testfile.exe"       will wait 10 seconds and run the testfile.exe
e.g. DelayStart.exe -n -f"c:\testfile.exe"       will wait for the internet connection to be successful before starting testfile.exe   (will try upto 50 times, approx 1 second+ per try)
---- with any file ----
e.g. DelayStart.exe -n -f"c:\myfile.pdf"       will wait for the internet connection to be successful before opening myfile.pdf in the default viewer  (will try upto 50 times, approx 1 second+ per try)


For boot up.
In the windows Startup folder, remove the outlook shortcut item and add a new shortcut to the DelayStart.exe file.

in the properties, shortcut target enter:-
c:\DelayStart.exe -n -f"C:\Program Files (x86)\Microsoft Office\OFFICE11\OUTLOOK.EXE"

double click on it to test it.

then reboot to test it again.

you can minimize the program in properties also.

This program is free for any use, if you find it useful and wish to donate $1 or more by paypal then click here.

Thanks.