473,491 Members | 2,205 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Checking to see if an .exe file is loaded

RLN
Re: Access 2003

In my Access app I am needing to see if an .exe file is loaded locally
before running it.
The thing is it might be located somewhere ele other than the default
folder.

Does someone have a simple example using VBA code how to check for a
file to see if it is located in default folder "XYZ", and if it's not
there, how do you launch the dialog window (when doing a typical "File/
Open") so the user can locate the correct folder, than use that one to
check to see if the file is there?

many thanks...
Feb 12 '08 #1
1 1643
On Tue, 12 Feb 2008 07:10:34 -0800 (PST), RLN <rl*********@yahoo.com>
wrote:

You can check for existence using the Dir function. See help file.
The File/Open dialog is described here:
http://www.mvps.org/access/api/api0001.htm
And bookmark that site!

-Tom.

>Re: Access 2003

In my Access app I am needing to see if an .exe file is loaded locally
before running it.
The thing is it might be located somewhere ele other than the default
folder.

Does someone have a simple example using VBA code how to check for a
file to see if it is located in default folder "XYZ", and if it's not
there, how do you launch the dialog window (when doing a typical "File/
Open") so the user can locate the correct folder, than use that one to
check to see if the file is there?

many thanks...
Feb 13 '08 #2

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

Similar topics

0
2913
by: Bill Burwell | last post by:
I am converting a VB6 WebClass application to VB.Net. Used the VB upgrade tool to do the conversion - and it left me a lot of little code things to do. Did those code things and got my app to...
1
5169
by: Antonie C Malan Snr | last post by:
Dear All, I tried posting this before, but it seems to have disappeared. I need to check image sizes before the user uploads them. This works in the Mozilla family on second and subsequent...
14
2178
by: Frances Del Rio | last post by:
if (parent.frames.main.location == 'mediaselect.html') { I have a very simple frameset, name of frame where I'm checking is 'main'... why is this not working? I mean this is correct syntax,...
2
1789
by: JPL Verhey | last post by:
(i hope somebody (else) will read and have an idea! Thnx) Hi, With a script in a popup window, I want to check if certain content is present in a page loaded into the frame "main" of the...
23
11397
by: batels | last post by:
Hey All, I'm a bit new at this,and i tryed seraching google about it but i didn't quite got a solution. I'm writing an HTML page that needs to check if another html file exist (in the same...
2
1070
by: Connell | last post by:
Hi, Sorry if there is a really obvious answer to this. I have some javascript that uses setInterval(..) to change the src of an image every second. Is there any way of programmatically...
2
3677
by: Zach | last post by:
I compiled a game client and it crashed (segmentation fault) resulting in a core file being generated. I'm trying to find out exactly what caused it to crash. Any ideas how I can do this with gdb?...
6
3839
by: Sunfire | last post by:
Is there a way you can test what page is loaded from inside a master page? What I need to do is test to see what page is loaded inside the master page and then gray out the root item linked to that...
2
3093
by: hakkatil | last post by:
Hi to all, I have a page that inserts excel sheet to access database. I am using asp. What I want to do is to check the inserting record if it is in the database. Basicly checking the dublicate...
0
7115
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
6978
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...
1
6858
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...
0
7360
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5451
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4578
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
1392
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
633
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
280
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.