begin process at 2008 07 05 04:40:30
1 205 048 membres
34 nouveaux aujourd'hui
14 118 membres club

Vous ne trouvez pas de réponse à votre problème ? Alors posez la question dans le forum.
Souvenez-vous qu'il n'y a jamais de question bête, mais rester dans l'ignorance parce que l'on n'ose pas poser une question, ça c'est une erreur !

Sujet : Probleme shell sur pocketpc [ Archives Visual Basic / J'AI BESOIN D'AIDE !!!! :) ] (Fwdavy)

Probleme shell sur pocketpc le 06/08/2005 14:45:57

Fwdavy

Salut,

je n'arrive pas a executer un .exe avec vb sur pocketPc. J'ai essayé plein de possibilité mais aucune ne marche j'ai toujours le même message :

An unhandled exception of type 'System.IO.FileNotFoundException' occurred in Microsoft.VisualBasic.dll

Additional information: Fichier introuvable.

Pourtant le fichier existe bien !?

If File.Exists("\Storage Card\calc.exe") = True Then

Shell("\Storage Card\calc.exe")

End If

Quelqu'un a une idée ?

Bye


Re : Probleme shell sur pocketpc le 06/08/2005 21:24:10

SupraDolph
essaye sa :

'ou app.path à la place de application.startuppath si c du ns basic
If File.Exists( application.startuppath & "\Storage Card\calc.exe") Then

Shell(application.startuppath & "\Storage Card\calc.exe")

End If

SupraDolph.


Re : Probleme shell sur pocketpc le 08/08/2005 17:30:45

Fwdavy

Non ca ne marche pas car startuppath n'existe pas dans la librairie PocketPC. Shell pourtant mais je me demande franchement à quoi il sert........je me tires les cheveux avec ce problême qui ne devrait vraiment pas en être un.......A moin que ce soit la version beta 2005 qu'a un gros BUG. Si tu as reussi a lancer un .exe en vb sur PPC, pourrais je obtenir la source pour que je puisse tester : j'ai essayé plusieurs methode (même les plus stupide) mais toutes sans exeption me dise la même chose (fichier introuvable)........

                    Shell("""\Storage Card\calc.exe""")
                    Shell("\Storage Card\calc.exe")
                    Shell("file:\Storage Card\calc.exe")
                    Shell("file:\\\Storage Card\calc.exe")
                    Shell("file:/\\\Storage Card\calc.exe")

                    Shell("/Storage Card/calc.exe")
                    Shell("file:/Storage Card/calc.exe")
                    Shell(" [ Lien ] Card/calc.exe")
                    Shell("file:/\\Storage Card/calc.exe")
                    Shell("file://\Storage Card\calc.exe")

                    Dim AA As Object
                    Dim AB As Integer
                    Dim AC As Integer

                    AA = Shell("\Storage Card\calc.exe", 1)
                    AB = Shell("""\Storage Card\calc.exe""", , True, 100000)
                    AC = Shell("\Storage Card\calc.exe", AppWinStyle.NormalFocu


Re : Probleme shell sur pocketpc le 10/08/2005 12:46:31
Re : Probleme shell sur pocketpc le 16/08/2005 15:38:00

Fwdavy
J'ai trouvé : Dim psInfo As New ProcessStartInfo(SDCARD & "data.exe", "/args") Process.Start(psInfo).WaitForExit(1000)


Classé sous : fichier, exe, probleme, shell, pocketpc

Participer à cet échange

Pub



Appels d'offres

CalendriCode

Juillet 2008
LMMJVSD
 123456
78910111213
14151617181920
21222324252627
28293031   

VS Express FR Gratuit !

VS Express en français et 100% gratuit !

Téléchargements

Logiciels à télécharger sur le même thème :

Boutique

Boutique de goodies CodeS-SourceS