Newbie question about Vcc

I think I did not explained my self. Just take a look at this circuit:

I was talking about using a pin 7 in high state to feed the switch instead of connect the 5v.