Solved

Run query on Computer statup

Posted on 1998-09-29
2
153 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

829 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