An unhandled exception of type 'System.NullRef erenceException ' occurred
in system.windows. forms.dll
Additional information: Object reference not set to an instance of an
object.
Unhandled Exception: System.NullRefe renceException: Object reference not
set to an instance of an object.
at System.Windows. Forms.RichTextB ox.EditStreamPr oc(IntPtr dwCookie,
IntPtr buf, Int32 cb, Int32& transferred)
at System.Windows. Forms.UnsafeNat iveMethods.Call WindowProc(IntP tr
wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at System.Windows. Forms.NativeWin dow.DefWndProc( Message& m)
at System.Windows. Forms.Control.D efWndProc(Messa ge& m)
at System.Windows. Forms.Control.W ndProc(Message& m)
at System.Windows. Forms.TextBoxBa se.WndProc(Mess age& m)
at System.Windows. Forms.RichTextB ox.WndProc(Mess age& m)
at System.Windows. Forms.ControlNa tiveWindow.OnMe ssage(Message& m)
at System.Windows. Forms.ControlNa tiveWindow.WndP roc(Message& m)
at System.Windows. Forms.NativeWin dow.DebuggableC allback(IntPtr hWnd,
Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows. Forms.UnsafeNat iveMethods.Peek Message(MSG& msg,
HandleRef hwnd, Int32 msgMin, Int32 msgMax, Int32 remove)
at SystWichitaFall s.TX.US.StarLin k.Org 372 djanjo2 :-
em.Windows.Form s.ComponentMana ger.System.Wind ows.Forms.Unsaf eNativeMethods+ IMsoComponentMa nager.FPushMess ageLoop(Int32
dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows. Forms.ThreadCon text.RunMessage LoopInner(Int32
reason, ApplicationCont ext context)
at System.Windows. Forms.ThreadCon text.RunMessage Loop(Int32 reason,
ApplicationCont ext context)
at System.Windows. Forms.Applicati on.Run(Form mainForm)
at PirateChat.Pira teChat.mainPira teChat.Main() in C:\Documents and
Settings\My Documents\Visua l Studio
Projects\VbNet\ project\PirateC hat\mainPirateC hat.vb:line 15
The program '[2736] PirateChat.exe' has exited with code 0 (0x0).
all i see is at SystWichitaFall s.TX.US.StarLin k.Org 372 djanjo2 :-
<==========wh y is that?????????
regards 3 1248
What is at line 15 of mainPirateChat. Main()
"Supra" wrote: An unhandled exception of type 'System.NullRef erenceException ' occurred in system.windows. forms.dll Additional information: Object reference not set to an instance of an object.
Unhandled Exception: System.NullRefe renceException: Object reference not set to an instance of an object. at System.Windows. Forms.RichTextB ox.EditStreamPr oc(IntPtr dwCookie, IntPtr buf, Int32 cb, Int32& transferred) at System.Windows. Forms.UnsafeNat iveMethods.Call WindowProc(IntP tr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam) at System.Windows. Forms.NativeWin dow.DefWndProc( Message& m) at System.Windows. Forms.Control.D efWndProc(Messa ge& m) at System.Windows. Forms.Control.W ndProc(Message& m) at System.Windows. Forms.TextBoxBa se.WndProc(Mess age& m) at System.Windows. Forms.RichTextB ox.WndProc(Mess age& m) at System.Windows. Forms.ControlNa tiveWindow.OnMe ssage(Message& m) at System.Windows. Forms.ControlNa tiveWindow.WndP roc(Message& m) at System.Windows. Forms.NativeWin dow.DebuggableC allback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) at System.Windows. Forms.UnsafeNat iveMethods.Peek Message(MSG& msg, HandleRef hwnd, Int32 msgMin, Int32 msgMax, Int32 remove) at SystWichitaFall s.TX.US.StarLin k.Org 372 djanjo2 :-
em.Windows.Form s.ComponentMana ger.System.Wind ows.Forms.Unsaf eNativeMethods+ IMsoComponentMa nager.FPushMess ageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData) at System.Windows. Forms.ThreadCon text.RunMessage LoopInner(Int32 reason, ApplicationCont ext context) at System.Windows. Forms.ThreadCon text.RunMessage Loop(Int32 reason, ApplicationCont ext context) at System.Windows. Forms.Applicati on.Run(Form mainForm) at PirateChat.Pira teChat.mainPira teChat.Main() in C:\Documents and Settings\My Documents\Visua l Studio Projects\VbNet\ project\PirateC hat\mainPirateC hat.vb:line 15 The program '[2736] PirateChat.exe' has exited with code 0 (0x0).
all i see is at SystWichitaFall s.TX.US.StarLin k.Org 372 djanjo2 :- <==========wh y is that????????? regards
See his second thread "can u fix this ............... "
Greg
"Le MasterChief" <Le***********@ discussions.mic rosoft.com> wrote in message
news:B2******** *************** ***********@mic rosoft.com... What is at line 15 of mainPirateChat. Main() "Supra" wrote:
An unhandled exception of type 'System.NullRef erenceException ' occurred in system.windows. forms.dll Additional information: Object reference not set to an instance of an object.
Unhandled Exception: System.NullRefe renceException: Object reference not set to an instance of an object. at System.Windows. Forms.RichTextB ox.EditStreamPr oc(IntPtr dwCookie, IntPtr buf, Int32 cb, Int32& transferred) at System.Windows. Forms.UnsafeNat iveMethods.Call WindowProc(IntP tr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam) at System.Windows. Forms.NativeWin dow.DefWndProc( Message& m) at System.Windows. Forms.Control.D efWndProc(Messa ge& m) at System.Windows. Forms.Control.W ndProc(Message& m) at System.Windows. Forms.TextBoxBa se.WndProc(Mess age& m) at System.Windows. Forms.RichTextB ox.WndProc(Mess age& m) at System.Windows. Forms.ControlNa tiveWindow.OnMe ssage(Message& m) at System.Windows. Forms.ControlNa tiveWindow.WndP roc(Message& m) at System.Windows. Forms.NativeWin dow.DebuggableC allback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) at System.Windows. Forms.UnsafeNat iveMethods.Peek Message(MSG& msg, HandleRef hwnd, Int32 msgMin, Int32 msgMax, Int32 remove) at SystWichitaFall s.TX.US.StarLin k.Org 372 djanjo2 :-
em.Windows.Form s.ComponentMana ger.System.Wind ows.Forms.Unsaf eNativeMethods+ IMsoComponentMa nager.FPushMess ageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData) at System.Windows. Forms.ThreadCon text.RunMessage LoopInner(Int32 reason, ApplicationCont ext context) at System.Windows. Forms.ThreadCon text.RunMessage Loop(Int32 reason, ApplicationCont ext context) at System.Windows. Forms.Applicati on.Run(Form mainForm) at PirateChat.Pira teChat.mainPira teChat.Main() in C:\Documents and Settings\My Documents\Visua l Studio Projects\VbNet\ project\PirateC hat\mainPirateC hat.vb:line 15 The program '[2736] PirateChat.exe' has exited with code 0 (0x0).
all i see is at SystWichitaFall s.TX.US.StarLin k.Org 372 djanjo2 :- <==========wh y is that????????? regards
'February 2004
'An unhandled exception of type 'System.NullRef erenceException ' 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.Sock ets
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.NullRef erenceException ' occurred in system.windows. forms.dll Additional information: Object reference not set to an instance of an object.
Unhandled Exception: System.NullRefe renceException: Object reference not set to an instance of an object. at System.Windows. Forms.RichTextB ox.EditStreamPr oc(IntPtr dwCookie, IntPtr buf, Int32 cb, Int32& transferred) at System.Windows. Forms.UnsafeNat iveMethods.Call WindowProc(IntP tr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam) at System.Windows. Forms.NativeWin dow.DefWndProc( Message& m) at System.Windows. Forms.Control.D efWndProc(Messa ge& m) at System.Windows. Forms.Control.W ndProc(Message& m) at System.Windows. Forms.TextBoxBa se.WndProc(Mess age& m) at System.Windows. Forms.RichTextB ox.WndProc(Mess age& m) at System.Windows. Forms.ControlNa tiveWindow.OnMe ssage(Message& m) at System.Windows. Forms.ControlNa tiveWindow.WndP roc(Message& m) at System.Windows. Forms.NativeWin dow.DebuggableC allback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) at System.Windows. Forms.UnsafeNat iveMethods.Peek Message(MSG& msg, HandleRef hwnd, Int32 msgMin, Int32 msgMax, Int32 remove) at SystWichitaFall s.TX.US.StarLin k.Org 372 djanjo2 :-
em.Windows.Fo rms.ComponentMa nager.System.Wi ndows.Forms.Uns afeNativeMethod s+IMsoComponent Manager.FPushMe ssageLoop(Int32 dwComponentID , Int32 reason, Int32 pvLoopData) at System.Windows. Forms.ThreadCon text.RunMessage LoopInner(Int32 reason, ApplicationCont ext context) at System.Windows. Forms.ThreadCon text.RunMessage Loop(Int32 reason, ApplicationCo ntext context) at System.Windows. Forms.Applicati on.Run(Form mainForm) at PirateChat.Pira teChat.mainPira teChat.Main() in C:\Documents and Settings\My Documents\Visua l Studio Projects\VbNe t\project\Pirat eChat\mainPirat eChat.vb:line 15 The program '[2736] PirateChat.exe' has exited with code 0 (0x0).
all i see is at SystWichitaFall s.TX.US.StarLin k.Org 372 djanjo2 :- <==========wh y 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 get the following output:
inc: 2
A: 2
inc: 3
B: 3
|
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 about 3 years
since I last wasted my time trying to get it to work).
The site layout is intended to look (nearly precisely) like this from
the CSS-2 spec:
http://www.w3.org/TR/REC-CSS2/visuren.html#fixed-positioning
|
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 block.
Another page I have a series of thumbnails which are themselves a DIV
block wrapping both an image and a caption (float: left) inside a DIV
block with a fixed width which is smaller than the width of the
browser and that DIV block is in...
|
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 understand something, so I'm hoping some experienced people can clarify my position
I write shareware apps that I only distribute through my own website. Download bandwidth is a major concern because that will cost me money
Here are my main concerns
*...
|
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 following, delimited by //////:
////////////////pose.h
#ifndef pose_h
#define pose_h
#include "point.h"
| |
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 with a class. I
just don't grasp the whole concept, and how to do it.
I want to make a Collectable Card Game Draft Engine...(if any of you
play VS System, LOTR, Magic: The Gathering, you know what I am talking
about.)
It would be way to...
|
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 kept saying, "I'm
afraid to say it's 'OK' to change it because everything I did was for
a reason." Well, I know better.
My boss' old code is written in some cryptic C file with Oracle
precompiler macros barfed all over it. Once I figured out how...
|
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 (type) {
case 'undefined':
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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 we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |