Mega Code Archive
Search
.Net
ASP .Net
ASP .Net Tutorial
C#
C# Book
C# by API
C# Tutorial
VB.Net
VB.Net by API
VB.Net Tutorial
Visual C++ .Net
VisualBasic Script
Java
Java
Java Book
Java by API
Java Tutorial
Script
Flash ActionScript
Flex
JavaScript DHTML
JavaScript Reference
JavaScript Tutorial
Database
MSSQL
MSSQL Tutorial
MySQL
MySQL Tutorial
Oracle PLSQL
Oracle PLSQL Tutorial
PostgreSQL
Languages
Android
C
C Tutorial
C++
C++ Tutorial
Delphi
Perl
PHP
Python
Python Tutorial
Ruby
Silverlight
Office
MSOfficeExcel 2007 Tutorial
MSOfficePowerPoint 2007 Tutorial
MSOfficeWord 2007 Tutorial
Data
XML
XML Tutorial
C# Tutorial
Windows 84 codes
Home
C# Tutorial
Windows
1 Add entry to event log inside a service
2 Allocate and free memory
3 Allocate memory with System Runtime MemoryFailPoint
4 An EnumerationOptions variable with an EnumerationOptions constructor and then gets all the instances of a WMI class and its subcl
5 API File reader
6 BindToMoniker Excel
7 Bluetooth Demo
8 Build a service by subclassing System ServiceProcess ServiceBase
9 Call DLL API to move file
10 Calling a Function with a Structure Parameter
11 Calling Native DLL Functions
12 Compile to dll
13 Connect to a remote computer and displays information about the operating system
14 Create and MessageQueue and MessageQueueTransaction
15 Create and use MessageQueue
16 Create Event Source
17 Create event source and write an event to the event log
18 Create Heap and destroy Heap
19 Create Office Applications
20 Delete a key from Registry
21 Delete a setting in Registry
22 Demonstrate stackalloc
23 Display First 5 Entries in your system Event log
24 DllImport
25 Enumerate Display Monitors
26 Excel Interop Example
27 Excel workbook event handlers
28 External Method
29 Fiber
30 Find DNS Servers and get server list
31 Format a message from MessageQueue in an XmlMessageFormatter
32 Free Memory
33 Get address of a method from Dll
34 Get Computer name (char parameter)
35 Get computer name (StringBuilder parameter)
36 Get current Active Window
37 Get default gateway from network key stored in Registry
38 Get DNS server from Registry
39 Get free disk space
40 Get IP address from network key stored in Registry
41 Get int value from Registry
42 Get ManagementObjectCollection
43 Get Monitor Information
44 Get Network Card Information from Registry
45 Get Registry values with default
46 Get subnet mask from network key stored in Registry
47 Get the network device name, device service name
48 Get Workstation information
49 GetVersionEx by using kernel32 dll
50 Hooking up to a Windows Callback
51 IE processes
52 Implement the service interface
53 Internal Transaction Producer
54 Invoke MessageBox in Dll
55 Is a event source in the event log
56 Iterate through all the message queues in the network, and examines the path for each queue, displays the number of public queues
57 Lock work station
58 Loop through all subkeys contained in the current key
59 Loop through the values inside a key and display
60 Marshal a function from Dll to a delegate
61 Modify Document Properties
62 Office command bar
63 Parse server list stored in Registry
64 Query docx properties
65 Reading INI file
66 Receive message
67 Registry Tree
68 Registry Tree With Class
69 Save int value to Registry
70 Save user prefs to registry
71 Service control
72 Set DateTime value to the Registry
73 Set String value to the Registry
74 Simplest service
75 Start Notepad as the specified user
76 Starting a shell process
77 Terminating Notepad with CloseMainWindow
78 Terminating Notepad with Kill
79 The windows version information
80 Use native windows function to read file
81 Using load library from Dll
82 Word _Application
83 Write entry to event log
84 Writing INI file