|
-
Jun 18th, 2013, 01:06 PM
#1
[RESOLVED] Notepad Application
I'm working on a VB6 project which among many things needs a textbox that has Notepad capabilities.
Anyone have such a Form with code?
I originally started out by embedding Notepad into the project which was easy enough but then I found that communicating with Notepad was a problem. I tried SendKeys with no go there (totally undependable) then I tried using the handle of Notepad but found that wouldn't do much good as I needed to actually control Notepad's menu bar items which I have no idea how to do that. Ok, so I figured just make the app using a textbox instead but now I don't have the functionalities of Notepad.
Last edited by jmsrickland; Jun 18th, 2013 at 01:32 PM.
Anything I post is an example only and is not intended to be the only solution, the total solution nor the final solution to your request nor do I claim that it is. If you find it useful then it is entirely up to you to make whatever changes necessary you feel are adequate for your purposes.
-
Jun 18th, 2013, 01:44 PM
#2
Re: Notepad Application
Which things are you missing? Which things do you need?
-
Jun 18th, 2013, 02:01 PM
#3
Re: Notepad Application
Going through the menu bar of Notepad these are what I need
File
----
Page Setup
Print
Edit
----
Find
Find Next
Replace
Go To...
Time/Date
Format
-------
Word Wrap
Font
View
----
Status Bar
Anything I post is an example only and is not intended to be the only solution, the total solution nor the final solution to your request nor do I claim that it is. If you find it useful then it is entirely up to you to make whatever changes necessary you feel are adequate for your purposes.
-
Jun 18th, 2013, 02:10 PM
#4
Re: Notepad Application
Try this one from Andrea Batina.
-
Jun 21st, 2013, 07:18 PM
#5
Re: Notepad Application
Excellent link, Sam. It has all the code I need. Thanks, I appreciate this.
Anything I post is an example only and is not intended to be the only solution, the total solution nor the final solution to your request nor do I claim that it is. If you find it useful then it is entirely up to you to make whatever changes necessary you feel are adequate for your purposes.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|