473,789 Members | 3,186 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

long delay before running Access program 1 time only

1,277 Recognized Expert Top Contributor
I have a weird problem at a client site. This has popped up in recent months and I don't know if it is because of an update to my development machine or something updated at the client site.

I'm programming in Access 2007 and/or Access 2003. Usually 2007, but I keep the database version level at 2003. And my O/S is Windows 7; most if not all of the users are on Windows 7.

Whenever a user updates to the newest release of the Access program, the first time they run it they get an hourglass for like a minute and a half. Finally they get an error that says the .mdb file could not be found. Then they run the program again and it launches immediately and all is well.

I think Windows is doing something during that delay, I don't think the problem is in the Access program. I've put status bar displays into the startup module so I can see where any delays are. And this hourglass thing happens before my first message.

Oh, one more important thing. They tell me if the navigate to the folder where the .mdb is and double-click on the .mdb it launches right away. It's only when they use the shortcut on the desktop.

Any ideas what is happening?

Thanks,
Jim
Mar 25 '11 #1
3 1980
ADezii
8,834 Recognized Expert Expert
Just a wild guess, but it sounds like Windows is trying to find the appropriate Executable File based on its Extension (*.mdb). You can easily test this Theory by having the Shortcut point to the Access Executable with the actual Database as an Argument, or verying the Registered File Types/Open With beforehand:
Expand|Select|Wrap|Line Numbers
  1. "C:\Program Files\Microsoft Office\Office10\MSACCESS.EXE" "C:\Test\Test.mdb"
Mar 25 '11 #2
jimatqsi
1,277 Recognized Expert Top Contributor
The file types are already registered because they run this program all day every day. But I want to try this to see if it makes any difference. The only problem is that it doesn't happen on my machine. Maybe it's a security setting.
Mar 25 '11 #3
hype261
207 New Member
I have the exact same problem with Windows XP and Office 2007. We upgraded from 2003 to 2007 this last summer and some of my users started reporting the problem. The funny thing is that if the user has a fresh machine that only has ever had 2007 installed, it won't happen. This makes me think it is a registry error, but I can't confirm.
Mar 25 '11 #4

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

Similar topics

4
8199
by: Si | last post by:
Hi Guys I am using this code to execute an Access VBA function from ASP: strDbName = strDataSource & "data\webjobs.mdb" Set objAccess = Server.CreateObject("Access.Application") objAccess.Visible = False objAccess.OpenCurrentDatabase strDbName objAccess.Run "ASP_SkillSearch", strTable, oUpload.Form("firstname"), oUpload.Form("surname")
2
2330
by: John Lemire | last post by:
Hi, I have a connection which after an initial handshake has one way traffic. I am sending bursty data. When I write a data buffer (variable size) the last portion of it is not sent to the server until I start writing the next buffer which may be 1/2/10/20/30 seconds later. Im using NetworkStream which says it's unbuffered and Flush() is a no op. When I know I may not be sending more data for a while how can I ensure that my data is...
34
18257
by: John Harrison | last post by:
An odd confession; an odd request; but here's the tale.... My company has a few PC systems which we have used for about 7 years and not updated - we've "made do", and besides, "if it ain't broke....." as they say. Anyway, everything's finally getting replaced by a new set-up, and there is just one program, an Access program running under Windows 95, which we want to change for the most minor of amendments (almost cosmetic). The guy...
2
1482
by: Mike | last post by:
I have previously used Access versions 97, 2000, 2002, and now 2003. I have written a program and wanted to send it to someone who only has Access 2002. I removed version 2003 and reinstalled 2002 but I can't see or open the program (though when I go to "ADD/Remove Programs" in the control panel, it is there.) There is no icon for it, it is not under "ALL Programs" on startup menu and I can't start it via "Explorer".
6
1483
by: AP | last post by:
Hello, I am having trouble trying to assign an object to a running program in windows in VB.NET A COM component class with the same name as the windows program is avaliable to use in VB.NET. The component doesnt have an actual icon that you can drag on to a form, you can only access the class. Is there anyway to create an instance of this class and assign it to a running instance within a running windows program? Do I need to...
5
2082
by: DCC-700 | last post by:
I am using ASP.Net with VB on the 1.1 Framework running on Win XP Pro. I am trying to gauge the time it takes to sort a datagrid using different code sets. But when I am debugging the page there is a long delay before hitting breakpoint in page load. When I initially load the page I hit the breakpoint right away. Then I click on a Sort header in a datagrid, and it takes about 1:45 before the breakpoint (first statement in Page Load) is...
3
2628
by: nj609eagle | last post by:
Recently and without warning, a report that I was using in my VB.NET 2003 application started to take 10 minutes to load. It also take thisamount of time to open in the deisgner. I'm using a ADO.NET XML file as the datasource, so there is no network traffic. Loking at the task manager, my CPU is low, and the memory isn't changing. I have two laptops and anyone off my network can open this report up without the long delay.
6
2204
by: dspfun | last post by:
I would like to analyze my running c-program. What I would like to know for example is the range of the entire address space of my running c-program (memory reserved for/by the running program), starting address and sizes of text (code), stack, heap, bss, constant data, linked in libraries, etc. What are some good ways to extract this kind of information? What (free) tools are the most common ones for displaying this kind of
0
1712
by: bdtmike | last post by:
I'm using VS2005 and creating a VB.Net Winforms app. The app uses a couple of web services. For some reason, when I start the app, there is a 30 second delay when VB invokes its first web service. After that, the response time on subsequent calls is nearly intantaneous. As an example, If I'm debugging and press <F5I'll get the 30 second delay on first invocation, then it's fast after that. If I stop the program and restart (F5), I get...
20
10647
by: Boki Digtal | last post by:
Hi All, How to limit the c# program can only run one instance at the same time ? Thank you! Best regards, Boki.
0
9511
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,...
1
10139
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9020
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
7529
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
6768
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
5417
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
5551
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3697
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2909
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.