Form Position on screen

AccessShell

Member
Joined
Jun 14, 2016
Messages
21
Programming Experience
10+
When I wrote a program in WIN XP (maybe that's not important" the form was placed on the screen. When I wrote another program on WIN VMXP the form was placed in a DOS window. Does anyone know why? How can I fix this?

Thanks
 
My guess would be the first project you created a WinForms application and for the 2nd project you created a Console application, when you create a project you choose what type of program it's going to be (WinForms, Console, WPF, ASPX, etc).

To "fix" it you would need to create a new one, then copy the relevant code (and tweak it as needed) from the old one.
 
the form was placed in a DOS window
No it wasn't. A form is, by definition, a GUI object and a DOS window (more accurately a commandline or console window because DOS no longer exists) is a text interface. Console windows display text and accept text while a form displays graphical objects, which may or may not contain text. If you created a Console Application project then there is no form.
 
Back
Top