Hi Christiaan,
The reason behing the threading is to minimize loading time. While the splash screen is shown some other processing is executed on the background "at the same time".
But thank you for your post. Sometimes we may be so engrossed on a complicated solution and overllok simple ways...
This is the approach that I took for my solution:
Close the Splash screen thread from within the Login form during the Activated event and call SetForegroundWindow API to get focus back to the main app.
Code below:
Private Sub frmLogin_Activated(ByVal sender As Object, ByVal e As...
Hi Chip,
I can't pass a reference of the main form to the worker thread (splash screen) because the main form isn't loaded at this stage. All the processing is done in Sub Main. However in the line of your suggestion I'll try creating a call-back procedure in the worker thread to notify the...
Thanks Chiph.
Your suggestion works when I run the application from the IDE. However when I run it from the desktop after having installed, this is what happens: (Assume I have 2 apps in the task bar, ie 2 icons on the system tray bar)
Please note I use Windows XP.
1. Splash screen comes up...
1. As soon as my application starts I display a splash screen on a different thread whilst the application sets up the environment for the user to login.
2. Now, suppose I have three open applications opened, with their respective icons showing on the task bar.
3. After I've finished the...
This is the background to my question:
1. I added a project (Project1) to VSS and labelled it '1.0'.
2. From the Visual Basic 6.0 IDE I can check files out and in without a problem to update to labelled version 1.1.
3. At this point I created another project(Project2) to work on version 2.0 by...
I would like to know whether it is possible to create group sections with VB DataReport designer without having to use hierarchical recordsets in the Data Environment.<br><br>Please note, I am using a disconnected recordset.<br><br>Thank You.
I would like to know whether it is possible to create group sections with VB DataReport designer without having to use hierarchical recordsets in the Data Environment.<br><br>Please note, I am using a disconnected recordset.<br><br>Thank You.
The problem has been solved, praise God!!<br><br>Here's the explanation for those who might be interested:<br><br>Activation security has two levels: machine-wide settings and per-class settings. I had configured the server class using the DCOMCNFG application settings for both ‘Custom Access...
Thank you very much for your reply John.<br><br>I am so desperate to have this problem fixed that I appreciate any input.<br><br>You mentioned in your reply about giving USER1 administrative rights. This is what I have done by placing USER1 in the Administrators group. It dind't help. It seems...
I am a VB 6.0 programmer (from Australia) experimenting with DCOM.<br> <br>I have an experimental network set-up with one NT Server 4.0(SP4) which I'll call NT-SERVER and one NT Workstation (SP6) which I'll call NT-WS1. I am experimenting with a test DCOM application written in VB6. The...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.