In QBASIC, I can use the code:

while inkey$="":wend

to pause the program and let me press a key to continue.

Visual BASIC doesn't have the INKEY$ keyword. How can I simulate INKEY$ in Visual BASIC?