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.

Run time error

2
I work as an employee in a team consist of five employees for example, each employee has their own PC. We have a shared folder containing sub-folders and files so all team member can access and use files in it . I placed the mdb file ( I named it EMP_DATA.mdb for example) on folder named "DATA" folder ( the subfolder of the shared folder). In EMP_DATA.mdb, I created a form named EMP_INPUT form that will be used by the entire team member.
I am the only person who have MS Access installed on the PC, but the other team member are still able to run MS Access application since they installed Access Runtime on their PC. The directly open the EMP_INPUT, i created shortcut in the DATA form. So far, everything was OK
But problem appears when I located the *.dll file ( to prevent mouse scrolling through records in the form) on the DATA folder, suddenly the other team member cant longer open the form with the massage "Execution of the Application will be shut down due to runtime error"
Whats wrong with this?
Kindly need your help
Sep 27 '07 #1
2 1369
NeoPa
32,556 Expert Mod 16PB
I'm sorry but there's really far too little actual information in this. It's a bit like saying "I have a problem with my database - what is it?" If we have no information to work with there's very little we can do.
Oct 6 '07 #2
Jim Doherty
897 Expert 512MB
I work as an employee in a team consist of five employees for example, each employee has their own PC. We have a shared folder containing sub-folders and files so all team member can access and use files in it . I placed the mdb file ( I named it EMP_DATA.mdb for example) on folder named "DATA" folder ( the subfolder of the shared folder). In EMP_DATA.mdb, I created a form named EMP_INPUT form that will be used by the entire team member.
I am the only person who have MS Access installed on the PC, but the other team member are still able to run MS Access application since they installed Access Runtime on their PC. The directly open the EMP_INPUT, i created shortcut in the DATA form. So far, everything was OK
But problem appears when I located the *.dll file ( to prevent mouse scrolling through records in the form) on the DATA folder, suddenly the other team member cant longer open the form with the massage "Execution of the Application will be shut down due to runtime error"
Whats wrong with this?
Kindly need your help

If you are all accessing the same MDB datafile located on the server via a shared drive/folder you should really SPLIT your database into two mdb files one with the data tables in it (backend) and the other with the rest of your objects (frontend).

You then link the tables located in the backend file on the shared network drive letter folder path to this frontend mdb file and distribute a copy of this frontend file to a commonly named folder on each of the networked PC,s. (whether this be by batch file at logon if you are on a domain or by whichever other means is at your disposal.) Each of the PC's must have a networked drive letter in common ie: Z drive mapped out to C: on the server if C: is the server drive hosting the mdb datafile.

In other words each PC has a copy of its own frontend file each one of which accesses the backend datafile hosted on the server. If necessary you can of course make a shortcut on the desktop on each pc targetting each of the PC's frontend files and thus each PC has its OWN input form if you get me.

This is standard Access methodology when in a multi user environment and you might well find that any conflicts that you have may well disappear once you also place a copy of the DLL file into the (and I am guessing at your operating path for the .dll file C:\windows\system32?) required folder on each PC. (if this is the rather excellent Stephen Leban's mousehook.dll then it can also reside in the same folder as the frontend file as well)

Hope this gives you at least some sort of an attack plan

Regards

Jim
Oct 6 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

18
by: Ken | last post by:
Hi. Can anyone refer me to any articles about the compatibility between c++ polymorphism and real-time programming? I'm currently on a real-time c++ project, and we're having a discussion...
5
by: Carmine Cairo | last post by:
Hi, I'm working on a project and today I've note a little problem during the compile fase. Here a little piece of code: // 1st version welldone = 0; size = p->getSize(); backbone = new...
4
by: Christaaay | last post by:
I have been using the code below successfully for almost a year. yesterday, I began getting a run time error 6 (overflow). I am using the code in an Access 2000 database. Can anyone help me...
1
by: MLH | last post by:
I want to change my system time date each time an A97 app is started. Here's how I've been doing it. Am looking for a better way. Sure some of you have researched this. Function...
1
by: Mark | last post by:
I have .aspx code-behinds that inherit from the class below. The code runs just fine, but the form designer bombs at design time when trying to view the .aspx page in VS.NET 2003. If I comment...
1
by: Alfonso Morra | last post by:
Hi I'm compiling some code and need to generate some random numbers. To save time, I decided to use the srand, rand and time functions. My code worked (atleast built fine) until I added time.h,...
4
by: HNguyen | last post by:
Hi, I have a Web application in ASP.NET. My Application allows the users upload files into the server after checking their user names and passwords. For each transaction, the Web program will...
15
by: Khurram | last post by:
I have a problem while inserting time value in the datetime Field. I want to Insert only time value in this format (08:15:39) into the SQL Date time Field. I tried to many ways, I can extract...
9
by: ThunderMusic | last post by:
Hi, I'd like to create a compile time error in my class... maybe there's a way already built in in the framework so I can achieve what I want... I have 2 constructors in my class. One of them...
4
by: ahmurad | last post by:
Dear Xperts, In my database table some fault code type records are inserted and the values are like bellows: Error:2/FC:10; 00:15:13 16/03/2009; Error:2/FC:20; 00:15:15 16/03/2009; ...
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
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...
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.