-- Nicolas G. FAQ VB : http://faq.vb.free.fr API Guide : http://www.allapi.net Google Groups : http://groups.google.fr/ MZ-Tools : http://www.mztools.com/
Salut,
Notepad n'est pas pilotable par automation, il faudtra utiliser un shell :
Call Shell("notepad """ & strDoc & """")
où strDoc est une chaine contenant le chemin complet du document.
Ou utiliser ShellExecute() qui ouvrira ton txt avec le prog par défaut (pas
forcément notepad) :
--
Nicolas G.
FAQ VB : http://faq.vb.free.fr
API Guide : http://www.allapi.net
Google Groups : http://groups.google.fr/
MZ-Tools : http://www.mztools.com/
-- Nicolas G. FAQ VB : http://faq.vb.free.fr API Guide : http://www.allapi.net Google Groups : http://groups.google.fr/ MZ-Tools : http://www.mztools.com/