Check subnet in user's ip address
I've used NSIS to create short, easy scripts but am faced with something more complex that I'm struggling with because I'm not a programmer. What I've found which might help doesn't make sense to me so I must ask for your tolerance with my lack of knowledge. The issue: The server the application connects to will depend on the user's subnet. I use the function getip in ip.dll to get the address and I can extract the ; from it so I have the IP in a variable. If the ip address falls into the 10.5.95 range, the application logs into Atlanta, if it is 10.38.1 it goes to Birmingham as an example. I think I've been trying to make this complicated but it probably doesn't need to be. Thanks TONS for your help and patience.