I met many interesting people while I was living in Vancouver.
Can I change the sentence above to the sentences below? Do they have slightly different meanings?
I met many interesting people when I lived in Vancouver.
or
I met many interesting people when I was living in Vancouver.