DonH Posted October 20, 2003 Posted October 20, 2003 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?
Fitch Posted October 20, 2003 Posted October 20, 2003 If (Status(CurrentNetworkChoice) = "TCP/IP" ) .. Show Message ("TCP/IP detected") End If
DonH Posted October 20, 2003 Author Posted October 20, 2003 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.
Fitch Posted October 20, 2003 Posted October 20, 2003 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.
DonH Posted October 22, 2003 Author Posted October 22, 2003 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.
Recommended Posts
This topic is 7760 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now