473,394 Members | 2,048 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,394 software developers and data experts.

Reference to use 'fIsAppRunning' in Access 2002

Hi

Sorry to ask a silly question, I am 'self taught' in using access vb and I
came trying to use fIsAppRunning to see if excel is running in the
background but when I try and compile the code I get a compile error 'Sub or
Function not defined'.

I assume I have to create a reference in 'Tools', 'References' but don't
know which one. Can any body help me please?

I currently have the following available references ticked ( priority order
as shown)

Visual basic for Applications
Microsoft Access 10.0 Object Library
Microsoft Excel 10.0 Object Library
OLE Automation
Microsoft Office 10.0 Object Library
Microsoft ActiveX Data Objects 2.1 Library
Microsoft DAO 3.6 Object Library

Or I am totally on the wrong track?

Regards
Dave
Nov 13 '05 #1
4 2599
No reference is required. Just make sure you've got all the code from
http://www.mvps.org/access/api/api0007.htm pasted into a module (not the
module associated with a form), and that you didn't name the module
fIsAppRunning.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)

"Dave Lauberts" <da************@ntlworld.com> wrote in message
news:A6***************@newsfe6-gui.ntli.net...
Hi

Sorry to ask a silly question, I am 'self taught' in using access vb and I came trying to use fIsAppRunning to see if excel is running in the
background but when I try and compile the code I get a compile error 'Sub or Function not defined'.

I assume I have to create a reference in 'Tools', 'References' but don't
know which one. Can any body help me please?

I currently have the following available references ticked ( priority order as shown)

Visual basic for Applications
Microsoft Access 10.0 Object Library
Microsoft Excel 10.0 Object Library
OLE Automation
Microsoft Office 10.0 Object Library
Microsoft ActiveX Data Objects 2.1 Library
Microsoft DAO 3.6 Object Library

Or I am totally on the wrong track?

Regards
Dave

Nov 13 '05 #2
"Dave Lauberts" <da************@ntlworld.com> wrote in message news:<A6***************@newsfe6-gui.ntli.net>...
Hi

Sorry to ask a silly question, I am 'self taught' in using access vb and I
came trying to use fIsAppRunning to see if excel is running in the
background but when I try and compile the code I get a compile error 'Sub or
Function not defined'.

I assume I have to create a reference in 'Tools', 'References' but don't
know which one. Can any body help me please?

I currently have the following available references ticked ( priority order
as shown)

Visual basic for Applications
Microsoft Access 10.0 Object Library
Microsoft Excel 10.0 Object Library
OLE Automation
Microsoft Office 10.0 Object Library
Microsoft ActiveX Data Objects 2.1 Library
Microsoft DAO 3.6 Object Library

Or I am totally on the wrong track?

Regards
Dave


I only have VBA, Access, DA0 3.6 running, and it works. Does the code
even compile on your computer? Copy the code from here to a new
module, and see if it works...

http://www.mvps.org/access/api/api0007.htm

There are example calls in the article.
Nov 13 '05 #3
Thanks Doug

- I missed the actual 'fIsAppRunning' function !, I was trying to refer to
something that did not exist!

Thanks for taking the time to put me straight

Dave
"Douglas J. Steele" <NOSPAM_djsteele@NOSPAM_canada.com> wrote in message
news:Ia*********************@twister01.bloor.is.ne t.cable.rogers.com...
No reference is required. Just make sure you've got all the code from
http://www.mvps.org/access/api/api0007.htm pasted into a module (not the
module associated with a form), and that you didn't name the module
fIsAppRunning.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)

"Dave Lauberts" <da************@ntlworld.com> wrote in message
news:A6***************@newsfe6-gui.ntli.net...
Hi

Sorry to ask a silly question, I am 'self taught' in using access vb and I
came trying to use fIsAppRunning to see if excel is running in the
background but when I try and compile the code I get a compile error

'Sub or
Function not defined'.

I assume I have to create a reference in 'Tools', 'References' but don't
know which one. Can any body help me please?

I currently have the following available references ticked ( priority

order
as shown)

Visual basic for Applications
Microsoft Access 10.0 Object Library
Microsoft Excel 10.0 Object Library
OLE Automation
Microsoft Office 10.0 Object Library
Microsoft ActiveX Data Objects 2.1 Library
Microsoft DAO 3.6 Object Library

Or I am totally on the wrong track?

Regards
Dave


Nov 13 '05 #4
Thanks Pieter- I missed the function itself- Appreciate your link to the
solution.
Dave
"Pieter Linden" <pi********@hotmail.com> wrote in message
news:bf**************************@posting.google.c om...
"Dave Lauberts" <da************@ntlworld.com> wrote in message

news:<A6***************@newsfe6-gui.ntli.net>...
Hi

Sorry to ask a silly question, I am 'self taught' in using access vb and I came trying to use fIsAppRunning to see if excel is running in the
background but when I try and compile the code I get a compile error 'Sub or Function not defined'.

I assume I have to create a reference in 'Tools', 'References' but don't
know which one. Can any body help me please?

I currently have the following available references ticked ( priority order as shown)

Visual basic for Applications
Microsoft Access 10.0 Object Library
Microsoft Excel 10.0 Object Library
OLE Automation
Microsoft Office 10.0 Object Library
Microsoft ActiveX Data Objects 2.1 Library
Microsoft DAO 3.6 Object Library

Or I am totally on the wrong track?

Regards
Dave


I only have VBA, Access, DA0 3.6 running, and it works. Does the code
even compile on your computer? Copy the code from here to a new
module, and see if it works...

http://www.mvps.org/access/api/api0007.htm

There are example calls in the article.

Nov 13 '05 #5

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

Similar topics

2
by: Pkpatel | last post by:
Hi, I keep getting this error every time I try to load crystalreportviewer on a webform with a dataset. Here is the error: -------------------------------------------------------- Server...
7
by: Dave | last post by:
I have a VB.Net solution with 2 projects. The first project should reference the second. I'm able to see the second project on the Projects tab and I'm able to click the OK button to...
13
by: Noesis Strategy | last post by:
When I ordered my new laptop, Sony didn't offer Access 2003 in its bundles. Recently, I have begun to design Access databases using an copy of Access 2002 from my previous laptop. It works fine,...
3
by: Scott | last post by:
Hi, If we want to compile an Access 2002 database and distribute it to others, will the compiled software run on any PC, like Windows 98, Windows 2000, etc. Also, you don't have to have...
9
by: Rob | last post by:
Scenario: O/S: Win XP Professional Back-end: Access 2002 on network server I have an Access 97 application, in production on our network, that takes appoximately 5 minutes to process monthly...
1
by: S. van Beek | last post by:
Dear reader, Can somebody tell me which library is required in VBA to let the function fisAppRunning working properly? Thanks for any help.
4
by: rockio | last post by:
I have two computers with MS Access 2000 installed. However one computer has Microsoft Outlook 2002 installed while the other does not. The computer without Microsoft Outlook 2002 does not seem to...
4
by: sara | last post by:
I have an A2K database that has links to 3 of my other databases (external links) to run some reports. The coding in any of the 4 is pretty simple. Recently when we make a new .mde for the...
0
by: Sebastian | last post by:
Hello I develop my applications in Access 2002. My development system is running Windows XP SP2 and I have Microsoft Office XP Developer. Microsoft Office XP is at SP3. I used Inno Setup (great...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...
0
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...

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.