Solved

how to deploy application on differenet computer (visual basic 2010)

Posted on 2010-08-23
13
709 Views
Last Modified: 2013-11-27
Hi
I downloaded  visual basic  2010 from here

http://www.microsoft.com/express/Downloads/

NOw i created a simple application (example, accounts)
i want to know, how will you create a setup  files for Accounts ,  so that i can install the application into other computer without installing visual Studio  on each computer

thanks
0
Comment
Question by:fosiul01
  • 5
  • 5
  • 2
  • +1
13 Comments
 
LVL 53

Accepted Solution

by:
Dhaest earned 357 total points
Comment Utility
0
 
LVL 53

Assisted Solution

by:Dhaest
Dhaest earned 357 total points
Comment Utility
VS 2010 Deployment (Package, One click deploy and Web.config transformation)
http://www.codeproject.com/KB/aspnet/VS2010Deployment.aspx
0
 
LVL 2

Assisted Solution

by:omraviprakash
omraviprakash earned 143 total points
Comment Utility
In the most basic installation scenario, the only minimum requirements for any application to run on a different computer is that, it should have all the dependencies available.

As I understand from your question, its a simple application and hence depends on basic .Net Runtime.
Therefore, please install .Net Framework (currently 4.0) in to the target machine and deploy your applicaiton. It should run it perfectly.

Additionally, if you have more dependencies like using some MS Office functions (e.g Excel, word) in your application, you will be required to get the run time for those as well to run those features of your application.
0
 
LVL 29

Author Comment

by:fosiul01
Comment Utility
HI thanks

its Visual Basic 2010 ,  program and I am trying to use Windows base Application not web base.

note : its not vb.net

0
 
LVL 53

Assisted Solution

by:Dhaest
Dhaest earned 357 total points
Comment Utility
>> its Visual Basic 2010
   The way of deployment is not changed !

>> its not vb.net
  It's not important for deployment to know in which language it's written

Building setup and deployment packages in VS 2010
http://blogs.msdn.com/b/somasegar/archive/2009/12/14/building-setup-and-deployment-packages-in-vs-2010.aspx
0
 
LVL 29

Author Comment

by:fosiul01
Comment Utility
hi omraviprakash


Therefore, please install .Net Framework (currently 4.0) in to the  target machine and deploy your applicaiton. It should run it perfectly.
   :::

yes i can install .net framework

but what you meant  deply your application ??


0
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
LVL 29

Author Comment

by:fosiul01
Comment Utility
@Dhaest

thanks, i know what you meant

but if you look at first picture of that link

How to Get It :

I am not seeing any option's call :

other project type
installed shield 2010





0
 
LVL 53

Assisted Solution

by:Dhaest
Dhaest earned 357 total points
Comment Utility
>> deploy your application ??
Install the application

If you have a small application (fe 1 .exe), you just can copy it to the computer where it needs to run on it.
If it's already a complexer application (fe 1 .exe and one or more .dll), you'll need some kind of packaging to add them all together in a setup.
0
 
LVL 53

Assisted Solution

by:Dhaest
Dhaest earned 357 total points
Comment Utility
>> but if you look at first picture of that link

Apparrantly they have changed the terms and look and feel again in vs2010 :)
0
 
LVL 47

Expert Comment

by:Wayne Taylor (webtubbs)
Comment Utility
The only deployment option in the Express editions is ClickOnce - http://msdn.microsoft.com/en-us/library/wh45kb66%28VS.90%29.aspx

Wayne
0
 
LVL 29

Author Comment

by:fosiul01
Comment Utility
Ok
so i got

(1) Exe file
(2) deploy


1) exe file : from google its saying : save the project example : Desktop/Accounts
i should see a accouts.exe file under : /bin/debug/accounts.exe

but i dont see that file

do i have to do anything to create that exe file??

0
 
LVL 29

Author Comment

by:fosiul01
Comment Utility
Ok i know , how to create exe file

I need to run the program

let me try with exe file, it would be a small program..

I will come back
0
 
LVL 2

Assisted Solution

by:omraviprakash
omraviprakash earned 143 total points
Comment Utility
Deploying the application is simply copying the Application .exe (and its dependent dlls, resource files) in to any location of your computer hard disk.

To run the application, you should simply open the exe.

Background: Microsoft has been trying its goal to get rid of application depending on the registry for its installation. As registries are prone to error and system instability. Therefore, they give us now flexibility to only copy the exe and its dependencies directly on to computer and run. Click once is another tool from MS to create setup files and deploy. But most easier way is to ship or give a copy of your application to users who can just copy/paste and run it as easy as that.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now