Results 1 to 2 of 2

Thread: API and Notepad

  1. #1

    Thread Starter
    Member
    Join Date
    Jul 2000
    Location
    Sydney, Nova Scotia
    Posts
    55
    Is there an API that will open notepad?

    More specifcally a text file in notpad? If so can someone tell me the code?

    For example, someone clicks a button and the desired text file appears in notepad.....
    Vince McMullin
    Aka Vam, Vinny Mac

    Its just that simple

  2. #2
    Guest
    You can just Shell Notepad and pass the file name as the command line argument.

    Code:
    Shell "C:\Windows\Notepad.exe C:\MyTextFile.txt", vbNormalFocus

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