i have a Clickonce application. It posts to an internal server.
if there is a new version, The client applications are asked to update every time the open the program.
I need a form to open with latest changes, or whatever, ONCE after EVERY update, for EACH user
johnnidip - easiest, but i dont know if it will work if there are multiple users.
james - did not provide details, but ive done something similar which worked.
I save to an xml file onClose, then load it for setting every onLoad of main form.
in the onLoad of my MAIN MDI file, i call this function
'Whats New
Public Sub whatsNew()
Dim assembly__1 As Assembly = Assembly.GetExecutingAssembly()
Dim fvi As FileVersionInfo = FileVersionInfo.GetVersionInfo(assembly__1.Location)
Dim version As String = fvi.FileVersion
If Me.m_Version = version Then
'No news
Else
Me.m_Version = version
'open whats new
Dim F As New frmWhatsNew
F.MdiParent = Me
F.Show()
End If
james - did not provide details, but ive done something similar which worked.
I save to an xml file onClose, then load it for setting every onLoad of main form.
in the onLoad of my MAIN MDI file, i call this function
'Whats New
Public Sub whatsNew()
Dim assembly__1 As Assembly = Assembly.GetExecutingAssem
Dim fvi As FileVersionInfo = FileVersionInfo.GetVersion
Dim version As String = fvi.FileVersion
If Me.m_Version = version Then
'No news
Else
Me.m_Version = version
'open whats new
Dim F As New frmWhatsNew
F.MdiParent = Me
F.Show()
End If