Automatic Updates
Heres your chance to share your own tutorials with the community. Just post them on here. If your lucky they may even be posted on the main site.
Hello Marve25,
I think your getting that error because the page: https://sites.google.com/site/tvilsomme ... nload.html doesnt exist. This page needs to have the URL to where your updated *.exe is located.
If you still have trouble you can just hard code the link to your updated *.exe file like this. change the Form_load code to this:
That should work.
I think your getting that error because the page: https://sites.google.com/site/tvilsomme ... nload.html doesnt exist. This page needs to have the URL to where your updated *.exe is located.
If you still have trouble you can just hard code the link to your updated *.exe file like this. change the Form_load code to this:
Code: Select all
Then change: http://www.YOURSITE.com/UpdatedAPP.exe to the URL of your updated.exe file you need to download.Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim page As String = "http://www.YOURSITE.com/UpdatedAPP.exe"
Dim WebUpdate As System.Net.WebClient
WebUpdate = New System.Net.WebClient()
AddHandler WebUpdate.DownloadProgressChanged, AddressOf OnDownloadProgressChanged
AddHandler WebUpdate.DownloadFileCompleted, AddressOf OnFileDownloadCompleted
WebUpdate.DownloadFileAsync(New Uri(page), Application.StartupPath & "\Updated.exe")
End Sub
That should work.
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
Just something to let people know, you can upload exe files to google sites by changing the file name to something else (like .zip, etc.) and make your program change it back to .exe once downloaded.
This helps because Google Sites does not allow the uploading of .exe files.
This helps because Google Sites does not allow the uploading of .exe files.
Hey
This is annoying little reminder that either someone has miswritten the URL, or deleted the file ( no File Exists ).
So check your Code, the ERROR will be in there
Chris
This is annoying little reminder that either someone has miswritten the URL, or deleted the file ( no File Exists ).
So check your Code, the ERROR will be in there
Chris
Actually, I got it fixed by registering at imageshack. But I think you have to stay logged in, in order to see the pics.
umm the google sites doesn't let me upload .exe's ???
HOW AM I SUPPOSE TO UPATE MY PROGRAM THEN?
HOW AM I SUPPOSE TO UPATE MY PROGRAM THEN?
i'm a member for over a year now and when i registered i was just starting programing and this code looked very complicated but now i've tested it and it works perfectly! nice tutorial Craig Thanks.
You can find me on Facebook or on Skype mihai_92b
lesan101 wrote:umm the google sites doesn't let me upload .exe's ???for websites that dont allow .exe files for direct upload the only option is FTP (but i dont think that Google has ftp. you should try other webhosts.)
HOW AM I SUPPOSE TO UPATE MY PROGRAM THEN?
You can find me on Facebook or on Skype mihai_92b
um that my dear friend is called bumping and i dont think so because VB6 code works different than VB2k5 Vb2k8 and Vb2k10 and most likely vb2k12
Copyright Information
Copyright © Codenstuff.com 2020 - 2023