Publishing a VB.NET Winform Application - vb.net

I have a windows form application that I need to publish, I just need some advice on what would be the best way to publish an application to a server so that multiple users can access it using a short cut on their desktop and without having to actually install the application on their local machines.
Thanks

You may run into CAS problems. It is better if users download code to their machines. Then you talking "ClickOnce"
http://msdn.microsoft.com/en-us/library/71baz9ah.aspx

Related

How do I Execute Visual Basic Exe and Crystal report in LAN

Hi I have a Visual Basic Project Exe which runs fine on a Single Machine i Want it to be Execute for Multi User in LAN. I Have Used Crystal Reports in My Project and database is MS Acess. Please Help me how run the Project in LAN..
A VB EXE is a client architecture which usually needs installing on each client machine using it. The code in the EXE could/would normally then connect to external shared, singular resources over a network (such as databases, reporting servers etc.) but the actual EXE itself would typically be duplicated upon each client computer.
If you need all the users to open the exe and have it always run on the same machine, then you could create client shortcuts or use a script with a CreateObject("application.NameHere","serverToRunAppOn") call &/or modify the DCOM settings for the app through the dcomcnfg tool...
However I'd sugguest instead re-evaluating your architecture. Possibly turning your app into a better practice web-based or MS Access shared MDE+MDB solution for clients to connect to.

How to move a windows .net runtime frontend application to the cloud (it uses a local sql server backend database)

I had a engineer design our .net application back in 2009, my guess is that it was coded using visual studio, and all I have is the installer application. We have been using it on our 1 or 2 local client machines very well for the past few years, but now I want to move this front end to the cloud. Instead of installing it as an application on our windows 7 machines.
It is a very simple application used in our small warehouse that keeps track of cargo/shipments etc. It uses Sql Server 2008 Express as a backend which is stored locally.
I know how to get the database in the cloud, their are many options for that, using Amazon or Azure, but how do i get the local client application to the cloud?
I dont have access to the visual studio code, i just have the runtime executable file..
I am sure there is no way to do this, and many of SO users will say i need to re-write the front end.
I have tried to contact the developer and they hav since closed down. Is their anyway i can run this in the cloud?
I welcome all options and solutions!
Thanks.
I believe you have two options for hosting this application:
If you are able to configure the database connection string, you could host the database in the cloud, and distribute the application to your end users. However, you've already stated that you know how to move the database, so I assume this isn't an option.
The only alternative is to run the entire application on a cloud server, and send the user interface to a client using terminal services. This makes it appear as if the application is running locally on the user's computer, while it is actually running on the server.
For an off-the-shelf solution to achieve this, you could consider using Microsoft's RemoteApp Azure service. I'm sure there are other similar offerings available.

WebBrowser multiple instance in Azure cloud

We are having requirement for multiple instance of the WebBrowser components, running simultaneously in the Windows Azure worker role instance.
What is the best approach on implementing this? Our findings so far, made us believe that every new WebBrowser instance kills previous one and then stuck itself.
Could you also recommend best way of logining in on the web page, but without use of "HttpWebRequets", "WebRequest" or "WebClient"? We believed "WebBrowser" is our magic trick, but it seems it isn't so handy, especially on Azure cloud.
Thanks a lot!
Unless I'm mistaken, the WebBrowser control is a Windows Forms control. Is your app Windows Forms based? If so, this is not a good choice for exposing a UI, as your web visitors have no way of viewing the user interface.
As far as what will and won't run in Windows Azure worker roles: Worker roles are essentially Windows 2008 Server R2 or SP2, so whatever you run locally should run in Windows Azure, aside from sharing desktop UI's. The results of running multiple WebBrowser controls in Windows Azure shouldn't be any different than running on a local server.

Use WebDav in Sharepoint 2010

I have done some research, based on the problem that my single server gives me when I try to open a document library in windows explorer from the ribbon menu item "Open in Windows Explorer".
The same problem occurs when I try to map sharepoint to a folder in windows explorer too.
The error is:
Your client does not support opening this list with Windows Explorer
From the net, suggestions are:
(Since I'm trying this operation from server itself) enable Desktop Experience
Install the KB907306 update.
Enable IIS webDav service (Some say, it's just for additional functions from the MS Whitepaper)
(Edit) Started webClient service
I've already done them. Nothing changed. Proper machine restart and iis too have done.
Need some serious advice.
Thanks in advance.
Not sure if we are having exactly the same problem BUT I have had similar problem while accessing SP via Windows Explorer in Windows Server 2k8.
What I done to fix it is following:
Install new server feature called Desktop Experience (it comes with WebDAV redirector, which allows you to connect to WebDAV) - Note: Server will need to be restarted.
In Services start WebClient service (go to properties and make sure it starts automatically)
You will now be able to access your sharepoint via entering network path such as \sharepointhost\application\myawesomeapplication\ etc.
Hope that helps.
If you are trying to do this from the server, test it from a server which is not on the SharePoint farm (or better yet, a client machine). Ensure all of your testing is done from machines which are not on the farm.
Do NOT enable the IIS WebDAV service, as SharePoint provides its own WebDAV service and the IIS one overrides it in the pipeline. Enabling this service is a sure path to breaking WebDAV.
If you have SSL enabled, you may be in for a rough time getting it to work. Start by understanding how to use the 'net use' command, and the #SSL suffix.
make sure your webdav is installed as feature
make the following registry fix (http://support.microsoft.com/kb/841215) :
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters
Add a new DWORD "BasicAuthLevel" and change this to "2"
Restart your machine (and make sure it is enabled in IIS)
Make sure that WebClient windows service is running in the server. This shall appear in client operating systems like Windows 7, windows 8 however, on the server operating systems like Windows Server 2008, it shall be installed by enabling the server feature "Desktop experience" using Server Manager
This issue nearly killed me. I found that I was using a 64 bit version of my browser and that is'nt supported. I changed over to the 32 bit and it works.

Updating VB.net windows applications over the internet

I have a windows application developed in VB.net 2005. The application is installed in several machines.
Is there anyway when I do any modifications and publish the code it updates in all the machines.
PS: All the machines are connected to internet.
thanks
There is not an "Automatic" way of doing this, but there are various ways that you could try to enhance and automate the process.
You could build your own "updater" that polls every X days for an update, and pulls it down.
You could use click once to deploy and have the users do the updates.
For an existing application, there's nothing automatic out there. For a new application, look into ClickOnce deployment.