Can you explain what it is you're trying to do?
Virtual memory is not "settable" per se. The maximum virtual size of a process is always a fixed number, although obviously it's far larger on 64-bit Windows.
I expect you're probably trying to change the pagefile size, and that's accomplished through the "System" applet in the control panel (you can just run sysdm.cpl to get there). Equating the pagefile(s) with virtual memory is technically not correct though - they're not the same thing.