Spread Upgrades Over the Network

Spread Upgrades Over the Network

I design VB applications for approximately 300 employees in a networked environment. It’s difficult to keepthose PCs up to date with the most current version of an app, so I use VB’s auto-incrementingversion-numbering feature to have the app test if a newer version is available when it launches.Set the app to auto-increment when it’s compiled. Store the setup/upgrade files on a networked drive (besure to use the UNC path rather than drive letters), and include an uncompressed INI file that lists thenewest version available. Then embed this code into the Form_Load event:

 Open IniFile$ For Input As #1Line Input #1, sUpgradeVersion$Close #1If sUpgradeVersion > (Format(App.Major, "00") & "." & _        Format(App.Minor, "00") & "." & _        Format(App.Revision, "0000")) Then                ' shell out to networked upgrade                 ' installation        End     End If

If the version in the networked INI file is greater than that stored within the running app, the app launchesthe upgrade program off the network and exits, so all files can be upgraded. This works especially wellwhen you’re in the early stages of a rollout and need to distribute multiple small incremental patches over anumber of days.

Share the Post:
Heading photo, Metadata.

What is Metadata?

What is metadata? Well, It’s an odd concept to wrap your head around. Metadata is essentially the secondary layer of data that tracks details about the “regular” data. The regular

XDR solutions

The Benefits of Using XDR Solutions

Cybercriminals constantly adapt their strategies, developing newer, more powerful, and intelligent ways to attack your network. Since security professionals must innovate as well, more conventional endpoint detection solutions have evolved

AI is revolutionizing fraud detection

How AI is Revolutionizing Fraud Detection

Artificial intelligence – commonly known as AI – means a form of technology with multiple uses. As a result, it has become extremely valuable to a number of businesses across

AI innovation

Companies Leading AI Innovation in 2023

Artificial intelligence (AI) has been transforming industries and revolutionizing business operations. AI’s potential to enhance efficiency and productivity has become crucial to many businesses. As we move into 2023, several

data fivetran pricing

Fivetran Pricing Explained

One of the biggest trends of the 21st century is the massive surge in analytics. Analytics is the process of utilizing data to drive future decision-making. With so much of