VB/VB.Net Probléme Ouverture d'un fichier .exe

Inscrit
9 Octobre 2012
Messages
27
Reactions
0
#1
Alors bonjour comme le dis mon titre j'ai un probléme ..
Quand j'execute mon programme que j'ai compiler en .exe chez moi il marche..
Mais des que je l'envoie a des amis il ne marche pas .. Ce message a pour but de faire un sondage (pour un tournois de ping pong^^) et de me le retourner par mail .. Donc j'ai utiliser smtp et tous ..

Mail.Body = total


MySMTP.Port = "587"
MySMTP.Credentials = New System.Net.NetworkCredential("***@gmail.com", "**")
MySMTP.EnableSsl = "true"

MySMTP.Send(Mail)

Et donc voila je ne comprend pas.. Merci de votre réponce !
 

ToOnS

Membre Actif
Inscrit
8 Avril 2009
Messages
974
Reactions
0
#2
Salut , pourquoi il marche pas ? Il se lance pas ? Ils ont le bon Framework installé (bon ca revient a il se lance pas) ? Y'a un message d'erreur ? Il se lance mais envoie pas le mail ? Un extra terrestre sort de l'ecran en se moquant du code ?
 
Inscrit
9 Octobre 2012
Messages
27
Reactions
0
#3
Un extra terrestre sort de l'ecran en se moquant du code ? Oui c'est ça le prob .. :p Nan je déconne !
INFORMATIONS SUR LA VERSION DE LA PLATEFORME
Windows : 6.2.9200.0 (Win32NT)
Common Language Runtime : 4.0.30319.18033
System.Deployment.dll : 4.0.30319.17929 built by: FX45RTMREL
clr.dll : 4.0.30319.18033 built by: FX45RTMGDR
dfdll.dll : 4.0.30319.17929 built by: FX45RTMREL
dfshim.dll : 4.0.31106.0 (Main.031106-0000)
SOURCES
Url de déploiement : file:///C:/Users/Martin/Downloads/WindowsApplication1.application
IDENTITÉS
Identité de déploiement : WindowsApplication1.application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ff6e2ef7ad0a413c, processorArchitecture=x86
RÉSUMÉ DES APPLICATIONS
* Application installable.
RÉSUMÉ DES ERREURS
Un résumé des erreurs est fourni ci-dessous. Les détails de ces erreurs sont indiqués plus loin dans le fichier journal.
* L'activation de C:\Users\Martin\Downloads\WindowsApplication1.application a provoqué une exception. Les messages d'erreur suivants ont été détectés :
+ Les zones de sécurité du déploiement et de l'application ne correspondent pas.
RÉSUMÉ DES ERREURS DE LA TRANSACTION DU MAGASIN DE COMPOSANTS
Aucune erreur de transaction n'a été détectée.
AVERTISSEMENTS
Aucun avertissement n'a été émis pendant cette opération.
ÉTAT DE LA PROGRESSION DE L'OPÉRATION
* [12/04/2013 22:59:11] : L'activation de C:\Users\Martin\Downloads\WindowsApplication1.application a commencé.
* [12/04/2013 22:59:12] : Traitement du manifeste de déploiement terminé.
* [12/04/2013 22:59:12] : L'installation de l'application a commencé.
DÉTAILS DE L'ERREUR
Les erreurs suivantes ont été détectées au cours de cette opération.
* [12/04/2013 22:59:12] System.Deployment.Application.InvalidDeploymentException (Zone)
- Les zones de sécurité du déploiement et de l'application ne correspondent pas.
- Source : System.Deployment
- Trace de la pile :
à System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest deploymentManifest, String targetDir, Uri deploymentUri, IDownloadNotification notification, DownloadOptions options, Uri& appSourceUri, String& appManifestPath)
à System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest deploymentManifest, String targetDir, Uri deploymentUri, Uri& appSourceUri, String& appManifestPath)
à System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState, ActivationDescription actDesc, Int64 transactionId, TempDirectory& downloadTemp)
à System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState& subState, ActivationDescription actDesc)
à System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
à System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
DÉTAILS DE LA TRANSACTION DU MAGASIN DE COMPOSANTS
Aucune information disponible sur la transaction.
 
Inscrit
9 Octobre 2012
Messages
27
Reactions
0
#4
Donc je ne sais pas du tous comment resoudre se probleme ..
 
Inscrit
9 Octobre 2012
Messages
27
Reactions
0
#5
Personne à de réponce a la résolution de mon probléme ?..
 
Haut Bas