System.EventArgs Class
Information   Base Types   Related Resources

EventArgs is the base class for classes containing event data.

  • Namespace: System
  • First seen in: .NET v1.0.3705
  • Last seen in: .NET v1.1.4322
  • Last changed in: .NET v1.0.3705
  • Assembly: mscorlib.dll

  • System.Object
  • View this type on MSDN
  • View this type on WinFX 247
    Articles (890)Discussions (11139)MembersRotorChanges
    Discussions

    Page: 1234567891011121314151617181920
    2122232425262728293031323334353637383940
    4142434445464748495051525354555657585960
    6162636465666768697071727374757677787980
    81828384858687888990919293949596979899100
    101102103104105106107108109110111112113114115116117118119120
    121122123124125126127128129130131132133134135136137138139140
    141142143144145146147148149150151152153154155156157158159160
    161162163164165166167168169170171172173174175176177178179180
    181182183184185186187188189190191192193194195196197198199200
    201202203204205206207208209210211212213214215216217218219220
    221222223224225226227228229230231232233234235236237238239240
    241242243244245246247248249250251252253254255256257258259260
    261262263264265266267268269270271272273274275276277278279280
    281282283284285286287288289290291292293294295296297298299300
    301302303304305306307308309310311312313314315316317318319320
    321322323324325326327328329330331332333334335336337338339340
    341342343344345346347348349350351352353354355356357358359360
    361362363364365366367368369370371372373374375376377378379380
    381382383384385386387388389390391392393394395396397398399400
    401402403404405406407408409410411412413414415416417418419420
    421422423424425426427428429430431432433434435436437438439440
    441442443444445446
    ERROR ERROR ERROR (VIP replies)
    microsoft.public.dotnet.languages.csharp
    Can anyone help on this error? I can't find anything on it and not sure what it means Server was unable to process request. Requested registry access is not allowed. This error happens when I try to use a Server.Transfer to another webform.
    Error handling doesn't work when I ugrade to VB .NET 2003 (VIP replies)
    microsoft.public.dotnet.languages.vb.upgrade
    In a VB newsgroup, I've described an apparent problem with VB 6. I've been able to replicate and demonstrate the problem. See the revised http://www.standards.com/temporary/OutOfStackSpace.html. I am now trying to determine whether the same behavior is seen with VB .NET. There are no upgrade warnings when upgrading to VB .NET 2003, however, I do have to change the Currency data type to Long for th...
    Error in For Each Collection CodeSmith Template (VIP replies)
    microsoft.public.dotnet.general
    Error message: An unhandled exception of type 'System.InvalidCastException' occurred in test.dll Additional information: Specified cast is not valid. Public Class Form1 Inherits System.Windows.Forms.Form Private Sub Button1 Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim oUsers As New Users Dim oUser As User oUser New User oUser.Key "JJ" oUser.FirstName ...
    Error in Hello World page (VIP replies)
    microsoft.public.dotnet.general
    I just started working thru a book on ASP.NET and am trying to display their Hello World page. Below is the page. When I attempt to display it with IE, I get an error on line 23, 'runtime error, expected ';'. Any clues? %@ Page Language "VB" % html head title Simple test ASP.NET page /title /head body form runat "server" h2 A Simple ASP.NET Page /h2 p Enter your name in the box below, then click t...
    error in me.show() (VIP replies)
    microsoft.public.dotnet.languages.vb
    Hi I can't seem to make the Me.Show() work. My code is: dim dlgresult as dialogresult dlgresult me.show() The message is : "expression does not produce a value" But if I sue this: dlgresult Me.ShowDialog(), it works. It's just that I need my form to me modeless. What am I missing here? Thanks :)
    Error in output from transformation when output exceeds 16040 byte (VIP replies)
    microsoft.public.dotnet.xml
    I have written an XSLT transformation on an ASP.NET page. The resulting HTML is primarily a table of links. I have found that when the resulting HTML is less than or equal to 16040 bytes, the output display is normal, but when the resulting HTML exceeds 16040 bytes, the output does not display correctly. When I look at View Source, I see that the final /html tag gets moved to another spot in the o...
    Error in system.windows.forms.dll When running converted apps (VIP replies)
    microsoft.public.dotnet.languages.vb.upgrade
    Hi, I am just starting to convert a VB6 application to VB.NET. I ran the conversion Wizard and this created a new project in VB.NET however whenever I run the program I get: An unhandled exception of type 'System.StackOverflowException' occurred in system.windows.forms.dll This happens with code running in the debugger or from a compiled version of the code running outside the VB.NET IDE. Is this ...
    error in updating datasource (VIP replies)
    microsoft.public.dotnet.framework.aspnet.webservices
    I created a web service with this method: [WebMethod()] public DataSet UpdateCustomers(DataSet custDS) { SqlDataAdapter custDA new SqlDataAdapter(); try { ..... setting update/delete/insert commands ..... custDA.ContinueUpdateOnError true; custDA.Update(custDS, "Customers"); } catch(System.Exception e) { throw new SoapException(e.Message, new XmlQualifiedName("DBError"), e); } return custDS; } Thi...
    Error Login Faild. (VIP replies)
    ASPFriends.com 'ngfx-crystal' list
    Hi When I run webform CR report I receive Login Faild. Why? Thanks
    Error on re-opening a form (VIP replies)
    microsoft.public.dotnet.languages.vb
    The error I get is: Cannot access a disposed Object named "Form2". Object name "Form2". Here is the sequence which gives the error. Start program. Form1 comes up and has a button to choose Form2. Go to Form2. Close Form2 when done. Now back on Form1. Click button to go back to Form2. The error/exception comes up. I originally got this error when using Me.Close(), so I changed it to Me.Hide() and e...
    Error Pages, Static Error Variables and all the stuff inbetween (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    so I was looking at an example on codeproject.com that talked about how to globalize your error handling. I was extremely confused by some code. Id appreciate if someone could help me out by understanding this. URL if anyone is interested: http://www.codeproject.com/aspnet/JcGlobalErrorHandling.asp#xx726891xx 1) Ok, so in short, the way to do this error handling is to set a STATIC variable in some...
    error setting tooltip (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    Hi there, I am seeing a very intermittent problem when trying to set the tooltip for a control. I am trying to set the tool tip for a control on my form during the form load event. Very rarely I will get the exception below: System.SystemException {"Failed to add the tip to the native tool tip control."} at System.Windows.Forms.ToolTip.CreateRegion(Control ctl)\r\n at System.Windows.Forms.ToolTip....
    Error Starting APP in the GDI (VIP replies)
    microsoft.public.dotnet.languages.vb
    I moved a bunch of code and variable declaration around to make things a little more efficient. Now when i try and run the app I get the following error: An unhandled exception of type 'System.NullReferenceException' occurred in Unknown Module. Additional information: Object reference not set to an instance of an object. The problem is that i can't debug it. I have put breakpoints everywhere and c...
    Error TreeView Reference In Thread (VIP replies)
    microsoft.public.dotnet.framework.windowsforms.controls
    Hi Everyone, Can someone help me understand why its possible to reference a ListView Box but not a TreeView Box to a thread? the code below error out on the reference of the TreeView but it work fine on the ListView. IN A MODULE Namespace Test TreeView Public Class AddItem Public xTree As TreeView Public xList As ListView Public Sub Add Node() xList.Items.Add("Hello World") xTree.Nodes.Add("Hello ...
    Error trying to get totals in footer (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    I have gotten the following error in trying to get totals to come out on a footer. Server Error in '/test' Application. DataBinder.Eval: 'System.Data.Common.DbDataRecord' does not contain a property with the name ViewCount. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it or...
    Error trying to read config file (VIP replies)
    ASPFriends.com 'aspngconfig' list
    This is my first .Net project. What can I change to be able to read this value? Here's the error: Compiler Error Message: BC30451: The name 'ConfigurationSettings' is not declared. Here's the config file I'm trying to read: ?xml version "1.0" encoding "utf 8" ? configuration ! application specific settings appSettings add key "ConnectionString" value "server localhost;Trusted Connection true;datab...
    error when loading an old style dll (VIP replies)
    microsoft.public.dotnet.languages.vb
    Hi I am just trying to load an old style dll, not trying to pass anything to it yet but get the error below. An unhandled exception of type 'System.Runtime.InteropServices.MarshalDirectiveException' occurred in dll test.exe Additional information: PInvoke restriction: can not return variants. It is a c dll. Here is the code Imports System.Runtime.InteropServices Public Class Win32 reduce Declare A...
    error with report (VIP replies)
    microsoft.public.dotnet.datatools
    hi all, i'm using the "insertion model" of ADO.NET to see my reports. this model is the desconnected model of NET. i have to create a dataset object (visual dataset schema), base my report on it and after: a form with a crystalreportviewer, configure its property "reportSource" this method requires code which fills the dataset of our SQL's data and pass it to our report with the "setdatasource" me...
    Error: "No parameterless constructor defined for this object." (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    Hi, I am trying to invoke as like below. Form frmChild (Form) Activator.CreateInstance (typeInstance); frmChild.MdiParent parentForm; frmChild.StartPosition FormStartPosition.CenterScreen; frmChild.Show(); When I invoke a form it works fine after frmchild is shown it is giving error saying "No parameterless constructor defined for this object.". But still works. Catch is when i again invoke some c...
    Error: Session has expired... (VIP replies)
    microsoft.public.dotnet.framework.aspnet.mobile
    I have a WAP gateway installed local on my computer where I develop mobile webforms. The applications works fine and the session control also works all selections are correctly displayed when I move between different webforms. BUT when I use the company's WAP gateway I get an error after the first or second webform (In the same application): Application Error Session has expired or client did not ...
    Error:An unexpected end of file parsing CDATA has occurred. (VIP replies)
    microsoft.public.dotnet.xml
    I am creating a XML document which opens fine in IE. Implies MSXML thinks it is a well formed document. But when I try to load this document in VB.net using the following code Dim doc As New XmlDocument doc.Load("C:\Projects\SQLXML\corc.xml") I get the following error: "System.Xml.XmlException: An unexpected end of file parsing CDATA has occurred. Line 6, position 1. at System.Xml.XmlScanner.ScanC...
    etched line look quickly (VIP replies)
    microsoft.public.dotnet.languages.vb
    Is there a quick way to produce an etched line look that microsoft uses to split up sections (similar to the bottom line of a group box) with out actually using the GDI commands to draw it as line and another line? i thought i saw a way in the past but cant find it now... thanks
    eVC .dll in vb.net on PocketPC 2003 (VIP replies)
    microsoft.public.dotnet.framework.compactframework
    I am having trouble accessing a .dll created in eVC through vb.net. The function for the .dll looks like the following in eVC: declspec(dllexport) int WINAPI foo3 (int inval) { return inval 10; } Inside of my VB appliation, I have the following: Imports System.Runtime.InteropServices DllImport("CProcess.DLL") Public Function foo3(ByVal foo As Integer) As Integer End Function Private Sub Button1 Cl...
    even handling in VB.NET vs. C# (VIP replies)
    ASPFriends.com 'aspngvb' list
    I notice that in C# when you want to raise an event you test that the event has a handler registered, and then you call the handler directly, if (ClickApply ! null) ClickApply(this, new EventArgs()); In VB.NET you do no test, but you call RaiseEvent ClickApply(this, new EventArgs()); Am I right that VB.NET is doing the test for you (hidden somewhere) or is the mechanism just different? Jesse Liber...
    event (VIP replies)
    ASPFriends.com 'aspngfreeforall' list
    Moved from [aspngxml] to [aspngfreeforall] by Tony Stark IronMan@aspelite.com Hi, I have declared an onclick event handler for one button and it does'nt do anything. I don't know if I am missing some configuration setting or some declaration, but appear to be that my events don't do anything when they are fired, because I have used other controls and is the same. Here is the code, (in the case of ...
    Ad
    MBR BootFX
    Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
     
     Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
    Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com