473,405 Members | 2,261 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Use an mdb as a background executable

I have code in a db that has to run every hour to update some back end
tables to the contents of an excel file. It works fine, but I'd like it to
run quietly and invisibly in the background, in a separate mdb. It could
also produce a msgbox that could disappear after half an hour, informing me
that the code has run successfully. Something like this:

MsgBox UpdTables, vbInformation + vbOKOnly, "DMS Data Updates"
DoCmd.Quit

where UpdTables is a function that updates the backend tables and returns a
string saying what it did.

To reiterate:

I'd like the mdb to run invisibly in the background and produce a msgbox
when the code is done executing. If I'm not at the pc when the msgbox pops
up, I'd like it to close in preparation for the next scheduled execution,
after half an hour. The mdb should be invisible at all times.

I'm using the Win2K Pro builtin scheduler in the control panel to open the
mdb every hour during the workday. It would be great if there were a
checkbox in the scheduler to run the app invisibly, but there isn't. Any
suggestions?

--
Message posted via http://www.accessmonster.com
Nov 13 '05 #1
4 1164
Do it in visual basic

Nov 13 '05 #2
Simpler than Visual Basic would be vbscript.

Nov 13 '05 #3
Simpler than Visual Basic would be vbscript.

Nov 13 '05 #4
Thanks for the advice, but although I've done some VB programming in the
past, I've never done any scripting or batch files of any kind. Also, I
don't have VB on my PC here at the client site. Do you mean that I should
have a vb script open up the db and the startup form which launches the
code in it's On Load property?

Any advice would be appreciated.

--
Message posted via http://www.accessmonster.com
Nov 13 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Matt | last post by:
I want have PHP call another process (another PHP script at the moment but it may end up being a binary) in the background and not wait for process to complete, but rather instantly jump the the...
3
by: Greg Bryant | last post by:
I'm doing some work for a company that has an auction site running in coldfusion. They're not real happy with it, and it needs a major overhaul, so I'm looking at redoing it, and while I'm at it,...
10
by: Richard Steele | last post by:
Can anyone help me I am developing an application runs on a PC (client) only. For graphical reasons it was decided that the content would be displayed in a Browser that is embedded in a Windows...
4
by: Mrinal Kamboj | last post by:
Hi , Doubt may be bit trivial , but i wanted to know , what are the exact benefits derived while we run a background process as an NT service in windows , we can as well achieve the...
5
by: aiki727 via DotNetMonster.com | last post by:
Hello everyone, Where do I store a bitmap or jpeg that I am using for a forms background image when I deploy the application? Or do I link these files to the app during the deployment? Thanks...
8
by: Sree | last post by:
hello friends, Can i make a C program run as as background service? for eg. like the windows services we have. which are not visible on the desktop but still running behind. If there is some...
4
by: Podi | last post by:
Hi, I am using Python 2.4.4 on Windows XP SP2. I am trying to start a process (infinite loop application) in the background and I've tried several options and none of them seem to work. ...
3
by: =?Utf-8?B?aXdkdTE1?= | last post by:
Hi, im having a very weird problem. I can create a new project and set the form's background to an image i made in photoshop and run the program, no code written. the image is displayed as...
12
by: icarus | last post by:
platform: windows xp professional, python 2.5, wxpython When I double-check on my program file test.py (for simplicity I'll be using this code below), I see the window just fine. But the ms-dos...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.