Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need To Close An Application
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00691241
Message ID:
00691485
Views:
22
>No, it does not work with notepad either.
>
>It s a VFP 7 app running on Win2K.
>
>
>lnhwnd = FindWindow(0,tcwindow)
>
>
>is returning 0

Make sure that tcwindow matches NotePad Window title exactly. It works for me in VFP7SP1 under Win2KSP3 with
tcwindow = "Untitled - NotePad"
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform