Results 1 to 6 of 6

Thread: [RESOLVED] Replace the Windos notepad with mine

  1. #1

    Thread Starter
    New Member Pix_Man's Avatar
    Join Date
    Nov 2019
    Posts
    11

    Resolved [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

  2. #2
    PowerPoster
    Join Date
    Nov 2017
    Posts
    3,116

    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

  3. #3
    PowerPoster jdc2000's Avatar
    Join Date
    Oct 2001
    Location
    Idaho Falls, Idaho USA
    Posts
    2,393

    Re: Replace the Windos notepad with mine


  4. #4

    Thread Starter
    New Member Pix_Man's Avatar
    Join Date
    Nov 2019
    Posts
    11

    Re: Replace the Windos notepad with mine

    Thank you very much guys, hugs!

  5. #5
    Frenzied Member
    Join Date
    Dec 2008
    Location
    Melbourne Australia
    Posts
    1,487

    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&amp;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.

  6. #6
    PowerPoster
    Join Date
    Feb 2017
    Posts
    4,996

    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
  •  



Click Here to Expand Forum to Full Width