Display: Cloud | List
Most Popular Tags
Results (54 total) All > event (x)
Sample Event Handler Using PowerShell (Receiving a WMI Event (Windows))
<#.SYNOPSIS This script registers for a WMI event.DESCRIPTION This script used PowerShell to register for then display an event. This script is a re-write on an MSDN Sample..NOTES File Name : Register-Event1.ps1 Author : Thomas Lee - tfl@psp.co.uk Requires : PowerShell Version 2.0.LINK This script posted to: http://www.pshscripts.blogspot.com MSDN sample po
Last modified by Thomas Lee on 10/7/2011 8:14:02 AM
Tags:  code  event  powershell  wmi
NonSerialized in VB (Walkthrough: Persisting an Object in Visual Basic)
Hi!In the example you show above for VB, the application of the NonSerialized attribute is not possible, because VB only lets you apply this attribute to a field. However if you would like to implement a NonSerialized event you can still do it by declaring a custom event as can be seen in my blog article on http://mokom.com.au/kyryll/?p=122#more-122.Happy coding,Kyryllkyryll.com
Last modified by Kyryll on 6/24/2010 12:32:17 AM
Tags:  event  nonserialized  vb
The thread of the events (BackgroundWorker Class (System.ComponentModel))
It is my understanding that the three BackgroundWorker events other than DoWork execute in the thread that the BackgroundWorker is created in. If any of that is incorrect, then the documentation should state the accurate information. If my understanding is correct, then it still would help if the documentation was explicit.In other words, the ProgressChanged and RunWorkerCompleted event handlers d
Last modified by Simple Samples on 6/22/2010 11:28:37 PM
Sample code caused leaking IDisposable object error (SPItemEventProperties Class (Microsoft.SharePoint))
Corrected version:using (SPSite site = new SPSite(properties.SiteId)){ using (SPWeb oWebsite = site.OpenWeb(properties.RelativeWebUrl)) { SPListItemCollection collItems = oWebsite.Lists[properties.ListTitle].Items; if (collItems.Count > 150) { properties.Cancel = true; properties.ErrorMessage = "Adding items to this list is not supported because
Last modified by Bxl61 on 4/26/2010 9:34:59 PM
Visual Web DeveloperHow to: Create Event Handlers in ASP.NET Web PagesWhen you are editing an ASP.NET Web page in Visual Studio, you can create server event handlers for controls and for the page in a variety of ways. Some of the ways depend on which programming language you are working in. You can create handlers by using the facilities in Visual Web Developer, or you can create them declarativel
Last modified by Microsoft on 2/2/2010 12:22:39 AM
Tags:  event  handlers
Listener error when creating subscription (Setting up a Source Initiated Subscription (Windows))
If you receive the following error: "Code (0x8033808F): The client could not start a valid listener to receive subscription events based on the specified input settings."Check whether WinRM is enabled on the loopback interface: winrm enum winrm/config/listenerFor me it was disabled thorugh Group Policy. Once the correct IPv4 filter was set in the "Allow automatic configuration of listeners", event
Last modified by Zoltán Micskei on 3/11/2010 12:50:03 PM
Tags:  event  forwarding  listener  winrm
change this.BackColor Color in Mouse_up event (Control.PointToScreen Method (System.Windows.Forms))
change this.BackColor Color in Mouse_up event
Last modified by Thomas Lee on 6/5/2010 6:47:10 PM
Tags:  event
Using Java Script (Selection, Navigation, and Check Boxes in the TreeView Web Server Control)
function PostBackCheckedState(){var eventname = window.event.srcElement;if (eventname.tagName == "INPUT" && eventname.type == "checkbox"){__doPostBack("","");} }
Last modified by .NetGuide on 3/2/2010 1:51:04 PM
Tags:  box  check  checked  event
Application.OnKey MethodExcel Developer ReferenceRuns a specified procedure when a particular key or key combination is pressed.Syntaxexpression.OnKey(Key, Procedure)expression   A variable that represents an Application object.ParametersNameRequired/OptionalData TypeDescriptionKeyRequiredStringA string indicating the key to be pressed.ProcedureOptionalVariantA string indicating the name of the pr
Last modified by Microsoft on 8/19/2009 11:29:50 PM
Tags:  2007  basic  event  key  press  procedure  visual
.NET Framework Developer's Guide  Events and Delegates  An event is a message sent by an object to signal the occurrence of an action. The action could be caused by user interaction, such as a mouse click, or it could be triggered by some other program logic. The object that raises the event is called the event sender. The object that captures the event and responds to it is call
Last modified by Microsoft on 12/6/2006 10:59:31 PM
Tags:  event
Page view tracker