Solved

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

Posted on 2010-08-23
13
714 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
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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

809 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