|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
security issues with an upgraded VB6 programHello,
I'm not a professional developer. I have several in-house VB6 programs that I have upgraded to VB.NET. One of them runs fine while I'm in the VisualStudio.NET environment, but the .exe will not run standalone. I get security messages, I guess because I am creating folders and copying files on a network drive. I think I must do more to deploy the program correctly, but I can't figure out what it might be. If anyone can help, I would GREATLY appreciate it. Thanks Gary Hi,
The security settings for an application being run on a local computer are different than one being run on the local network. You can use caspol.exe to give your application the required permissions. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cptools/html/cpgrfcodeaccesssecuritypolicyutilitycaspolexe.asp If you are using vb 2005 click once simplifies the process for you. http://msdn2.microsoft.com/en-us/library/91z17fc9(VS.80).aspx Ken ------------------ Show quoteHide quote "garyme2" wrote: > Hello, > I'm not a professional developer. I have several in-house VB6 programs that > I have upgraded to VB.NET. One of them runs fine while I'm in the > VisualStudio.NET environment, but the .exe will not run standalone. I get > security messages, I guess because I am creating folders and copying files on > a network drive. I think I must do more to deploy the program correctly, but > I can't figure out what it might be. > If anyone can help, I would GREATLY appreciate it. > Thanks > Gary > Thanks very much, Ken. I don't believe I fully installed the SDK since I have
lot of information and documentation installed, but the program isn't found where it says it should be. I will re-install the SDK and probably fix my problem. Thanks again. Gary Show quoteHide quote "Ken Tucker [MVP]" wrote: > Hi, > > The security settings for an application being run on a local > computer are different than one being run on the local network. You can use > caspol.exe to give your application the required permissions. > > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cptools/html/cpgrfcodeaccesssecuritypolicyutilitycaspolexe.asp > > If you are using vb 2005 click once simplifies the process for you. > > http://msdn2.microsoft.com/en-us/library/91z17fc9(VS.80).aspx > > Ken > ------------------ > > "garyme2" wrote: > > > Hello, > > I'm not a professional developer. I have several in-house VB6 programs that > > I have upgraded to VB.NET. One of them runs fine while I'm in the > > VisualStudio.NET environment, but the .exe will not run standalone. I get > > security messages, I guess because I am creating folders and copying files on > > a network drive. I think I must do more to deploy the program correctly, but > > I can't figure out what it might be. > > If anyone can help, I would GREATLY appreciate it. > > Thanks > > Gary > >
Merging data received via TCP
Finding A Record in a Dataset by index Form1 can't getfocus again... Legacy Connection Object - I need a new one Execute something stored in a variable Waiting for ThreadPool textbox enter or GotFocus IE Privacy - DNS Problem - ASP.NET Are there any tools that can generate call graph for Visual Basic .NET source codes? 77 lines code need 30MB ram ? |
|||||||||||||||||||||||