Hi
I am makeing a program that should run 24/7 on it's own.
In this program I need to connect to 2 different SqlServer databases, and all this works well.
The problem appears when one of the SqlServers are down or someting else goes wrong when I connect to the SqlServer.
I then get a MessageBox with the error message, and then the connection prompt.
The question is: How do I get rid of this messagebox and the connection prompt ?
I want to just check the SqlCode to see if something has gone wrong, and then send a SMS to my Cell phone, so I can fix the problem.
Anyone that know how this is done i PowerBuilder 7.0.3 ?
I am makeing a program that should run 24/7 on it's own.
In this program I need to connect to 2 different SqlServer databases, and all this works well.
The problem appears when one of the SqlServers are down or someting else goes wrong when I connect to the SqlServer.
I then get a MessageBox with the error message, and then the connection prompt.
The question is: How do I get rid of this messagebox and the connection prompt ?
I want to just check the SqlCode to see if something has gone wrong, and then send a SMS to my Cell phone, so I can fix the problem.
Anyone that know how this is done i PowerBuilder 7.0.3 ?