Re: serial port and securityexception
From: Anand Balasubramanian (anandb_at_online.microsoft.com)
Date: 03/10/04
- Next message: Raterus: "Question about char() arrays in parameters"
- Previous message: james: "Re: Screen print in VB.Net"
- In reply to: Jason: "Re: serial port and securityexception"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 10 Mar 2004 22:01:49 GMT
Hi Jason,
Its not a problem if you want me to explain things. Basically when you
write a VB,net aplication, you would create an MSI which is the setup
project for the application. You woudl then install this on every pc it is
going to run. So when the user executes, everything will work fine, because
the exe is from the local box. So the .Net security will not complain. But
if you install it on a server and the users click it and run it, then you
will have to give the necessary permissions on each machine to trust the
network share. The reason why people deploy apps in a network share is
because then you always update it only on the server and dont have to
update it on every client machine. Although this process looks like it
would save a lot of work, we generally do not recommend it. The reason is
when the user clicks the app on the network share, it will still run on the
local machine, and it has to download the depenedent dlls to the local
machine before executing it. This will work in many cases, but there can be
problems too. I just had a customer who did the same thing and he had
problems with his application because some of the dls were not downloaded
to the client machine. To circumvent this problem there is a new way of
deploying applications called no-touch deployment. Basically in this case,
you would put you application in a web folder in a web server and then the
client can browse to the app vie IE and that will take care of downloading
the dependent dlls. Here is a link about this topic
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechar
t/html/vbtchNo-TouchDeploymentInNETFramework.asp
If you still have questions please do post back to the news group and I
will answer it as best as I could.
Anand Balasubramanian
Microsoft, Visual Basic .NET
This posting is provided "AS IS" with no warranties, and confers no rights.
Please reply to newsgroups only. Thanks
- Next message: Raterus: "Question about char() arrays in parameters"
- Previous message: james: "Re: Screen print in VB.Net"
- In reply to: Jason: "Re: serial port and securityexception"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|