473,385 Members | 1,486 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,385 software developers and data experts.

Access Freezes

On a button event, I call a VB subroutine.
The subroutine takes some time, it is importing from excel.
I have a progressbar that works while the subroutine is looping.

Before the loop I write the excel worksheet name to an unbounded text
field next to the button.

It does not appear in the text box until the looping is done.
Also my VB and Access windows are frozen until looping is done.

I thought it may be that there is no time left for other processes, I
used the sleep API, but it did not work as I thought it would.
Any IDEAS?

Access Access Access ....

Thanks

Nov 13 '05 #1
2 1998
Chuck,

Take a look at the DoEvents function.

--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
re******@pcdatasheet.com
www.pcdatasheet.com

If you can't get the help you need in the newsgroup, I can help you for a
very reasonable fee.
Over 1000 Access users have come to me for help.
Need a month calendar or 7 day calendar? Contact me.
<ch*********@gm.com> wrote in message
news:11*********************@o13g2000cwo.googlegro ups.com...
On a button event, I call a VB subroutine.
The subroutine takes some time, it is importing from excel.
I have a progressbar that works while the subroutine is looping.

Before the loop I write the excel worksheet name to an unbounded text
field next to the button.

It does not appear in the text box until the looping is done.
Also my VB and Access windows are frozen until looping is done.

I thought it may be that there is no time left for other processes, I
used the sleep API, but it did not work as I thought it would.
Any IDEAS?

Access Access Access ....

Thanks

Nov 13 '05 #2

"PC Datasheet" <no****@nospam.spam> schreef in bericht news:k0*****************@newsread1.news.atl.earthl ink.net...
If you can't get the help you need in the newsgroup, I can help you for a
very reasonable fee.
Over 1000 Access users have come to me for help.
Need a month calendar or 7 day calendar? Contact me.


These 1000 (if at all a real figure..) is only the result of
-- 4 years abusing the newsgroups.
-- 4 years blatantly advertising and job hunting.

You only care about making money, and you act as if the groups are your private hunting ground.
So why would ANYBODY ever trust a person like you and hire you?
************************************************** ******

Explanation and more on this answer to Steve:
http://home.tiscali.nl/arracom/stopsteve.html

Arno R
Nov 13 '05 #3

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

Similar topics

0
by: Mark Reed | last post by:
Compaq P4, 512mb Ram, XPPro, Office 2002 Pro. 1. Before MS SQL 2000 Client install MS Access 2002 properly created a new database in MYDOCUMENTS which is redirected to h:\users\%username% via...
6
by: WindAndWaves | last post by:
Hi Everyone, Here is another question: I run a database in Access RT in a Virtual PC environment. Every now and then I get an error: "Object Not set", which then freezes everything. Not...
2
by: FMR | last post by:
I have an Access 2000 application that has a backend database which sits on the network and a frontend installed to each PC. When the frontend is opened, users have to log on and then the...
0
by: Marcin Szarek | last post by:
Hi! For a few months we suffer mysterious problem with Oracle 10g RAC (more details on server configuration at the bottom). At regular basis (every 5 minutes) nodes of our cluster "freeze" -...
0
by: Stumped | last post by:
I'm using Access 2000 on a Dell PC with 256MB of RAM, and it freezes up almost immediately after opening the database. The database is on an internet server, but no-one else who connects notices...
1
by: kkrizl | last post by:
I've tried to research this problem, and I haven't been able to find any references to it. Probably because I shouldn't be doing it, but it was working, and now it's not. I'm trying to develop a...
8
by: Lysander | last post by:
I am new to Access 2003 and am running it on Win XP Pro. Quite often, when I open a database (no startup code) the system freezes. It can take up to 5 mins before I get my cursor back and the...
4
by: JvC | last post by:
Background: I have a customer running a front end/back end Access 2007 database. Normally, there are 3 users, and occasionally there are 4. Back end database is located on a straight PC running...
7
by: Icarus | last post by:
I have a Access 2000 database that I am opening with Access 2007. When I open the datbase in Access 2000 or Access 2003, the database runs as expected. In Access 2007 my main form opens, a...
3
by: Studlyami | last post by:
Day 2 of Kubuntu, problem # 2: I'd told you I'd be back :) Short Version: When I try to start Kubuntu it freezes when it starts to load the desktop (a.k.a X server right?). It loads up the...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.