how can i set 2 url support for update..
Code:
httpclient = New WebClient
Dim sourceurl = "http://sample.com/downloa/update.txt"
Dim filedir = My.Application.Info.DirectoryPath.ToString & "\" & "update.txt"
Try
httpclient.DownloadFileAsync(New Uri(sourceurl), (filedir))
Catch ex As Exception
MsgBox("failed update" & ErrorToString(), MsgBoxStyle.Critical)
End Try
Re: how can i set 2 url support for update..
May I suggest that you actually explain what your problem is? Your thread title doesn't really mean anything and your code is just a bit of code. If you can't be bothered to type a proper description then probably noone else could be bothered to try to work out what you want, which appears to be what has happened. Every time you post, provide a FULL and CLEAR description of EXACTLY what you want to do, how you're trying to do it and what happens when you try. It is far better to post too much information than not enough.