I'm trying to write code that would allow a user to input an ip address on a C-More panel and have that address stored as a DWord variable in the Do-more. My idea is to convert each segment of the ip address to hex and then write this hex number to a DWord variable. As an example, I'll use the ip address: 192.168.2.1. Converting this address to Hex, I get 0xC0A80201. Converting this Hex number to decimal I get 3,232,236,033 which is too big a number to fit in a DWord location. When I look at the address in decimal data view, it is displayed as -1,062,731,263. Using a decimal to hex calculator, I see that this number is also equal to 0xC0A80201 but I have not idea how to convert from hex to a negative decimal number. Any help would be greatly appreciated!