Folks, I am new to programming so please bear with me.
I am making a call to an out-of-process server which in this case is an activex.exe via the following:
frmMain.objLogServer.LogServer_ProcessDevice _
devices(x).DeviceType, Trim$(g_ParamRec.UserName), Trim$(g_ParamRec.ServerPassword), _
devices(x).DeviceName, devices(x).FileSize, devices(x).FileDateTime, _
devices(x).LastLogDateTime, devices(x).ServerName, devices(x).LogFileName, _
devices(x).DelimiterSpec, devices(x).LastCheckTime, g_bNWDebug
My problem is that sometimes that out-of-server process dies and when that happens, I get the "Remote Server Machine does not exist" error. (Error 462).
My question is : How can I start that process, if it has died. I already trap the error, so if I know how to start the process, I will be in good shape.
Regards,
dewaans
I am making a call to an out-of-process server which in this case is an activex.exe via the following:
frmMain.objLogServer.LogServer_ProcessDevice _
devices(x).DeviceType, Trim$(g_ParamRec.UserName), Trim$(g_ParamRec.ServerPassword), _
devices(x).DeviceName, devices(x).FileSize, devices(x).FileDateTime, _
devices(x).LastLogDateTime, devices(x).ServerName, devices(x).LogFileName, _
devices(x).DelimiterSpec, devices(x).LastCheckTime, g_bNWDebug
My problem is that sometimes that out-of-server process dies and when that happens, I get the "Remote Server Machine does not exist" error. (Error 462).
My question is : How can I start that process, if it has died. I already trap the error, so if I know how to start the process, I will be in good shape.
Regards,
dewaans