Solved

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

Posted on 2010-08-23
13
711 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
 
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
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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 process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

863 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

25 Experts available now in Live!

Get 1:1 Help Now