-
May 4th, 2021, 09:14 AM
#1
Thread Starter
New Member
[RESOLVED] Replace the Windos notepad with mine
Hey guys,
I wrote a simple notepad, and I would like to replace it with the standard windows notepad, when I go to "Open with" to choose my notepad and open the ".txt" file, my notepad opens, but it doesn't load the text, as I can resolve this?
Thanks
-
May 4th, 2021, 09:39 AM
#2
Re: Replace the Windos notepad with mine
Your program should be opened along with a parameter that contains the full path and filename that is being opened. This parameter is accessible via the "Command" function.
When your program loads, you need to do something like this pseudocode in an appropriate event like form_load:
Code:
If Command <> ""
'Command contains the path and filename
'Add code here to open this file and display it in your notepad window
End If
-
May 4th, 2021, 09:47 AM
#3
Re: Replace the Windos notepad with mine
-
May 4th, 2021, 11:54 AM
#4
Thread Starter
New Member
Re: Replace the Windos notepad with mine
Thank you very much guys, hugs!
-
May 5th, 2021, 12:48 AM
#5
Re: [RESOLVED] Replace the Windos notepad with mine
There is (was) a notepad alternative on PSC.
PSC has died, but some of our members have made copies available on a couple of web sites.
Someone might chip in and guide you to download it from one of those sites ?
OR, you could email me, and I will send you the zip
If you look at my vbforums profile, my email address is in my Biography
The download file is called iQ_Notepad20867710112007.zip
I tried doing what you requested in your OP (Open a txt file with 'Open With')
And it opens IQNotepad, AND displays the contents of the txt file
When one downloads from PSC, we also get a descriptive text file.
HERE ARE THE CONTENTS
Title: iQ Notepad (Update 11 Oct 2007)
Description: A pretty significant update to the iQ Notepad clone project. iQ Notepad is a text based editor that maintains the basic functionality and integrity of Microsoft Notepad but adds enhancements like spell check, change case, importing/converting Rich Text and Microsoft Word files, inserting/appending files, a recent files menu, quick access to extended ASCII/ANSI symbols and characters, a toolbar and more. See the iQ NotePad Help Manual (PDF) accessible from the Help Menu of iQ Notepad. For those looking for a full featured word processor please see iQ WordPad also available on PSC. iQ WordPad is an easy to use Word Processor that includes features like Tables, Text Highlighting, Headers and Footers, Print Preview and many other features unavailable in Microsoft's Wordpad. Go to http://www.planet-source-code.com/vb...7&lngWId=1
This file came from Planet-Source-Code.com...the home millions of lines of source code
You can view comments on this code/and or vote on it at: http://www.Planet-Source-Code.com/vb...68906&lngWId=1
The author may have retained certain copyrights to this code...please observe their request and the law by reviewing all copyright conditions at the above URL.
-
May 5th, 2021, 01:31 AM
#6
Re: [RESOLVED] Replace the Windos notepad with mine
Here it is: https://github.com/Planet-Source-Cod...-2007__1-68906
It is easy to find:
search in google: planet source code
The second result goes to https://github.com/Planet-Source-Code
There, in the 'Find a repository' field, write: iQ Notepad
You can also search by the project number: 68906
That's working thanks to wqweto.
Tags for this Thread
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
|