Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Geeks, I have a problem with creating a windows form application.

I am learning C++ by a book, that has been written for C++6

Book tells it's readers to create all programs using wizard :-(
Wizard creates tons and tons of useless code, that is described dy BS remarks. // BullStuff
Can I avoid this tons and tons of the text I can never use and understand?
Why do I need a menu and work area in my first helloworldish - fashioned program?
Can I just deal with blank form and avoid use of menu, workspace, e.ct?

How?

:WAVE: :WAVE: :WAVE:
[521 byte] By [Recoil] at [2007-11-11 10:02:30]
# 1 Re: Geeks, I have a problem with creating a windows form application.
Yes of corse :
If u want a simple consol application to learn c++ basics u can do this [in vc6] following this :
file>>New>>Projects>>Win32ConsolApplication : u must enter a specified project name and location in the boxes in the right .
Now u r ready to update your project to what u want :
To creat cpp file, header ..etc :
File>>New>>Files>>C++ source file [or header for example and so on]
(u must enter specified name for them too)
About using forms and insert those resources :
Insert>>Resource (Ctrl+R) ; then choose your preferable resource :
for example start trying this : Dialog>>IDD_FORMVIEW (insert)
you will imediately got a blank form and u will be able to start using it .. to change it's propieties and view : "right click and choose proprietes".

p.s: u can simplify your options from the wizard too .
Amahdy at 2007-11-11 20:59:38 >
# 2 Re: Geeks, I have a problem with creating a windows form application.
Sorry, I forgot to add important details:
I use C++8 in visual studio.
I want to create form applications.
And I had tried
new project>emptyproject>add>form
VC++ told me '/mt' and '/clr' incompatible.
It also puts #include "Ie.h" at the beginin'
Recoil at 2007-11-11 21:00:38 >
# 3 Re: Geeks, I have a problem with creating a windows form application.
C++ 8 ? never heared about it I'm sorry but finally it's C++ !

I don't know what r u talking about but try starting from consol application and upgreat your work .
Amahdy at 2007-11-11 21:01:31 >
# 4 Re: Geeks, I have a problem with creating a windows form application.
Make a new project, using the appwizard. Make it dialog based. Dialog based apps are simple and you can jump directly into the what you see is what you get editing to begin to learn windows form programming.

.net is visual studio 7 and 8 versions, Amahdy, MS changed the name for some stupid reason, when they added the managed code junk.
jonnin at 2007-11-11 21:02:36 >
# 5 Re: Geeks, I have a problem with creating a windows form application.
This freaken wizard adds a lot of code, that has no use.
I avoid it.
It splits your program in pices by it's own default code.

:):):)
I will try the dialog.
Recoil at 2007-11-11 21:03:42 >
# 6 Re: Geeks, I have a problem with creating a windows form application.
The problem is:
I cannot create windows applications through wizard in MS Visual Stu.
It creates it, then says that acess is denied, both under admin and user, and then it makes me show it some freaken server, to use for opening it.(my app.)
Is there a way I can avoid this pain in the @$$ ?
Recoil at 2007-11-11 21:04:35 >
# 7 Re: Geeks, I have a problem with creating a windows form application.
If u r sure about the installation, check if u don't make any unwanted operation in the wizard like add a database , or link to acitvx methods and al that, also sepecify a good location like desktop or a drive otherthan the installed windows location .
Amahdy at 2007-11-11 21:05:34 >
# 8 Re: Geeks, I have a problem with creating a windows form application.
Program that I created consists of many files with B.S. I never will use.
How to start it and where to find coding file for typing code?
Recoil at 2007-11-11 21:06:38 >
# 9 Re: Geeks, I have a problem with creating a windows form application.
please tell me only ;
B.S = ?
How to start it >>> it is what ?
where to find coding file >>> do u mean u want to find the location of generated files ?

please explain more ..
Amahdy at 2007-11-11 21:07:46 >
# 10 Re: Geeks, I have a problem with creating a windows form application.
Sorry, I had recived my help.
Thanks to all of you for helping.
Special thanks to Amahdy.
Recoil at 2007-11-11 21:08:41 >