• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Simple GUI program in VC++ '05 Express

AFB

Lifer
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?
 
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
 
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?
 
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.
 
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.
 
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?
 
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.
 
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?
 
Back
Top