?
Solved

Run query on Computer statup

Posted on 1998-09-29
2
Medium Priority
?
160 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 120 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

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses

862 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