Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 724
  • Last Modified:

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

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
fosiul01
Asked:
fosiul01
  • 5
  • 5
  • 2
  • +1
7 Solutions
 
DhaestCommented:
0
 
DhaestCommented:
VS 2010 Deployment (Package, One click deploy and Web.config transformation)
http://www.codeproject.com/KB/aspnet/VS2010Deployment.aspx
0
 
omraviprakashCommented:
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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
fosiul01Author Commented:
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
 
DhaestCommented:
>> 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
 
fosiul01Author Commented:
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
 
fosiul01Author Commented:
@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
 
DhaestCommented:
>> 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
 
DhaestCommented:
>> but if you look at first picture of that link

Apparrantly they have changed the terms and look and feel again in vs2010 :)
0
 
Wayne Taylor (webtubbs)Commented:
The only deployment option in the Express editions is ClickOnce - http://msdn.microsoft.com/en-us/library/wh45kb66%28VS.90%29.aspx

Wayne
0
 
fosiul01Author Commented:
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
 
fosiul01Author Commented:
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
 
omraviprakashCommented:
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] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

  • 5
  • 5
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now