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
Solved

VB.Net winforms deployment

Posted on 2007-11-28
5
956 Views
Last Modified: 2013-12-12
Dear Sir/ Madam,
I am trying to deploy a VB.Net 2003 winforms application.

Can I just send the exe file from the projects bin directory to the users to be able to use the application, or should I create a set up & deployment package for the same?

Please advise.

Thanks.
0
Comment
Question by:vdesai_8
5 Comments
 
LVL 15

Accepted Solution

by:
Solar_Flare earned 350 total points
ID: 20369548
you can just send the .exe file and any required dll files from the build directory, but if you want to place shortcuts on the user's dekstop or start menu then use an installer.
0
 
LVL 55

Assisted Solution

by:Jaime Olivares
Jaime Olivares earned 150 total points
ID: 20369641
if you compile all in a single project, then you could deploy the single .exe file. But consider the target machine should have the .net framework preinstalled.
As it is VS 2003 (.net 1.x) I assume it is intalled in every XP SP2/Vista machine.
0
 

Author Comment

by:vdesai_8
ID: 20369810
I placed the .exe file on the "Test Server" & placed shortcuts to it on the Users desktop but it gives an error message like this:

"Request for the permission of type System.Data.SqlClient.SqlClientPermission, System.Data, Version =1.0.5000.0, culture=neutral, PublicKeyToken=b77a5c561934e089 failed."

Please advise how can this be corrected. I will try creating an installer like Solar_Flare suggested.

will keep you updated, meanwhile please let me know if you have any suggestions.

Thanks.
0
 
LVL 4

Expert Comment

by:JunnickYso
ID: 20371551
I placed the .exe file on the "Test Server" & placed shortcuts to it on the Users desktop but it gives an error message like this:

"Request for the permission of type System.Data.SqlClient.SqlClientPermission, System.Data, Version =1.0.5000.0, culture=neutral, PublicKeyToken=b77a5c561934e089 failed."


Maybe the target machine required any associated DLL of your exe(Project) to be resgistered in the registry. i should suggest that you should make a deployment package and customize easily your required installer.
heres how:

http://www.c-sharpcorner.com/Code/2003/April/SetupProjects.asp

this section describe the key areas in creating a deployment projects:
0
 

Author Closing Comment

by:vdesai_8
ID: 31411545
Thanks!
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
If your app took Google’s lash recently, here are the 5 most likely reasons.
The viewer will learn how to set up a document for the web and print and the recommended PPI for printing.
The viewer will learn common shortcuts with easy ways to remember them. The viewer will then learn where to find all of the keyboard shortcuts, how to create/change them, and how to speed up their workflow.

856 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