473,796 Members | 2,765 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Information on unexpected Runtime issue

I recently finished a system in Access 2003 for a client and loaded it
onto their server. They use the A2003 runtime version. One of the main
forms contains a TAB control. On moving away from one particular page
to any other they received a run time error and the application
closed. This behaviour did not occur when using the full version of
Access.

I managed to solve the problem by deleting and re-creating the
affected page, but nevertheless I was very surprised about this and
now check my work very carefully using the /runtime switch here.

Was I right to be surprised - or is this to be expected ??

Dave

Jul 10 '07 #1
3 1882
I don't know about the original error, but runtime will shut-down on any
un-handled errors. You need to check that all VBA code has OnError checking.
I don't know but believe A2003 macros don't support error checking, which
will cause Runtime to crash on any macro errors.

"Dave G @ K2" <Da************ *@gmail.comwrot e in message
news:11******** *************@w 3g2000hsg.googl egroups.com...
I recently finished a system in Access 2003 for a client and loaded it
onto their server. They use the A2003 runtime version. One of the main
forms contains a TAB control. On moving away from one particular page
to any other they received a run time error and the application
closed. This behaviour did not occur when using the full version of
Access.

I managed to solve the problem by deleting and re-creating the
affected page, but nevertheless I was very surprised about this and
now check my work very carefully using the /runtime switch here.

Was I right to be surprised - or is this to be expected ??

Dave

Jul 10 '07 #2
Well, firstly I never use macros. And secondly I always have error
trapping code in my VBA. But that isn't relevant here because none of
my code runs when moving from one page to another in the tab control.
And don't forget that this problem only occurs when moving away from
one particular page. And also don't forget that no error occurred when
using the full version of Access.

This looks to me like that particular page was corrupted in such a way
that it only showed up when using the runtime version. I didn't
realise this could happen.

So this is a kind of warning - when developing a system that will
eventually be run using the run time version then I strongly recommend
testing it thoroughly in that environment

Dave

Jul 10 '07 #3
It likely was a corruption. It may be a good procedure to repair, compact,
and even recompile before testing and distributing to end users.

"Dave G @ K2" <Da************ *@gmail.comwrot e in message
news:11******** **************@ g4g2000hsf.goog legroups.com...
Well, firstly I never use macros. And secondly I always have error
trapping code in my VBA. But that isn't relevant here because none of
my code runs when moving from one page to another in the tab control.
And don't forget that this problem only occurs when moving away from
one particular page. And also don't forget that no error occurred when
using the full version of Access.

This looks to me like that particular page was corrupted in such a way
that it only showed up when using the runtime version. I didn't
realise this could happen.

So this is a kind of warning - when developing a system that will
eventually be run using the run time version then I strongly recommend
testing it thoroughly in that environment

Dave

Jul 10 '07 #4

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

Similar topics

0
4247
by: Robert Mazur | last post by:
MySQL 5.0 alpha (binary install) on Solaris 9 -or- RedHat 8.0 mysql-connector-java-3.0.8-stable ----------------------- Is there something different going on with JDBC and the alpha version of MySQL 5.0? When trying to connect I am getting: ** BEGIN NESTED EXCEPTION **
3
2863
by: Teddy | last post by:
Hello all According to "Think in C++ Volume2", the code below should run smoothly: #include <iostream> #include <exception> using namespace std; class ex { };
1
2981
by: Angel | last post by:
I'm trying to connect to a fixed IP address (eg. http://10.60.903.50/TempFile) in order to retrieve one accii line of text in TempFile. I try to read the information with this code: string fullpath = " http://10.60.93.51/TempFile "; HttpWebRequest req = (HttpWebRequest)WebRequest.Create(fullpath); //req.KeepAlive = false; HttpWebResponse res; StreamReader sr; string strResult = "";
5
24774
by: Vijayakrishna Pondala | last post by:
Hi, We are using the following error randomly, when accessing a webservice method/servlet hosted on JBoss application server: The underlying connection was closed: An unexpected error occurred on a receive. We are using .NET v1.1.
1
1733
by: mj | last post by:
When I'm trying to run any asp.net application, the following error appears: "CS0007: Unexpected common language runtime initialization error --Catastrophic failure" I've reinstalled .NET Framework but without any results.I've also tried to use aspnet_regiis -i but the problem is still the same. Have anybody had similar problem?
2
1508
by: paul.mason | last post by:
I was wondering if anyone else had come across this "feature" of .NET and if they had any idea what might be causing it. I've been writing my first C# Windows application (so if there's anything so appalling in my code that it gives experienced developers a touch of the vapours, I hope you'll be indulgent!) I've written my own code to handle unexpected exceptions and I've added this as the handler to Application.ThreadException. It all...
2
3635
by: atishrg | last post by:
Hello All Need your help.. I created addin for outlook 2007 in vs2005(vb.net)... It is working fine now I Migrated that to vs2008 and created setup for that in vs2008...
13
3621
by: bintom | last post by:
I ran the following simple code in C++ and got unexpected results: float f = 139.4; cout << f; Output: 139.399994;
12
11115
by: raylopez99 | last post by:
Keywords: scope resolution, passing classes between parent and child forms, parameter constructor method, normal constructor, default constructor, forward reference, sharing classes between forms. Here is a newbie mistake that I found myself doing (as a newbie), and that even a master programmer, the guru of this forum, Jon Skeet, missed! (He knows this I'm sure, but just didn't think this was my problem; LOL, I am needling him) If...
0
9535
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10021
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9061
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7558
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6800
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5453
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5582
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3744
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2931
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.