Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
VB6: Events between 2 apps
Name: rainchild19 Date: September 23, 2002 at 11:58:06 Pacific OS: Win XP CPU/Ram: P III 256 RAM
Comment:
Hi,
If I have 1 applications running on the machine, at the top most level, and then click on a seprate applications (say Notepad.exe) how do I capture an event in my original applications to say that it is no longer the active applications? Any suggestions would be greatly appreciated. Thanks!
Name: Jeff J Date: September 24, 2002 at 09:44:01 Pacific
Reply:
When an app is at topmost level (top of zorder), it will be the app in-focus. If I remember accurately (I do not have VB6 near me at the moment), the form event is called LostFocus. Just beware that if your app launches a dialog of any kind, it will also lose focus, even though it is still the top level application (just technically no longer the particular window with focus). In that case, just check to see if any dialogs are causing the loss of focus, before assuming your app is no longer top level.
Summary: Hi Bull @echo off set Count=0 for /f "tokens=*" %%a in (tmp.txt) do call :Newfile %%a exit /b :Newfile %* set /a Count%%=2 echo %* if %count%==0 echo Yah exit /b ...
Summary: hi!!! i'm doing a project useing visual basic 6 and i want to know how to make a link between 2 forms just like a hyperlink on a website and stuff. i want to make somthing similar like that but using ...