Solved

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

Posted on 2010-08-23
13
717 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 5
  • 2
  • +1
13 Comments
 
LVL 53

Accepted Solution

by:
Dhaest earned 357 total points
ID: 33499783
0
 
LVL 53

Assisted Solution

by:Dhaest
Dhaest earned 357 total points
ID: 33499787
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
ID: 33499801
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
Learn by Doing. Anytime. Anywhere.

Do you like to learn by doing?
Our labs and exercises give you the chance to do just that: Learn by performing actions on real environments.

Hands-on, scenario-based labs give you experience on real environments provided by us so you don't have to worry about breaking anything.

 
LVL 29

Author Comment

by:fosiul01
ID: 33499819
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
ID: 33499833
>> 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
ID: 33499837
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
 
LVL 29

Author Comment

by:fosiul01
ID: 33499858
@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
ID: 33499863
>> 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
ID: 33499867
>> 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)
ID: 33499899
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
ID: 33499919
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
ID: 33499927
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
ID: 33507557
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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

705 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