Hi. I am new to the site and not too clever at Pascal (beginner).
I need to be able to get an IP address, then compare it with one I want to use then if the address is the same run a program if not quit.
This is to get Laptops to run a backup program only on LAN and NOT when using VPN.
I thought something along the lines of
Get IP <coding ???)
If IP = <ip address> then
run program
else
Quit.
Obviously not that easy so can anyone help me please.
rockinsteve 0 Newbie Poster
rockinsteve 0 Newbie Poster
KlementHonza -15 Newbie Poster
sknake commented: I agree with Salem +0
rockinsteve 0 Newbie Poster
sknake 1,622 Senior Poster Featured Poster
rockinsteve 0 Newbie Poster
Mikav6 0 Newbie Poster
rockinsteve 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.