Solved

Run query on Computer statup

Posted on 1998-09-29
2
152 Views
Last Modified: 2012-05-04
Hi,

I would like to query for dates (any within the next week)that are stored in a access DB on startup of the computer.

How would I go about doing this? (would I place a EXE in the startup folder)
What sort of SQL statement should I be using?

Thankyou
James
0
Comment
Question by:edans
  • 2
2 Comments
 
LVL 1

Accepted Solution

by:
duke_n earned 30 total points
ID: 1341240
Oh, man. there are a lot of ways to run a program at startup.
first:to put it in startup folder.
second:in registry, in 'HKLM\software\microsoft\windows\currentversion\' there are keys like 'Run', 'RunOnce', 'RunServices', 'RunServicesOnce', 'RunOnceEx'.
also in registry, but in 'HKCR\software\microsoft\windows\currentversion\'
There are keys 'Run' and 'RunOnce'.
//HKCR=HKEY_CURRENT_USER
//HKLM=HKEY_LOCAL_MACHINE

in win.ini in part that starts with [windows]
there is a parameter 'load= '

and the last thing
If I ain't wrong if there is a file:
'c:\winstart.bat'-then windows loads it.


Regards,
 Nukem
0
 
LVL 1

Expert Comment

by:duke_n
ID: 1341241
//in registry-in HKLM or HKCR you should put a path of
//your exe in 'Data' column and call it how do you want in 'Name'
//column
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question