V
VB Programmer
I have a winform app that I want to auto-update whenever there is a new
version on the web server.
I realize that I can have a shortcut pointing to, for example,
http://locahost/myweb/MyApp.exe. But, I always get the "Open" or "Save as"
dialog when I run this. I can't seem to get around this.
I then tried to make a "bootstrap" app that would reside locally, on the
clients machine, that would launch the app. This doesn't work. Any ideas
what I'm doing wrong? Here's the code:
Private Sub frmMain_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
Dim asmMyAssembly As [Assembly] =
[Assembly].LoadFrom("http://localhost/powerweb/powerconsole.exe")
Close()
End Sub
version on the web server.
I realize that I can have a shortcut pointing to, for example,
http://locahost/myweb/MyApp.exe. But, I always get the "Open" or "Save as"
dialog when I run this. I can't seem to get around this.
I then tried to make a "bootstrap" app that would reside locally, on the
clients machine, that would launch the app. This doesn't work. Any ideas
what I'm doing wrong? Here's the code:
Private Sub frmMain_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
Dim asmMyAssembly As [Assembly] =
[Assembly].LoadFrom("http://localhost/powerweb/powerconsole.exe")
Close()
End Sub