Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Charis

  1. Charis

    Regaining focus after thread terminates

    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...
  2. Charis

    Regaining focus after thread terminates

    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...
  3. Charis

    Regaining focus after thread terminates

    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...
  4. Charis

    Regaining focus after thread terminates

    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...
  5. Charis

    Regaining focus after thread terminates

    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...
  6. Charis

    How to make a project current after it has been branched.

    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...
  7. Charis

    How to create DataReport groups from disconnected recordsets

    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.
  8. Charis

    How to create DataReport groups in disconnected recordsets

    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.
  9. Charis

    DCOM Security torture. Stuck on run time error 70 (Permission Denied)

    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...
  10. Charis

    DCOM Security torture. Stuck on run time error 70 (Permission Denied)

    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...
  11. Charis

    DCOM Security torture. Stuck on run time error 70 (Permission Denied)

    I am a VB 6.0 programmer (from Australia) experimenting with DCOM.<br>&nbsp;<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...

Part and Inventory Search

Back
Top