Using third party control to realize software online upgrade in VB

Source: Internet
Author: User

Jinshan Poison PA, rising, such as anti-virus software online upgrade must be not unfamiliar with it? They can be upgraded online using online upgrades without the need for users to visit the site for downloading. Such a function is indeed very convenient for the user. So, do you also want to add a convenient online upgrade to your software? Here is a third party control that can help you achieve it very easily.

The Bkdlcontrol control, a control that can quickly implement online downloads, displays progress through the progress bar while downloading. You can write events when the download is complete, so that we can easily achieve the goal of online upgrades.

To understand the powerful and convenient features of the control, let's take a look at the following example.

Step one: Start Visual Basic 6.0 first and create a new window.

Step two: Load the Bkdlcontrol control.

① Right-click in the Control toolbar, select "Part" and click "Browse" in the pop-up window to locate the Bkdlcontrol control, load it, and name it "DL", because it is a progress bar, so drag the size into an appropriate strip and place it in the Form1 form. Other properties remain the default.

Step three: Load other controls to complete the setup of the interface.

① adds 2 CommandButton controls to the form, with the name Cmdbegin and cmdcancel,caption respectively "Start" and "Cancel", where the Enabled property for Cmdcancel is "False."

② Add a ComboBox control with the name Cbourl, add several download addresses to the list (Figure 1), and the other attributes remain the default. Add this control to select the download address, so that you can use the user's own choice to download the server.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.