Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access VBA
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 3rd, 2006, 08:46 PM
Registered User
 
Join Date: May 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default vba access something like sleep ... but not quite.

hi there
i'm building a database in access 2003 of a group of music (with the names of the people who belong it, instruments, gigs etc...)
I'm working on a form connected to the people in the database, wich also have their pictures.(the pictures are not ole objects, they are external files)
the thing is... each time i change record of a person in the db form, access has a moment of 1/2 second to load the picture(between each record). If i click to change the record while access is still loading the picture, this produces an error not easy to clean from the screen.

1st i thought in the sleep function, wich should give me some time to finish the load of the picture before i could be able to click the mouse again. But this sleeps also the load of the picture :(

i was thinking in getting a function that could block my clicking during a certain time, and use it in a current-event(or something), but i don't know where to start...

can anybody help me please
write to filipeocacheleu aat hotmail dot com
thanks a lot
Oca Cheleu

 
Old September 5th, 2006, 07:07 AM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

Look up Screen freeze, I remember something obout that on this forum. It should freeze the image on the screen for a specified period.



mmcdonal





Similar Threads
Thread Thread Starter Forum Replies Last Post
sleep in xsl sunnn XSLT 1 July 2nd, 2008 12:22 PM
How do you put a thread to sleep? BrianWren Pro VB 6 10 April 8th, 2008 11:28 AM
threads: diferences between sleep and spinwait... gbianchi .NET Framework 2.0 2 September 21st, 2007 09:27 AM
Code works in Excel VBA but not Access VBA fossx Access VBA 2 May 21st, 2007 08:00 AM
How to Pause or sleep the background worker thread mks033 C# 2005 0 May 3rd, 2006 07:03 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.