Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MSINFO - Preventing Multiple Instances
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00018357
Message ID:
00018481
Views:
41
>>I used the sample about form that came with VFP and found that user can launch many instances of the MSINFO or MSINFO32 program. Is there an easy way to prevent an additional launch short of using FoxTools.fll with RegFn and Callfn stuff. Why didn't MS make this modal? Any comments are appreciated.
>
>I think you can only do it with the FindWindow API call
>but you don't have to use RegFN or CallFN to work with it in VFP
>you can just
>DECLARE Integer FindWindow IN win32api Integer,String
>lhandle=FindWindow(0,"windowname")
>
>Arnon

Thanks! I assumed as much...
Steve Medvid
Systems Analyst

Environmental Resource Management
Previous
Reply
Map
View

Click here to load this message in the networking platform