I've tried your code but got an error on line 12 (Inc(SplashForm.pbQuery.Po
"Left side cannot be assigned to"
Main Topics
Browse All TopicsI have made a splashscreen which I'm showing before the start of my application, on this splashscreen there is a progressbar which should display the progress of a query getting data from a remote database.
At this point the splash opens and closes quick after each other, but I want to see the splashscreen and the progressbar as well.
Can anyone help me with this?
Here the code of the project source code:
And the code to get the database from the remote database:
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
have you ever heard of encapsulation ?
this is enclosing all needed into a box (and not surfacing too much) ...
i'll show you a better way of writing your units
you may benefit from it with bigger projects
also some remarks:
try and give a decent name to your components ... all of em
you'll benefit from it later in your life
your query gets run while the splash form is not visible yet
it is only visible after formshow (and processing the paint message)
the trick which allways works is posting a message in the same form in formShow event
and then handling that message
from then on the form is visible
you want as little code in your project file as possible
program prjTestApp1;
uses
Forms,
uMain in 'uMain.pas' {frmMain},
uSplash in 'uSplash.pas' {frmSplash};
{$R *.res}
begin
Application.Initialize;
RunSplash;
Application.MainFormOnTask
Geert_Gruwez, I have a small favor to ask from you, I know it has not really something to do with this question, but the code you gave is part of it.
With the "procedure TfrmSplash.LoadExternalDB(
I hope you are willing to help me with this?
Thanks in advanged
your local database msaccess is growing ?
well, one of the things about local databases is they mark records as deleted
but do not fysically delete the records
this increases performance for deleting, but alas, after some time, all other things like update/select/insert do actually slow down
i am not experienced with msaccess, i tend to go for oracle express/ sql express or firebird/interbase
it looks like you need this:
http://www.experts-exchang
Business Accounts
Answer for Membership
by: preppydudePosted on 2009-09-11 at 20:14:57ID: 25314904
Well, the reason to why the splash form disappears quickly might be that the query runs fast (?).
The progressbar you have to control yourself. Like, say you wanted it to progress further for every row you parse in your loop and that you have a progressbar named pbQuery on your splash form. Then you'd do the following:
Select allOpen in new window