Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to know the EXCEL is running
Message
From
08/11/2005 08:21:07
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
08/11/2005 04:59:29
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 6 SP3
OS:
Windows 2000
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01066340
Message ID:
01066388
Views:
12
>Hi everyone,
>
>I have two question as below :-
>
>A. How can i know the EXCEL application is running in window ?
>
>B. How can i know the EXCEL FILE is opened by EXCEL at this monment ?
>
>Thank a lot

A)
DECLARE integer FindWindow in WIN32API string cNull, string cWinName
? 'Excel is'+Iif( FindWindow('XLMAIN', 0) > 0,'',' NOT')+' running.'

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform