Of course, if you connect up your 100V supply through your 1M resistor to a PIC input pin, and then measure the voltage at the pin, you WILL read Vcc+0.6V or so, assuming that the internal protection diodes are functioning... BillW