Get Microsoft Notepad Source Code?-VBForums
Results 1 to 4 of 4

Thread: Get Microsoft Notepad Source Code?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Dec 2009
    Posts
    78

    Get Microsoft Notepad Source Code?

    Is it possible to see how notepad works in visual basic? Like see all the events and all. My friend said it's possible to open programs in notepad; but I've googled it and I can't seem to find anything. So is it possible? If so how? ty

  2. #2
    Fanatic Member Satal Keto's Avatar
    Join Date
    Dec 2005
    Location
    Me.Location
    Posts
    518

    Re: Get Microsoft Notepad Source Code?

    Do you mean seeing the source code for Notepad? Or do you mean viewing source code in notepad (as you seem to suggest that you friend said you could).

    It MAY be possible to view similar code to what was used for developing Notepad. You would need to decompile the exe, although I would like to advise you that I believe that doing this is illegal in the US at least (I could be wrong I live in the UK, so I'm not 100% about US law).
    If the application was developed in .NET (which I don't believe it is) then it would be possible to use something like Reflector to decompile it and get approximately the source code back, although it will not have any comments or anything like that.
    If it is not developed in .NET then while I'm sure its possible, I don't know how you could go about doing it.

    If you're just looking to view source code in Notepad, then well thats completely possible, but it won't look as nice as it does in the VS IDE, and you would see a lot of other information which the IDE generally hides from you as you don't need to see (I.E. the form designer stuff, at least in the most recent versions of VS).

    I hope that this helps

    Satal

  3. #3
    vb Coda .paul.'s Avatar
    Join Date
    May 2007
    Location
    Chelmsford UK
    Posts
    19,280

    Re: Get Microsoft Notepad Source Code?

    notepad is just a simple text editor, there are loads of examples on the www.
    it is possible to open source code files in notepad

  4. #4
    vb Coda .paul.'s Avatar
    Join Date
    May 2007
    Location
    Chelmsford UK
    Posts
    19,280

    Re: Get Microsoft Notepad Source Code?

    Quote Originally Posted by Satal Keto View Post
    you would see a lot of other information which the IDE generally hides from you as you don't need to see (I.E. the form designer stuff, at least in the most recent versions of VS).
    not in .Net. it's all in the .designer.vb file. but in classic vb, certainly

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.