Hi all,
I'm new to VB and I hope you can help me with this VB script. Here is the background of what I need to do. I have created 9 VB scripts that pull information from a database and display these results into a table. That is pretty much all that the VB script is doing. What I am having problem with is error handling. The 9 VB applications are stored on 1 PC in a shared folder, this shared folder is then shared over 8 other PC where a shortcut is placed on each desktop.
The error that I need to handle is if the 1 PC with all the VB scripts crashes a message should display on the 8 other PCs where the scripts are running to highlight that there is a problem with the main PC. The error handling that I am trying to use at the minute is the PING FUNCTION, in each script a ping function will ping the IP address of the main PC and if the ping fails an error message will display. I have tested this on the network where the VB scripts are running and when I shut down the main PC no error will appear on each of the other PCs.
The strange thing is I tested this on another network, again shut down the PC with the shared folder and the error message appears on each of the other PCs. Is there a better way to catch this error, any advice would be greatly appreciated as I can't figure out why it is working across one network and not another.
Thanks,
AM
I'm new to VB and I hope you can help me with this VB script. Here is the background of what I need to do. I have created 9 VB scripts that pull information from a database and display these results into a table. That is pretty much all that the VB script is doing. What I am having problem with is error handling. The 9 VB applications are stored on 1 PC in a shared folder, this shared folder is then shared over 8 other PC where a shortcut is placed on each desktop.
The error that I need to handle is if the 1 PC with all the VB scripts crashes a message should display on the 8 other PCs where the scripts are running to highlight that there is a problem with the main PC. The error handling that I am trying to use at the minute is the PING FUNCTION, in each script a ping function will ping the IP address of the main PC and if the ping fails an error message will display. I have tested this on the network where the VB scripts are running and when I shut down the main PC no error will appear on each of the other PCs.
The strange thing is I tested this on another network, again shut down the PC with the shared folder and the error message appears on each of the other PCs. Is there a better way to catch this error, any advice would be greatly appreciated as I can't figure out why it is working across one network and not another.
Thanks,
AM