Advertisement

08.01.2007 at 08:42AM PDT, ID: 22734922
[x]
Attachment Details

VB6 application to check for updated documents and download to people's computers

Asked by matthewspatrick in Visual Basic Programming

Tags: vb6, check

Fellow Experts,

I work on a team with a distributed workforce: most of us either work from home or travel
to client sites, and when we are on client sites we cannot count on having access to our
network resources.

At the same time, we are trying to use a set of standard documents and templates, but these
items get updated frequently.  However, since we spend s much time at client sites where we
cannot count on hitting an network share, we all have to have local copies of these documents.

Last year I developed a VB6 app (actually split into 2 exe files) that does the following:

1) User launches app when s/he has network or VPN access
2) This app looks first for an updated copy of the second app and copies it to the user's
computer; this second app actually does the heavy lifting
3) The first app launches the second, which then catalogs the "standard" files on user's
computer (all the files in specified directories) along with last modified date of each
4) Second app goes to the network share where the up to date document versions are stored
5) Whenever the 2nd app finds a network doc that either is not in the catalog or has a more
recent last modified date, the app copies the document to the user's computer
6) The two apps close themselves

The two applications work, despite the fact that it was my first effort in VB6 (I'm more of a
VBA guy) and it's probably clumsier than it needs to be.  What I am looking for here is, did I
think about the problem the right way?  Is there a better general approach that I am missing?  
(For example, rather than comparing last modified dates, which can be tricky, should I put text
files on the network share to list files that have been updated?)

I'm not looking for anyone to develop the app for me, just broadbrush guidance on the overall
strategy.  When it comes time to actually build the thing, I may open new questions to handle
the specific details.

Regards,

PatrickStart Free Trial
[+][-]08.01.2007 at 08:56AM PDT, ID: 19610009

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Visual Basic Programming
Tags: vb6, check
Sign Up Now!
Solution Provided By: PaulHews
Participating Experts: 2
Solution Grade: A
 
 
[+][-]08.01.2007 at 11:52AM PDT, ID: 19611726

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.03.2007 at 02:04PM PDT, ID: 19628532

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]08.03.2007 at 02:17PM PDT, ID: 19628647

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.03.2007 at 02:25PM PDT, ID: 19628707

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.03.2007 at 03:12PM PDT, ID: 19628948

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.03.2007 at 04:38PM PDT, ID: 19629233

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.04.2007 at 10:02AM PDT, ID: 19631547

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.04.2007 at 04:15PM PDT, ID: 19632318

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.07.2007 at 05:25PM PDT, ID: 19650610

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32