If you really wanted a DOS prompt to appear inside a VB form, you could use SetParent on the hWnd of the DOS prompt to make it a child window of your form, but that isn't really very useful. It's still possible though. If you want to change the text that appears in the caption of the window, you'll need to use this.
VB Code:
  1. 'in a module
  2. Public Declare Function FindWindowEx Lib "user32" Alias "FindWindowExA" (ByVal hWndParent As Long, ByVal hWndChild As Long, ByVal lpzClassName As String, ByVal lpzCaption As String) As Long
  3. Public Declare Function SetWindowText Lib "user32" Alias "SetWindowTextA" (ByVal hWnd As Long, ByVal lpzString As String) As Long
  4.  
  5. 'to get the hWnd of a DOS prompt (this gets the first one it sees, if any)
  6. Dim hWndDOS As Long
  7. hWndDOS = FindWindowEx(0, 0, "tty", vbNullString)
  8. 'to set a new caption in that window
  9. SetWindowText hWndDOS, "A new caption"
The class of a DOS prompt window is "tty" in Win98, so it should still be the same in ME. I don't know about any Win version that's higher though.