473,399 Members | 3,888 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,399 software developers and data experts.

VERY simple application fails to start

Environment: Windows XP, Access 2000 ADP, SQL Server 2000, all at latest
service packs.
We built a new machine, and it fails to run even the simplest ADP. I created
an AutoExec macro with one line: RunCode - InitApplication(), and one public
function InitApplication() with a "Hello World" messagebox. That's it.
When trying to start the app, we get "The expression you entered has a
function name that TestApp can't find". This is followed by an "Action
Failed" dialog, with MacroName=AutoExec, Action=RunCode, and
Arguments=InitApplication(). The "Halt" button is the only option.

Has anyone ever seen this behavior, or cares to speculate about what could
cause it?

I'm thinking it's something environmental with that machine. 20 other
workstations run the app just fine.
Nov 13 '05 #1
4 2683
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sounds like a references problem. In the VBA window select Tools >
References. Check that the VBA (Visual Basic for Applications) is
checked. Check that there aren't any MISSING entries that need to be
unchecked.
--
MGFoster:::mgf00 <at> earthlink <decimal-point> net
Oakland, CA (USA)

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBQtf+Z4echKqOuFEgEQIA0gCgwdTn/R35W4j5YU0GJEGB6e3q0lUAmwfs
BeZE6l+J4K8MYAaFeBKrFHo5
=OYSY
-----END PGP SIGNATURE-----
Tom van Stiphout wrote:
Environment: Windows XP, Access 2000 ADP, SQL Server 2000, all at latest
service packs.
We built a new machine, and it fails to run even the simplest ADP. I created
an AutoExec macro with one line: RunCode - InitApplication(), and one public
function InitApplication() with a "Hello World" messagebox. That's it.
When trying to start the app, we get "The expression you entered has a
function name that TestApp can't find". This is followed by an "Action
Failed" dialog, with MacroName=AutoExec, Action=RunCode, and
Arguments=InitApplication(). The "Halt" button is the only option.

Has anyone ever seen this behavior, or cares to speculate about what could
cause it?

I'm thinking it's something environmental with that machine. 20 other
workstations run the app just fine.

Nov 13 '05 #2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sounds like a references problem. In the VBA window select Tools >
References. Check that the VBA (Visual Basic for Applications) is
checked. Check that there aren't any MISSING entries that need to be
unchecked.
--
MGFoster:::mgf00 <at> earthlink <decimal-point> net
Oakland, CA (USA)

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBQtf+Z4echKqOuFEgEQIA0gCgwdTn/R35W4j5YU0GJEGB6e3q0lUAmwfs
BeZE6l+J4K8MYAaFeBKrFHo5
=OYSY
-----END PGP SIGNATURE-----
Tom van Stiphout wrote:
Environment: Windows XP, Access 2000 ADP, SQL Server 2000, all at latest
service packs.
We built a new machine, and it fails to run even the simplest ADP. I created
an AutoExec macro with one line: RunCode - InitApplication(), and one public
function InitApplication() with a "Hello World" messagebox. That's it.
When trying to start the app, we get "The expression you entered has a
function name that TestApp can't find". This is followed by an "Action
Failed" dialog, with MacroName=AutoExec, Action=RunCode, and
Arguments=InitApplication(). The "Halt" button is the only option.

Has anyone ever seen this behavior, or cares to speculate about what could
cause it?

I'm thinking it's something environmental with that machine. 20 other
workstations run the app just fine.

Nov 13 '05 #3
On Fri, 15 Jul 2005 18:20:18 GMT, MGFoster <me@privacy.com> wrote:

Not this time.
The file was created on the "bad" machine, and it just had the 4
standard references. Nothing broken. Code compiled fine.
Per Google I removed and recreated the references. Also checked into
the Sandbox setting.
Btw, I could run InitApplication just fine from the Immediate window.

What I finally discovered (just before I was going to give up and tell
them to rebuild the machine) was that installing Jet 4.0 SP8 did the
trick.

-Tom.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sounds like a references problem. In the VBA window select Tools >
References. Check that the VBA (Visual Basic for Applications) is
checked. Check that there aren't any MISSING entries that need to be
unchecked.


Nov 13 '05 #4
On Fri, 15 Jul 2005 18:20:18 GMT, MGFoster <me@privacy.com> wrote:

Not this time.
The file was created on the "bad" machine, and it just had the 4
standard references. Nothing broken. Code compiled fine.
Per Google I removed and recreated the references. Also checked into
the Sandbox setting.
Btw, I could run InitApplication just fine from the Immediate window.

What I finally discovered (just before I was going to give up and tell
them to rebuild the machine) was that installing Jet 4.0 SP8 did the
trick.

-Tom.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sounds like a references problem. In the VBA window select Tools >
References. Check that the VBA (Visual Basic for Applications) is
checked. Check that there aren't any MISSING entries that need to be
unchecked.


Nov 13 '05 #5

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

Similar topics

1
by: Guinness Mann | last post by:
Pardon me if this is not the optimum newsgroup for this post, but it's the only .NET newsgroup I read and I'm certain someone here can help me. I have a C# program that checks for an error...
12
by: serge calderara | last post by:
Dear all, I have an application which is suppose to start another executable process. As soon as that process is running, I need to retrive its handle. The problem of the particular process I am...
0
by: Tom van Stiphout | last post by:
Environment: Windows XP, Access 2000 ADP, SQL Server 2000, all at latest service packs. We built a new machine, and it fails to run even the simplest ADP. I created an AutoExec macro with one...
6
by: No_Excuses | last post by:
All, I am interested in reading the text of a web page and parsing it. After searching on this newgroup I decided to use the following: ******************************* START OF CODE...
3
by: Trapulo | last post by:
I've two copy af the same asp.net application. The application enter on sql server, working with two separate databases (on the same sql server instance, of course). The connection is made with...
6
by: B B | last post by:
Okay, here is what's happening: I have a reasonably fast laptop (1.4 GHz Mobile M, so comparable to 2.5GHz P4) doing .net development. Running Windows XP pro, SP2 IIS is installed and running...
8
by: pamelafluente | last post by:
Hi, I would like to get some advice. I know enough vb.net on win apps, but I have never worked on web applications and asp.net. I would appreciate if you could indicate the most basic...
22
by: tricard | last post by:
Good evening, I was thinking about making a very simple DOS based (console) menu for a project that i am working on, but I have no idea where to start for something like this. Does anyone have...
2
by: LostDeveloper via AccessMonster.com | last post by:
Relationship goes Certification can have multiple variations (any single variation satifies the certification), which require multiple course groups which require any one of the products assigned...
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: 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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.