thanx again
:-)

you see, the code you gave me sets the dos window to a normal size, i tried playing with it, but..

i tried already:
ShowWindow hwnd, 3 (API function), but it will return a big dos screen (not totaly full screen)

then i tried:
SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, wFlags)
but it only sets the focus to the minimized tab of the dos window on the toolbar, but not resizing it.

what happenes it that when i move from the dos program to the vb program, it makes the dos window minimized, and i want to return from the vb program to the dos program but it wont return to the dos's TOTALY FULL SCREEN mode (the one you can make by pressing Alt & Enter on a dos window)

i hope you are not troubled by me but chalanged :-)
thank you