Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

After "Save As", how to open in NotePad the saved text file

Hello,


Right after "Save As" (OK), I'd like VB to automatically open the saved text file in NotePad (to check it...).


Thank you

Andras


Comments

  • There's an API called SHellExecute that you can use. Or you can use the shell command.


    x = Shell("C:WindowsNotepad.exe MyTextFile.txt")


  • : There's an API called SHellExecute that you can use. Or you can use the shell command.


    : x = Shell("C:WindowsNotepad.exe MyTextFile.txt")





  • Andre YoungAndre Young USAMember Posts: 0

    ______ | http://forcoder.org | free video tutorials and ebooks about ( Go Ruby Java C# PHP MATLAB Swift Scratch Visual Basic Python C C++ JavaScript Objective-C Visual Basic .NET R Delphi Assembly PL/SQL Perl Lisp Awk ML Crystal ABAP Scheme Hack Alice Clojure Ada Fortran Kotlin Scala Dart LabVIEW FoxPro Erlang F# Rust Apex VBScript Julia D Lua Logo Bash COBOL Transact-SQL Prolog SAS ) ____________

Sign In or Register to comment.