Solved

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

Posted on 2012-12-21
9
246 Views
Last Modified: 2012-12-21
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
0
Comment
Question by:PNRT
  • 5
  • 4
9 Comments
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 38712644
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
0
 
LVL 2

Author Comment

by:PNRT
ID: 38712756
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.
0
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 38712762
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).
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 2

Author Comment

by:PNRT
ID: 38712780
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.
0
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 38712814
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.
0
 
LVL 2

Author Comment

by:PNRT
ID: 38712842
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?
0
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 38712867
No not using Explorer.
0
 
LVL 2

Author Comment

by:PNRT
ID: 38712887
Are we saying then that it would have to be a program on each individual workstation?
0
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 500 total points
ID: 38712937
Yes.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question