Simple GUI program in VC++ '05 Express

AFB

Lifer
Jan 10, 2004
10,718
3
0
I just need to write a simple GUI form program to take some input and write a file. I'm a Java guy, and this is just confusing the hell out of me how to use this IDE. Any help?
 

talyn00

Golden Member
Oct 18, 2003
1,666
0
0
lol an IDE is confusing? this will be a piece of cake compared to java. You can use the new project to create a "windows application" and then you can drag and drop objects such as buttons, textboxes to the form. Double-clicking the objects, will take you to the code, where you can add event handlers for the objects
 

AFB

Lifer
Jan 10, 2004
10,718
3
0
Originally posted by: talyn00
lol an IDE is confusing? this will be a piece of cake compared to java. You can use the new project to create a "windows application" and then you can drag and drop objects such as buttons, textboxes to the form. Double-clicking the objects, will take you to the code, where you can add event handlers for the objects

Now how do I compile it so I have a single distributable exe?
 

fishbits

Senior member
Apr 18, 2005
286
0
0
Now how do I compile it so I have a single distributable exe?

They must have changed the heck out of Visual. In 5, you click Build, then the Build option under that. Or F7.
 

AFB

Lifer
Jan 10, 2004
10,718
3
0
Originally posted by: fishbits
Now how do I compile it so I have a single distributable exe?

They must have changed the heck out of Visual. In 5, you click Build, then the Build option under that. Or F7.

Ok, I get it to build, but when I send the exe to someone it complains about not having a config file or something.
 

talyn00

Golden Member
Oct 18, 2003
1,666
0
0
I believe its under project properties, you have to change it from debug build to release, then it should build an exe with all the dependencies.
 

AFB

Lifer
Jan 10, 2004
10,718
3
0
When I do that, then run it on another computer I get an error that says improper configuration.

I'm guessing I'm going to need .NET installed? Is there any way I can do this unmanaged?
 

Thyme

Platinum Member
Nov 30, 2000
2,330
0
0
You can try running it on another computer wtih VC++ '05 Express and seeing if what the program is missing comes from VC or from your app. Maybe that will help pinpoint it. Don't know though.
 

Kyteland

Diamond Member
Dec 30, 2002
5,747
1
81
Originally posted by: AFB
When I do that, then run it on another computer I get an error that says improper configuration.

I'm guessing I'm going to need .NET installed? Is there any way I can do this unmanaged?
Depending on how you compiled things, the other computer may need to have .NET 2.0 to run your program. Is that availible to the general public yet, or is it still in beta?