why my visual basic program not working ?
mrlee asked:
I just made a calculator with VB 2008, its working fine on my pc and one of my friends but it doesnt work for my other friends ! why is that ?? I took the exe file from debug or release files and sent it to them. Is that wrong ? why its not working for them ?
How to do the install and put in it the .net needed files ?
Related posts:
- Visual Basic Programming Help? michbox asked: okay i created a simple income calculator but...
- How can I check if a file exists on the computer by a Visual Basic program? SB asked: I want to make a program that checks...
- how to connect to an excel database using Visual Basic 2008? frosty asked: hey guys, i have set up a calculator...
- I NEED URGENT HELP WITH VISUAL BASIC 6 programming? gogy_3 asked: The code for address example in VB 6...
- How to write a program in Visual Basic to add, update, or delete records? Kevin asked: Okay, I’m about stressed to the limits right...
Filed Under Programming & Design |
Tagged With Calculator, Release Files, Vb
Comments
One Response to “why my visual basic program not working ?”
He probably doesn’t have the .NET Framework loaded (or is using an earlier version). That’s why you are supposed to package your application with an installation project that will install the Framework your application needs.
When your project is open, click File-New Project. Select Other Project Types (this is what it was in VS 2005) and then Setup and Deployment. If you want a full setup, you should choose the Setup template. If you’re just giving it to friends, the CAB may be enough. As you go through the wizard, make sure you select the option for packaging the .NET Framework.
You have to experiment with this a little to see all of the options and how they work, but it’s pretty straight-forward at the basic level.