An unhandled exception of type 'System.NullReferenceException' occurred
in system.windows.forms.dll
Additional information: Object reference not set to an instance of an
object.
Unhandled Exception: System.NullReferenceException: Object reference not
set to an instance of an object.
at System.Windows.Forms.RichTextBox.EditStreamProc(In tPtr dwCookie,
IntPtr buf, Int32 cb, Int32& transferred)
at System.Windows.Forms.UnsafeNativeMethods.CallWindo wProc(IntPtr
wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at System.Windows.Forms.NativeWindow.DefWndProc(Messa ge& m)
at System.Windows.Forms.Control.DefWndProc(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.TextBoxBase.WndProc(Message& m)
at System.Windows.Forms.RichTextBox.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage (Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(M essage& m)
at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.PeekMessa ge(MSG& msg,
HandleRef hwnd, Int32 msgMin, Int32 msgMax, Int32 remove)
at SystWichitaFalls.TX.US.StarLink.Org 372 djanjo2 :-
em.Windows.Forms.ComponentManager.System.Windows.F orms.UnsafeNativeMethods+IMsoComponentManager.FPus hMessageLoop(Int32
dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.ThreadContext.RunMessageLoopI nner(Int32
reason, ApplicationContext context)
at System.Windows.Forms.ThreadContext.RunMessageLoop( Int32 reason,
ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at PirateChat.PirateChat.mainPirateChat.Main() in C:\Documents and
Settings\My Documents\Visual Studio
Projects\VbNet\project\PirateChat\mainPirateChat.v b:line 15
The program '[2736] PirateChat.exe' has exited with code 0 (0x0).
all i see is at SystWichitaFalls.TX.US.StarLink.Org 372 djanjo2 :-
<==========why is that?????????
regards 3 1231
What is at line 15 of mainPirateChat.Main()
"Supra" wrote: An unhandled exception of type 'System.NullReferenceException' occurred in system.windows.forms.dll Additional information: Object reference not set to an instance of an object.
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object. at System.Windows.Forms.RichTextBox.EditStreamProc(In tPtr dwCookie, IntPtr buf, Int32 cb, Int32& transferred) at System.Windows.Forms.UnsafeNativeMethods.CallWindo wProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam) at System.Windows.Forms.NativeWindow.DefWndProc(Messa ge& m) at System.Windows.Forms.Control.DefWndProc(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.TextBoxBase.WndProc(Message& m) at System.Windows.Forms.RichTextBox.WndProc(Message& m) at System.Windows.Forms.ControlNativeWindow.OnMessage (Message& m) at System.Windows.Forms.ControlNativeWindow.WndProc(M essage& m) at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) at System.Windows.Forms.UnsafeNativeMethods.PeekMessa ge(MSG& msg, HandleRef hwnd, Int32 msgMin, Int32 msgMax, Int32 remove) at SystWichitaFalls.TX.US.StarLink.Org 372 djanjo2 :-
em.Windows.Forms.ComponentManager.System.Windows.F orms.UnsafeNativeMethods+IMsoComponentManager.FPus hMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData) at System.Windows.Forms.ThreadContext.RunMessageLoopI nner(Int32 reason, ApplicationContext context) at System.Windows.Forms.ThreadContext.RunMessageLoop( Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.Run(Form mainForm) at PirateChat.PirateChat.mainPirateChat.Main() in C:\Documents and Settings\My Documents\Visual Studio Projects\VbNet\project\PirateChat\mainPirateChat.v b:line 15 The program '[2736] PirateChat.exe' has exited with code 0 (0x0).
all i see is at SystWichitaFalls.TX.US.StarLink.Org 372 djanjo2 :- <==========why is that????????? regards
See his second thread "can u fix this ..............."
Greg
"Le MasterChief" <Le***********@discussions.microsoft.com> wrote in message
news:B2**********************************@microsof t.com... What is at line 15 of mainPirateChat.Main() "Supra" wrote:
An unhandled exception of type 'System.NullReferenceException' occurred in system.windows.forms.dll Additional information: Object reference not set to an instance of an object.
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object. at System.Windows.Forms.RichTextBox.EditStreamProc(In tPtr dwCookie, IntPtr buf, Int32 cb, Int32& transferred) at System.Windows.Forms.UnsafeNativeMethods.CallWindo wProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam) at System.Windows.Forms.NativeWindow.DefWndProc(Messa ge& m) at System.Windows.Forms.Control.DefWndProc(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.TextBoxBase.WndProc(Message& m) at System.Windows.Forms.RichTextBox.WndProc(Message& m) at System.Windows.Forms.ControlNativeWindow.OnMessage (Message& m) at System.Windows.Forms.ControlNativeWindow.WndProc(M essage& m) at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) at System.Windows.Forms.UnsafeNativeMethods.PeekMessa ge(MSG& msg, HandleRef hwnd, Int32 msgMin, Int32 msgMax, Int32 remove) at SystWichitaFalls.TX.US.StarLink.Org 372 djanjo2 :-
em.Windows.Forms.ComponentManager.System.Windows.F orms.UnsafeNativeMethods+IMsoComponentManager.FPus hMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData) at System.Windows.Forms.ThreadContext.RunMessageLoopI nner(Int32 reason, ApplicationContext context) at System.Windows.Forms.ThreadContext.RunMessageLoop( Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.Run(Form mainForm) at PirateChat.PirateChat.mainPirateChat.Main() in C:\Documents and Settings\My Documents\Visual Studio Projects\VbNet\project\PirateChat\mainPirateChat.v b:line 15 The program '[2736] PirateChat.exe' has exited with code 0 (0x0).
all i see is at SystWichitaFalls.TX.US.StarLink.Org 372 djanjo2 :- <==========why is that????????? regards
'February 2004
'An unhandled exception of type 'System.NullReferenceException' occurred
in system.windows.forms.dll
'Additional information: Object reference not set to an instance of an
object.
Option Explicit On
Option Strict Off
Imports System
Imports System.Text
'Imports System.Net.Dns
'Imports System.Net.Sockets
Namespace PirateChat
Public Class mainPirateChat <==== error occured in bold
Le MasterChief wrote: What is at line 15 of mainPirateChat.Main() "Supra" wrote: An unhandled exception of type 'System.NullReferenceException' occurred in system.windows.forms.dll Additional information: Object reference not set to an instance of an object.
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object. at System.Windows.Forms.RichTextBox.EditStreamProc(In tPtr dwCookie, IntPtr buf, Int32 cb, Int32& transferred) at System.Windows.Forms.UnsafeNativeMethods.CallWindo wProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam) at System.Windows.Forms.NativeWindow.DefWndProc(Messa ge& m) at System.Windows.Forms.Control.DefWndProc(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.TextBoxBase.WndProc(Message& m) at System.Windows.Forms.RichTextBox.WndProc(Message& m) at System.Windows.Forms.ControlNativeWindow.OnMessage (Message& m) at System.Windows.Forms.ControlNativeWindow.WndProc(M essage& m) at System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) at System.Windows.Forms.UnsafeNativeMethods.PeekMessa ge(MSG& msg, HandleRef hwnd, Int32 msgMin, Int32 msgMax, Int32 remove) at SystWichitaFalls.TX.US.StarLink.Org 372 djanjo2 :-
em.Windows.Forms.ComponentManager.System.Windows .Forms.UnsafeNativeMethods+IMsoComponentManager.FP ushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData) at System.Windows.Forms.ThreadContext.RunMessageLoopI nner(Int32 reason, ApplicationContext context) at System.Windows.Forms.ThreadContext.RunMessageLoop( Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.Run(Form mainForm) at PirateChat.PirateChat.mainPirateChat.Main() in C:\Documents and Settings\My Documents\Visual Studio Projects\VbNet\project\PirateChat\mainPirateChat .vb:line 15 The program '[2736] PirateChat.exe' has exited with code 0 (0x0).
all i see is at SystWichitaFalls.TX.US.StarLink.Org 372 djanjo2 :- <==========why is that????????? regards This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Bart |
last post by:
Hi all
I don't understand globals between multiple modules in a python program. I
really don't. I've narrowed it down to the following two very simple
programs a.py and b.py. When I run a.py I...
|
by: komone |
last post by:
"Now is the time for all good web developers to use stylesheets".
Hmm OK, so I start this commercial site design with the express intent
of using CSS entirely. (Something I haven't attempted in...
|
by: Robert Nicholson |
last post by:
So I've got one page where I have an image inside a DIV with
text-align: center and the
image is correctly centered in that block. Making me think that
text-align will center the contents of a...
|
by: Lars |
last post by:
Hello
I write all my applications in VB6-- and I don't understand the reason to move to .NET (other than MS might break VB6 apps in future updates). I'm taking the position that I don't...
|
by: Sam |
last post by:
Hi I'm learning to code with C++ and wrote some very simple code. I
think it's consistent with every rule but always got compiling errors
that I don't understand.
The code include 5 files as...
|
by: Jace Benson |
last post by:
Ok I have read alot of things on zend.com, php.net and other sites went
to the wikibooks to try to understand how to use a class. I have this
project I want to do that I am sure would work great...
|
by: Jo |
last post by:
class A {
public:
char text_a;
A() { *text_a=0; }
~A() {}
};
//-----------------------------------------------------------------------------
|
by: jehugaleahsa |
last post by:
Hello:
I had an hour-long discussion with my boss today. Last night, right
before I dozed off, I realized some of his code resulted in duplicate
processing. I tried to explain it to him and he...
|
by: Ben Thomas |
last post by:
Hello,
I have the following code which I don't understand why it works :
#include <iostream>
using namespace std;
void DontWork (unsigned int& i) {
cout << i << endl;
}
|
by: None |
last post by:
Hi All
These code are part of Prototype. There are something that I don't
understand, would you please explain it for me?
.......
toJSON: function(object) {
var type = typeof object;
switch...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
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
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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...
|
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,...
|
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...
| |