Solved

Run query on Computer statup

Posted on 1998-09-29
2
154 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

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 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…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

730 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