Skip to main content

Posts

Showing posts from February, 2006

ClickOnce Information from User Group Meeting

  Information was presented by Kate Gregory of Gregory Consulting Limited ( http://www.gregcons.com/ ). Kate is a Microsoft C++ MVP and a Regional Director. Her email address is   kate@gregcons.com . 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