473,394 Members | 1,746 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Check for Updates

I want to have my program automatically check for a new version when it is
run. My app is in VB.NET (VS 2003). Updates are posted on my website and I
would like the app to go to the site and check for updates automatically. I
can't seem to find any information on how to do this.

If anyone could point me in the right direction I would be grateful!
Sep 8 '06 #1
3 4727
Hello, H8ComputersSomeDays!

Basically you need a text file on the server which contains the version
information (download it as text file, not as binary). When your
application starts, it should download that file and check if the
version number in that file is higher.
However, you should check if the user is an administrator. If (s)he is
not, then you might show the message, but should not download the file
to install it since a normal user account does not have that privilege.

Best Regards,

HKSHK

H8ComputersSomeDays wrote:
I want to have my program automatically check for a new version when it is
run. My app is in VB.NET (VS 2003). Updates are posted on my website and I
would like the app to go to the site and check for updates automatically. I
can't seem to find any information on how to do this.

If anyone could point me in the right direction I would be grateful!
Sep 8 '06 #2

"HKSHK" <hk***@gmx.netwrote in message
news:45***********************@news.freenet.de...
Hello, H8ComputersSomeDays!

Basically you need a text file on the server which contains the version
information (download it as text file, not as binary). When your
application starts, it should download that file and check if the version
number in that file is higher.
However, you should check if the user is an administrator. If (s)he is
not, then you might show the message, but should not download the file to
install it since a normal user account does not have that privilege.

Best Regards,

HKSHK

H8ComputersSomeDays wrote:
>I want to have my program automatically check for a new version when it
is run. My app is in VB.NET (VS 2003). Updates are posted on my website
and I would like the app to go to the site and check for updates
automatically. I can't seem to find any information on how to do this.

If anyone could point me in the right direction I would be grateful!
Another good option would be to use web services for determining which
version is most current and compare that to the version you currently have
installed. Once that comparison is done, you can download the appropriate
patch or update or zip file from the site.

HTH,
Mythran
Sep 8 '06 #3
Hello H8ComputersSomeDays,

If you simply load the forms from the web server that should do the trick.
This way, if the web server has newer bits, they will be downloaded and
used.. if not, the cache will be used. If the server is unavailable then
the cache will also be used.

I can't remember off the top of my head where this load occures.. I think
it's a method off the Assembly class. Like, Assembly.LoadForm..? Dunno..
look it up.

In 05 you can use click-once deployment to acheive the same thing.

-Boo
I want to have my program automatically check for a new version when
it is run. My app is in VB.NET (VS 2003). Updates are posted on my
website and I would like the app to go to the site and check for
updates automatically. I can't seem to find any information on how to
do this.

If anyone could point me in the right direction I would be grateful!

Sep 8 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Rob R. Ainscough | last post by:
I've read several articles on the internet regarding the "Check Updates" problem from within VS.NET IDE. I'm having the exact same problem as many others where if I select "Check Updates", I get...
0
by: JayC | last post by:
Hello everybody this is my first post, please forgive any etiquette errors. Anyway I bought Visual Basic .NET, C++ .NET, and C# .NET all separately and at the end of all three installs I selected...
4
by: vanisathish | last post by:
I am using an ASP to update some table contents on my HTML page by calling the ASP page using hidden frames. But the ASP script seem to get called even before the HTML FRAME is loaded...
2
by: aaj | last post by:
Hi all I have a continuous bound form and on each record is a tick box. The user ticks the boxes and these boxes define the batch. for future operations before they leave the page I count...
4
by: David A. Osborn | last post by:
I get the following error message when I go to to Help and Check for Updates on the Menu "Visual Sutdio .Net 2003 setup encountered errors while attemptng to download required files. Check your...
1
by: Vayse | last post by:
In VS2005, clicking on Help/Check for Updates is no longer working. Is there an address I can check to see if I'm on the latest version? Thanks Vayse P.S. Currently on: Microsoft Visual Studio...
2
by: rdemyan via AccessMonster.com | last post by:
I currently have code that brings up a form where the user can see a list of spreadsheets on my ftp site, select one and then download and import the spreadsheet into a table. All of this...
5
by: starke1120 | last post by:
Im creating a check in – check out database for RF guns. I have a table that contains models. ID (primary key) Model A table that contains Gun Details ID (primary key) Model_id...
0
by: yawnmoth | last post by:
I have the following PHP script to generate an RSS feed: <?php if (isset($_GET)) { exit(htmlspecialchars($_GET)); } $num = file_get_contents('counter.txt'); $num++;
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.