Solved

Run query on Computer statup

Posted on 1998-09-29
2
149 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
Comment Utility
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
Comment Utility
//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 Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
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…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

728 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now