Redémarrer en mode Ms-Dos

rodrigos - 12 sept. 2001 à 14:12
 mds - 15 sept. 2001 à 18:15
Existe-t-il une fonction pour redémarrer en mode ms-dos depuis une aplication vb?

2 réponses

Essaye ceci :
Shell "C:\Command.Com",vbHide
ou
Shell "Start C:\Command.Com",vbHide
0
-------------------------------
Réponse au message :
-------------------------------

Essaye ceci : (Pour ouvrir en fenetre)
Shell "C:\Command.Com",vbNormalFocus
ou
Shell "Start C:\Command.Com",vbHide

ou ceci pour redémarrer :
<#
Private Declare Function SHShutdownDialog Lib "shell32" Alias "#60" (ByVal Yourguess As Long) As Long
Private Sub Form_Load()
WinClose
End Sub
Public Function WinClose() As Long
WinClose = SHShutdownDialog(1)
End Function
>#

Tu n'as plus qu'a choisir le mode de démarrage !

-------------------------------
Réponse au message :
-------------------------------

Existe-t-il une fonction pour redémarrer en mode ms-dos depuis une aplication vb?
0
Rejoignez-nous