October 20, 200322 yr Is there any way to detect if the TCP/IP has been selected? I know it does occur on clients because I have seen the error come up. On one app I have seen it bring up a window asking you to select a communication protocol from a drop down list. But how can I do this? Am I just missing the error code for it?
October 20, 200322 yr If (Status(CurrentNetworkChoice) = "TCP/IP" ) .. Show Message ("TCP/IP detected") End If
October 20, 200322 yr Author That may work but I looked in the FM3.0 book and that is not listed. What I finally did just to get it working is steal the script from somebody else to show the selection box and then do an error capture for ANY error. It works.
October 20, 200322 yr Oops, I forgot you have version 3, Don. You need at least version 4 to detect TCP/IP. Also, version 4 can Open Application Preferences. But once there, the user would have to select TCP/IP, I don't know that there's a way around that. You could take them to a layout with a screen shot and instructions.
October 22, 200322 yr Author I'm not sure how FM3 actually pulls up the Network selection screen, but it does in one script I found so I just borrowed that. I did an error check for ANY error. Of course NOW what happens if there is ANY error during the startup it brings up the network selection window.
Create an account or sign in to comment