Um.... I'm kind of new here to Visual Basic, and I was wondering, how do you change the resolution in Visual Basic?

Say, if i wanted to change the resolution to 640*480, how would I do that? Do I need some kind of DirectX function?

Please help, thanks