It looks like this would help.
I'm assuming your imput (vout) is always active with "high" level.
The VCC value will of course depends on the Vout high level you want.
The resistors on the VCC R1 will depend on the current you need on your circuit imput (vout). If you have high impedance which requires vely low current to operate, like logic IC, the VCC resistor can be about 1K.
The base resistor Rb will depends on the transistor you use (HFE), VCC, R1 and the imput voltage Vin.
Like you said, if you apply 100V at Vin, you need to be sure to calculate Rb accordingly to avoid burnning the transistor by base-emitter over current.
Nilo