Help with accessing a VB.NET project from a network enviroenment

Posted on 2014-02-08
Medium Priority
Last Modified: 2014-02-11

How do I create a DLL from my .NET application and have it accessed from multiple PC from a network? Or is there a better approach? I understand users will need the ,NET framework installed in their PC.


Question by:vcharles
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
  • 4
  • 2
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 39844096
What is your goal? Why do you think this approach would be the best way to go?

Author Comment

ID: 39844135
I want users to click on a link to access the application from a server, understand they will need the .NET framework in their PC to run the project. Years ago I recall the possibility to do this by converting the project to a DLL file.
LVL 75

Assisted Solution

by:käµfm³d 👽
käµfm³d   👽 earned 1200 total points
ID: 39844232
Have you considered ClickOnce deployment? I don't personally like it, but I believe it's the accepted way to accomplish what you are after. When you get into running .NET from network shares, you end up having to modify the security policy of each client machine to execute such remote code as trusted. While the code may very well be trusted, you still have to modify each machine that is going to run the code.

ClickOnce Security and Deployment
ClickOnce Deployment

Here's an article that discusses what needs to be done to change security settings with regard to network shares:

Stack Overflow Podcast - Developer Story

Welcome to the Stack Overflow podcast recorded Thursday July 20 at Stack Overflow Headquearters in NYC. Your hosts today are podcast regulars Jay Hanlon, David Fullerton, and Ilana Yitzhaki, plus the quite irregular Matt Sherman (Stack Overflow Engineering Manager extraordinaire)

LVL 40

Accepted Solution

Jacques Bourgeois (James Burger) earned 800 total points
ID: 39844240
Yes, the Framework should be installed on the user's Workstation. There are chances that it is already there however, depending on the version of Windows they use or whether they have Windows Update activated.  It might also have already been installed by other applications.

The application can be installed through ClickOnce Publishing and set to run online only.

You prepare a ClickOnce publish through the Publish tab or the project's Properties window. This will install the application on the designated server, with a web page and setup.exe file to install it.

By default, ClickOnce installs the application on the users computer, and automatically download updates when they are available.

However, if you activate "The application is available online only", it won't install permanently on the users computer. It will temporarily install, run, and then uninstall itself when finished. Since the application runs locally, you have less problems with security thatn you would have from an application running from another computer.

Author Comment

ID: 39844245

Thanks for the comments, will look into using ClickOnce and get back to you.


Author Comment

ID: 39846464

How do I download it, it's not included in VS 2008.


Author Closing Comment

ID: 39850026

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

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

The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Suggested Courses

771 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