Hannibal.l
20-02-2013, 17:43
Ho creato un semplice Criptatore/decriptatore e volevo la vostra opinione...
è scritto in visual basic
http://www.axifile.com/en/DD543C1A13
The_ouroboros
20-02-2013, 21:12
PLATFORM VERSION INFO
Windows : 5.1.2600.196608 (Win32NT)
Common Language Runtime : 4.0.30319.296
System.Deployment.dll : 4.0.30319.1 (RTMRel.030319-0100)
clr.dll : 4.0.30319.296 (RTMGDR.030319-2900)
dfdll.dll : 4.0.30319.1 (RTMRel.030319-0100)
dfshim.dll : 4.0.31106.0 (Main.031106-0000)
SOURCES
Deployment url : file:///C:/Documents%20and%20Settings/Owner/Desktop/axifile.com-Hannibal's%20ascii/Programma%20pubblicato/Hannibal_s_ascii.application
IDENTITIES
Deployment Identity : Hannibal_s_ascii.application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=276326e70a5ad3bb, processorArchitecture=x86
APPLICATION SUMMARY
* Installable application.
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of C:\Documents and Settings\Owner\Desktop\axifile.com-Hannibal's ascii\Programma pubblicato\Hannibal_s_ascii.application resulted in exception. Following failure messages were detected:
+ Downloading file:///C:/Documents and Settings/Owner/Desktop/axifile.com-Hannibal's ascii/Programma pubblicato/Application Files/Hannibal_s_ascii_1_0_0_0/Hannibal_s_ascii.exe.manifest did not succeed.
+ Could not find a part of the path 'C:\Documents and Settings\Owner\Desktop\axifile.com-Hannibal's ascii\Programma pubblicato\Application Files\Hannibal_s_ascii_1_0_0_0\Hannibal_s_ascii.exe.manifest'.
+ Could not find a part of the path 'C:\Documents and Settings\Owner\Desktop\axifile.com-Hannibal's ascii\Programma pubblicato\Application Files\Hannibal_s_ascii_1_0_0_0\Hannibal_s_ascii.exe.manifest'.
+ Could not find a part of the path 'C:\Documents and Settings\Owner\Desktop\axifile.com-Hannibal's ascii\Programma pubblicato\Application Files\Hannibal_s_ascii_1_0_0_0\Hannibal_s_ascii.exe.manifest'.
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
There were no warnings during this operation.
OPERATION PROGRESS STATUS
* [20/02/2013 22.12.07] : Activation of C:\Documents and Settings\Owner\Desktop\axifile.com-Hannibal's ascii\Programma pubblicato\Hannibal_s_ascii.application has started.
* [20/02/2013 22.12.08] : Processing of deployment manifest has successfully completed.
* [20/02/2013 22.12.08] : Installation of the application has started.
ERROR DETAILS
Following errors were detected during this operation.
* [20/02/2013 22.12.08] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
- Downloading file:///C:/Documents and Settings/Owner/Desktop/axifile.com-Hannibal's ascii/Programma pubblicato/Application Files/Hannibal_s_ascii_1_0_0_0/Hannibal_s_ascii.exe.manifest did not succeed.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
at System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()
at System.Deployment.Application.FileDownloader.Download(SubscriptionState subState)
at System.Deployment.Application.DownloadManager.DownloadManifestAsRawFile(Uri& sourceUri, String targetPath, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
at System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest deploymentManifest, String targetDir, Uri deploymentUri, IDownloadNotification notification, DownloadOptions options, Uri& appSourceUri, String& appManifestPath)
at System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState, ActivationDescription actDesc, Int64 transactionId, TempDirectory& downloadTemp)
at System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState& subState, ActivationDescription actDesc)
at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
--- Inner Exception ---
System.Net.WebException
- Could not find a part of the path 'C:\Documents and Settings\Owner\Desktop\axifile.com-Hannibal's ascii\Programma pubblicato\Application Files\Hannibal_s_ascii_1_0_0_0\Hannibal_s_ascii.exe.manifest'.
- Source: System
- Stack trace:
at System.Net.FileWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.FileWebRequest.GetResponse()
at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
--- Inner Exception ---
System.Net.WebException
- Could not find a part of the path 'C:\Documents and Settings\Owner\Desktop\axifile.com-Hannibal's ascii\Programma pubblicato\Application Files\Hannibal_s_ascii_1_0_0_0\Hannibal_s_ascii.exe.manifest'.
- Source: System
- Stack trace:
at System.Net.FileWebResponse..ctor(FileWebRequest request, Uri uri, FileAccess access, Boolean asyncHint)
at System.Net.FileWebRequest.GetResponseCallback(Object state)
--- Inner Exception ---
System.IO.DirectoryNotFoundException
- Could not find a part of the path 'C:\Documents and Settings\Owner\Desktop\axifile.com-Hannibal's ascii\Programma pubblicato\Application Files\Hannibal_s_ascii_1_0_0_0\Hannibal_s_ascii.exe.manifest'.
- Source: mscorlib
- Stack trace:
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.Net.FileWebStream..ctor(FileWebRequest request, String path, FileMode mode, FileAccess access, FileShare sharing, Int32 length, Boolean async)
at System.Net.FileWebResponse..ctor(FileWebRequest request, Uri uri, FileAccess access, Boolean asyncHint)
COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.
Hannibal.l
20-02-2013, 22:19
Puoi spiegare bene che errore ti da? non ti permette di installarlo? ho messo l'eseguibile una cartella zip ho gia provato su un'altro computer e basta aprire l'eseguibile non dovrebbe dare errori!:rolleyes:
The_ouroboros
21-02-2013, 06:42
Provato l'eseguibile.. Quello è l'errore.. :)
Inviato dal mio Sony Xperia P
Ho creato un semplice Criptatore/decriptatore e volevo la vostra opinione...
è scritto in visual basic
http://www.axifile.com/en/DD543C1A13
provato :)
voto per l'impegno 9, voto di realizzazione 4 e 1/2
indipendentemente da cosa fa il software e come lo fa ci sono alcune cose migliorabili:
Manca un menu principale, il classico File (con Esci) e le opzioni per criptare e decriptare, dovrei cliccare il pulsante in basso se voglio passare direttamente al decriptatore
Gestione delle eccezioni, in fase di decrypt mi sono usciti spesso errori di errata conversione provando una chiave più corta di quella che avevo usato (studiare quindi try catch)
nel codice ho visto alcuni controlli con nomi comprensibili, altri lasciati come label1,label2, progressbar1, non si fa (quindi fare refactoring)
come vedi quelli che ho elencato sono problemi non legati a quello che fa il tuo programma ma cose base che dovresti considerare in ogni programma che andrai a fare.
ps: consiglio che non sei costretto a seguire, passa a C# :sofico:
Hannibal.l
21-02-2013, 16:41
provato :)
voto per l'impegno 9, voto di realizzazione 4 e 1/2
indipendentemente da cosa fa il software e come lo fa ci sono alcune cose migliorabili:
Manca un menu principale, il classico File (con Esci) e le opzioni per criptare e decriptare, dovrei cliccare il pulsante in basso se voglio passare direttamente al decriptatore
Gestione delle eccezioni, in fase di decrypt mi sono usciti spesso errori di errata conversione provando una chiave più corta di quella che avevo usato (studiare quindi try catch)
nel codice ho visto alcuni controlli con nomi comprensibili, altri lasciati come label1,label2, progressbar1, non si fa (quindi fare refactoring)
come vedi quelli che ho elencato sono problemi non legati a quello che fa il tuo programma ma cose base che dovresti considerare in ogni programma che andrai a fare.
ps: consiglio che non sei costretto a seguire, passa a C# :sofico:
Ciao!
allora intanto mi fa piacere che tu sia stato cosi sincero e mi abbia risposto subito, comunque il primo punto l'ho capito e posso sistemarlo facilmente, il secondo invece non mi è chiedo con quali chiavi ti da errore (ho inserito controlli che impedissero di inserire lettere e il valore 0 ma che accettasse qualsiasi numero n>=1)...mi sono accorto che invece hai ragione se intendi dire che in fase di decriptazione supponendo che prima tu abbia usato una chiave uguale a 3 e poi dopo la abbassi a 2 invece che darti un'altro valore ti da errore... non me ne ero accorto perchè anzi se invece di inserire la chiave giusta ne inserivi una maggiore, per esempio 45 non dava errore ma avendo utilizzato l'ascii nella conversione semplicemente rende un'altro testo che non corrisponde a quello criptato quindi anzi pensavo fosse un pregio...non so se mi sono spiegato bene ahah ;) per il 3 punto si in effetti è vero ma devi sapere che era un programma che feci in terza superiore (ora sono in 5) quando si faceva il visual basic e non sono stato tanto a controllare i nomi :muro: comunque ora che mi hai detto queste cose posso migliorarlo e spero di arrivare almeno ad un 6 dai
vBulletin® v3.6.4, Copyright ©2000-2025, Jelsoft Enterprises Ltd.