dcsimg


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: opening a program before explorer.exe opens

  1. #1
    Join Date
    Mar 2006
    Posts
    2

    opening a program before explorer.exe opens

    Does anyone know how to open a program before explorer.exe opens? so that the user cant use the task bar etc while its open?

    thanks

  2. #2
    Join Date
    Feb 2006
    Posts
    133
    Hi,

    welcome to the board.

    What exactly do you want to do? Opening any type of file with VB?
    Why would explorer open if you open for example a word doc?
    Benjamin

  3. #3
    Join Date
    Mar 2006
    Posts
    2
    I want to be able to have a program open on logon before explorer comes up so that the user cant use the task bar/icons on the desktop etc

  4. #4
    Join Date
    Nov 2003
    Location
    Alameda, CA
    Posts
    1,737
    AFAIK it is not possible to do it, at least in VB.
    What you need is a "system modal" dialog, that is not supported in VB (and I do not even know if it is supported in the recent OS)
    You can emulate it using both a mouse and keyboard hooks, that intercept and "eat" all events that are not send to your application.
    Look for the SetWndowsHooks API for more documentation, but be careful that using hooks in VB is not easy

    Marco
    "There are two ways to write error-free programs. Only the third one works."
    Unknown

Similar Threads

  1. Replies: 0
    Last Post: 01-10-2006, 02:18 PM
  2. opening a new message window in standard mail program
    By geertvdijk in forum VB Classic
    Replies: 3
    Last Post: 03-14-2005, 01:40 PM
  3. IBM opens beta program for DB2 .NET Enablement
    By Leon Katsnelson in forum Database
    Replies: 0
    Last Post: 02-28-2003, 08:11 PM
  4. closing and opening a program every 30 minutes
    By Shailesh Patel in forum VB Classic
    Replies: 8
    Last Post: 12-07-2001, 04:23 AM
  5. closing and opening a program every 30 minutes
    By Shailesh Patel in forum VB Classic
    Replies: 0
    Last Post: 12-05-2001, 10:25 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center