Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Check for updates feature: Best way to go about adding 4

Status
Not open for further replies.

mastertorr

Programmer
Dec 21, 2006
36
0
0
CA
Just curious as to what would be the best way to going about adding a "check for updates" feature to an application whether its by a user clicking on "Check for updates" or the program automatically doing so. Recent research keeps pointing to an activex control or ClickOnce. any help on this matter would be greatly appreciated.

Thanks,MasterTorr
 
Private Sub Command1_Click()
Dim ftpFolder As Folder
Dim myShell As Shell
Dim localFolder As Folder
Dim ashell As Shell
Set myShell = New Shell
Set localFolder = myShell.NameSpace("c:\")
Set ashell = New Shell
Set ftpFolder = ashell.NameSpace("ftp://username:password@website.com")
localFolder.CopyHere ftpFolder.Items.Item("testing.txt")
End Sub
 
holy shiat! it worked!! strongm, you're an angel!!

Thanks so much!
 
erm....hehe got another question... how can I tell in the program when copying/downloading has been done through the shell?

That way, I can Set ftpFolder = Nothing and to others as well, rename the file, and prompt that Download has completed.
 
Actually, I got it down now. Thanks again for your help strongm.

To summmarize, what I did was I created a timer and in that timer, i took the ftpFolder item's size and checked it against the localFolder item's size.

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top