Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I manage a Notepad session ?
Message
From
11/10/2001 21:46:53
 
 
To
11/10/2001 21:25:03
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00567365
Message ID:
00567374
Views:
22
Henry:

No. Neither NotePad nor WordPad are COM servers as MSWord is. Therefore they do not have an "object model" to refer to an you cannot control them through COM.

If all you want is a simple text editor (and Notepad is "simple" to put it nicely :), you can create a form with an edit box in VFP. You can save the text in a Memo field or in an external TXT file.



>Hi,
>
>Is there a way to create a Notepad object ? I would like to open Notepad and show text. The next call to Notepad should use the same instance and just replace the text. I know you can make an object that references Word.Application. Can the same be done with Notepad ? If so, where can I get a list of the available commands/methods in Notepad ?
>
>If not Notepad, how about WordPad ? For my use, Word would be to much.
>
>Thanks
>
>Henry


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform