Skip to main content


Showing posts from February, 2006

ClickOnce Information from User Group Meeting

  Information was presented by Kate Gregory of Gregory Consulting Limited ( ). Kate is a Microsoft C++ MVP and a Regional Director. Her email address is . Tip 1 Download optional files asynchronously using ClickOnce and System.Deployment.Application.ApplicationDeployment Here is some example VB code: Public Class Form1 Private WithEvents ad As _ System.Deployment.Application.ApplicationDeployment Private Sub Button1_Click(ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles Button1.Click ad = System.Deployment.Application.ApplicationDeployment.CurrentDeployment ad.DownloadFileGroup(“sales”) End Sub Private Sub ad_DownloadFileGroupCompleted(ByVal sender As Object, _ ByVal e As System.Deployment.Application.DownloadFileGroupCompletedEventArgs) _ Handles ad.DownloadFileGroupCompleted Dim f As New OnDemandForm.OnDemandForm f.Show() End Sub End Class The solution has two projects where the form in the second project is named OnDe