473,464 Members | 1,501 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

The program xxx has exited with code 0 (0x0).

I always get the exit code 0x0 running the following VB software from the
Visual Studion NET 2003:

Sub Main()
MsgBox("test v2")
Environment.Exit(99)
End Sub

What is wrong ?
Sep 5 '05 #1
2 20910
Go to:

http://msdn.microsoft.com/library/de...sexittopic.asp

and scroll to the bottom of the page where SecurityPermissions are
referenced. You are trying to access unmanaged code, so there is an extra
setting to adjust.

Hope this helps.

"Hulot" wrote:
I always get the exit code 0x0 running the following VB software from the
Visual Studion NET 2003:

Sub Main()
MsgBox("test v2")
Environment.Exit(99)
End Sub

What is wrong ?

Sep 7 '05 #2
You can use the property Environment.ExitCode instead.
"Hulot" <Hu***@discussions.microsoft.com> schrieb im Newsbeitrag
news:4D**********************************@microsof t.com...
I always get the exit code 0x0 running the following VB software from the
Visual Studion NET 2003:

Sub Main()
MsgBox("test v2")
Environment.Exit(99)
End Sub

What is wrong ?

Sep 7 '05 #3

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

Similar topics

3
by: James | last post by:
Im having trouble building/running a program which was written under Visual Studio 2000 & .NET Framework 1.0. Im now using a new installation of .NET 1.1 with Visual Studio 2003, otherwise there...
1
by: chuayongquan | last post by:
i am doing a dll debugging and kept getting this error: The thread 0x880 has exited with code 0 (0x0). then vs c++ gave me memory leak detected and start to memory dump. but i am getting another...
1
by: Anders Both | last post by:
Why does my asp.net application sometimes write into the debug window The thread '<No Name>' (0x974) has exited with code 0 (0x0). ?
1
by: Bob | last post by:
The thread '<No Name>' (0x29c) has exited with code 0 (0x0) What is this and why do I see it occasionally in the Output screen? Bob
2
by: Hulot | last post by:
I always get the exit code 0x0 running the following VB software from the Visual Studion NET 2003: Sub Main() MsgBox("test v2") Environment.Exit(99) End Sub What is wrong ?
4
by: Charlie Brown | last post by:
The thread '<No Name>' (0xedc) has exited with code 0 (0x0) While debugging appplications, I often see this message popup in the VS output window. Although I havent specifically written any...
4
by: Martin Pöpping | last post by:
Hello, I´m writing a windows application in C-Sharp which makes long calculations (10-40 minutes). Very often I get messages like: The thread 0xdb0 has exited with code 0 (0x0). Although...
4
by: garyusenet | last post by:
Hi. I am trying to learn about array lists, and found an example on MSDN. I tried to compile it but it's not producing any output. I can't see why. Any ideas? Here is what I did. 1....
10
by: Nicholas Zhou | last post by:
Sorry if this sounds stupid. I am a total newbie.... Can I compile C program in Visual Studio 2005 IDE? I wrote the simple "Hello World" program in it: ------------------------------------ ...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.