c_charly
Messages postés21Date d'inscriptionlundi 27 juin 2005StatutMembreDernière intervention 8 septembre 2005
-
31 août 2005 à 16:18
c_charly
Messages postés21Date d'inscriptionlundi 27 juin 2005StatutMembreDernière intervention 8 septembre 2005
-
31 août 2005 à 17:03
Bonjour,
je developpe un proj en vb et j'aimerai ouvrir le fichier se trouvant a l'adresse c:\DossierPoint\idmag.txt" .
J'ai essaye d'utiliser la commande shell mais je n'arrive tjrs pas a l'ouvrir
ouverturefichier = Shell("notepad" & App.Path & "\DossierPoint" & idmag.txt)
ou encore : .
ouverturefichier = Shell("notepad" & "c:\DossierPoint\idmag.txt")
cs_Tipo
Messages postés82Date d'inscriptiondimanche 2 novembre 2003StatutMembreDernière intervention13 avril 20171 31 août 2005 à 16:37
Hello,
Dans les déclarations :
Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
Private Const SW_SHOWNORMAL = 1