Avatar of PNRT
PNRT
 asked on

VB.Net, Advice on best way to have user activate functionality in app

Hi Experts.  I'm looking for advice on the best way to solve the following:  

There is a program running on a server that creates a number of different types of fles and adds them to the work folders of users on the local file server.  

Users then have to copy them to various other folders on the same server.   This happens two or three times a minutes for each user/operator so I would like to automate this functioality.    

I am able to change the extension of these files so I thought if I were able to write an application for the file server, that was associated with the new file extention I could have maybe a TSR program or a service, that automated the copying  functionality if the user double clicked on the file.

In otherwords, program dumps files in folders, extension of files changes automatically, user double clicks on files, the app copies the files to where they are supprosed to go.

Anyone have any thoughts on the best way to ascieve this?

Many Thanks
Visual Basic.NET

Avatar of undefined
Last Comment
Nasir Razzaq

8/22/2022 - Mon
Nasir Razzaq

If all user has to do is double click the file (no decision making) then why not automate it fully by having a service running in background which monitors the folder for arrival of new files and moves then when it detects them?

http://www.codeproject.com/Articles/3192/Watching-Folder-Activity-in-VB-NET
PNRT

ASKER
Sorry, should have mentioned.   The file can only be moved (or double clicked) when another condition is met.  So the operators can only do it when theu have confirmation.   Hence trying to cut down on their work.
Nasir Razzaq

You can have a Windows app which monitors the folder, notifies the user when a new file arrives, and moves it when user double clicks the file (in a listbox or listview).
Your help has saved me hundreds of hours of internet surfing.
fblack61
PNRT

ASKER
Thnaks.   There are many operators looking at their folders all the time and assessing when they can move the files.    I was thinking that there would be one program on the file server itself that would react when the file with a new changed extension was clicked.
Nasir Razzaq

Are they logged onto server? Or are they accessing files on client computers (using explorer)? If later then the server program does not open the file. Files are opened on the client computers.
PNRT

ASKER
They are on client computers uisng explorer to transfer the file to folders on the same file server.   I get your point, double clicking the file on the workstation would activate a program on the workstation not on the server.   Is there any way would can get the program on the server to activate?
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
Nasir Razzaq

No not using Explorer.
PNRT

ASKER
Are we saying then that it would have to be a program on each individual workstation?
ASKER CERTIFIED SOLUTION
Nasir Razzaq

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question