473,402 Members | 2,050 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,402 software developers and data experts.

VB6 check/stop application running on the network pc's

Hi,
I have a network where 5 users are running there local copy of a VB6 application, so the exe file is on all 5 pc's. The database they use is a MS Access database, placed on the server of the network.
The database must to be compressed and backuped each day during the night. Compressing an backup can only be done if all users closed there VB application. I need some way to close down the application on the 5 pc's automatically if the user didn't do it when he left the office. Doing so the database will be closed.
But... how can i -using VB6 code- check in the network if the app is running and how can i stop it on all 5 pc's ?
Any ideas ?
Feb 12 '16 #1
1 1822
I think it would be much easier to modify the software on the users machines. You can add a timer that checks the time every .5 hours or so and if it is after 6:00 PM then shut down the software. Or a watch dog type addition to the software in that if the software is inactive for a given length of time it shuts down. Of course you need to consider any information that may need to be saved before it shuts down also. You could make a temp file on the PC that saves the current entered information before shutdown and retrieves it when the software is restarted.
Jun 19 '16 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Imran Aziz | last post by:
Hello All, I have developed an ASP.net application using the latest beta release (version 2 beta 2)of dot net using Visual studio .net express edition. I have been testing the application using...
3
by: Tommy T-Bag | last post by:
Is there a command that works like the opposite of Shell(Pathname)? I need to stop a running .exe when certain events occur on my Access form. Thanks
1
by: Karunakararao | last post by:
hi all Can't Shutdown with System Tray Application Running in C#.net Regards Venu
2
by: Tim Diggle | last post by:
I'm trying to enter data into a database application running under Citrix ICA Client. I'm doing it from a VBA macro running under Microsoft Excel 2000 (although it may need to be backwardly...
4
by: accyboy1981 | last post by:
Hi, I'm looking to create a simple application that will copy files from a folder on one PC on the network to another PC on the network but I am having a bit of difficulty doing this. The...
3
by: hellian | last post by:
I can't run my application from PCs in my network hosted on Apache Tomcat 5.5 server. All I can do is just run my application on the server where Tomcat is installed but not from another PC on...
4
by: Max2006 | last post by:
Hi, I am developing a web application on windows XP. A page within my application needs to access to SSRS running on the same machine. Once the web application tries to consume the SSRS web...
2
by: mageshwar | last post by:
hi, i have using three functions to scan registry keys (like emptykeys,applicationpatherrors).once the function starts from my button click event, i cant...
2
by: Amit Thorat | last post by:
Is there a possibility to scan MS Access 2000 databases and their VBA code automatically? We need to scan several MS Access databases in network drive to check if they use network shares to create or...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.