Wrox Programmer Forums
|
Pro VB 6 For advanced Visual Basic coders working in version 6 (not .NET). Beginning-level questions will be redirected to other forums, including Beginning VB 6.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB 6 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 May 16th, 2007, 01:45 PM
Friend of Wrox
 
Join Date: Oct 2006
Posts: 112
Thanks: 12
Thanked 0 Times in 0 Posts
Default Win API question....

Hello, I have a question concerning WinAPI. I've previously coded many successful apps using the WinAPI functions. Please allow me to give a brief description of my recet app.

I sm now testing an app which attempts to close the "Interactive Logon Message" in Win2000 Server. This app uses the FindWindowEx API function to enumerate windows, and when it finds the window, it closes the window. This code works when in the Windows shell (logged in to Win2000).

I've setup a service (wrapper) to run my app, because technically, when the "Interactive Logon Message" appears, we are STILL in the boot-up process. I know the service works -- because my app writes to a log file.

My problem is that while my app is indeed running (as a service), the "Interactive Logon Message" window DOES NOT close.

Can someone provide me some info how I can accomplish this? Is there another function call other than the WinAPI, that can CLOSE a window before Win2000 actually boots up?

Thank you in advance

-LD







Similar Threads
Thread Thread Starter Forum Replies Last Post
Yet another question about PHP and Win XP config Humberg Beginning PHP 1 August 5th, 2007 10:07 PM
Win API question.... RinoDM VB How-To 1 May 16th, 2007 01:52 PM
win api programming anchal C# 0 July 13th, 2006 01:54 PM
simple API question (I think) - please respond Irwin Fletcher C# 1 July 20th, 2004 02:44 PM





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