473,395 Members | 1,437 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Debug in Zone??? What's that?

Hi, Im trying to get command line arguments into my VB windows application.
I've set some arguments under the 'debug' tab underproject properties.

When running the program I get the following message:

"The current project settings specify that the project will be debugged with
specific security permissions. In this mode, command line arguments are not
be passed to the executable. Do you want to continue debugging anyway?"

I've managed to find a place describing the problem,
http://support.microsoft.com/kb/919827

But not how to resolve it!!!. What is Debug in Zone feature??. This is not a
problem in C#, neither in a VB console application. What is going on.

The entry point in the program looks like this:

Sub Main(ByVal cmdArgs() As String)

' This call is required by the Windows Form Designer.

InitializeComponent()

If cmdArgs.Length 0 Then

LoadFile(cmdArgs(1))

End If

End Sub

Regards.
Jesper.

Nov 20 '06 #1
1 4585
Hi Jesper,

Open the project's properties window, browse to the Security tab and make
sure "Enable ClickOnce Security Settings" is unchecked.

--
Dave Sexton

"Jesper, Denmark" <Je***********@discussions.microsoft.comwrote in message
news:D1**********************************@microsof t.com...
Hi, Im trying to get command line arguments into my VB windows
application.
I've set some arguments under the 'debug' tab underproject properties.

When running the program I get the following message:

"The current project settings specify that the project will be debugged
with
specific security permissions. In this mode, command line arguments are
not
be passed to the executable. Do you want to continue debugging anyway?"

I've managed to find a place describing the problem,
http://support.microsoft.com/kb/919827

But not how to resolve it!!!. What is Debug in Zone feature??. This is not
a
problem in C#, neither in a VB console application. What is going on.

The entry point in the program looks like this:

Sub Main(ByVal cmdArgs() As String)

' This call is required by the Windows Form Designer.

InitializeComponent()

If cmdArgs.Length 0 Then

LoadFile(cmdArgs(1))

End If

End Sub

Regards.
Jesper.

Nov 21 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Jon Davis | last post by:
The date string: "Thu, 17 Jul 2003 12:35:18 PST" The problem: // this fails on PST DateTime myDate = DateTime.Parse("Thu, 17 Jul 2003 12:35:18 PST"); Help? Jon
2
by: Avi | last post by:
I have a problem to get the different time zone's name for example I need the name of time zone UTC + 4:30 ("Kabul") The TimeZone.CurrentTimeZone get my current time zone name and I couldn't...
2
by: Ken Allen | last post by:
I have a service that was developed in C# that I wish to debug. The project resides on my desktop system and I wish it to execute on a remote test system (actually on the next desk). When I...
6
by: Peter Afonin | last post by:
Hello: I'm running Windows server 2003. I've never had any problems with debugging, but now I cannot debug ANY of my projects. I'm getting this error: "Error while trying to run project:...
4
by: Amil Hanish | last post by:
Don't reply to this unless you know what you are talking about. Installed brand spanking new 2003 Server. Configured to be application server. Then installed Visual Studio .NET. Copied over...
1
by: feng | last post by:
Hi, I am trying to debug my asp.net project in VS.Net. What I am getting is a error message that says "Error when trying to run project: Unable to start debugger on the web server. you do not...
0
by: Andrew Morton | last post by:
Windows Server 2003 SP1, IIS6.0, .NET1.1, VS2003 I got the "URL Is In the Internet Zone" error when trying to debug an ASP.NET application, with 403.0 followed by 401.5 errors in the IIS log. ...
8
by: Fred Flintstone | last post by:
I have an odd problem. I'm beating myself bloody trying to get debugging to work. I have VS.Net 2005 installed on a Windows XP SP2 workstation and on a W2003 Server. The asp.net application is...
3
by: Tina | last post by:
I installed IE7 and not I can't debug my asp.net projects. When I hit F5 it says... Unable to start debugging on the web server. You do not have permission to debug the application. The URL...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.