Languages Visual Basic & VB.NET .Net Algorithims  

Dynamic Event Handling By Emitting MSIL @ RunTime!

download download home home  
important code information
David N
minimum requirements:
Dynamic Event Handling By Emitting MSIL @ RunTime! description

This code allows you to attach a function to any event! It generates a MSIL code method that matches the event delegate to call your function. I haven't seen any code out there that does this yet. It works for virtually all delegates and once its generated and installed it has a small overhead. Your recieving function gets all of the arguments passed to the delegate as an array of objects. I updated it with comments and a re-design so it has better performance. I also added a method to export the generated assembly for debugging purposes.

File List:

Similar code
Encrypt and decrypt data with 256 bits. (Popularity: ) : Encrypt and decrypt data with 256 bits.
CPU Algorithm(SRTF) (Popularity: ) : This is an algorithm for CPU scheduling named SRTF(Shortest Remaining Time First) or preemptive SJF(Shortest Job First)
A* Pathfinding Example in VB.Net (Popularity: ) : This is a A* pathfinding example to illustrate how to implement a A* pathfinding algorithm into your program. It's a port from Patrick Lesters example in BlitzBasic to VB.Net. It uses a Binary Heap class I made to sort the ...
Convertion Factors (Popularity: ) : Convert hydraulic units: Flow, Kinematic Viscosity, Pressure, Power and Length from and to MSI and Anglo-Saxon metric system
Keyboard Macro Recorder (Popularity: ) : This is a very basic macro recorder using the keybd_event to capture events and is capable of writing the recorded events to a file. The program also is capable of loading a macro file and playing back the events.
Cryptography SEF8 (custom format) (Popularity: ) : This shows you how to make your own encryption format this is supports 8-512bit Encryption, the class is easy to use and is fast, it is intened for web use, there is an example of how to use it for ...
Deepth First Algorithm (Popularity: ) : A Simple Example That Explain How To Use Deepth First Algorithm With Tree Data Strcuture :)
Jaser A.Mahmoud (Popularity: ) : this is a solution for the XOR problem using Neural networks, you can edit it to find the OR, AND, or any Logical Operation, with simple modification you can make it work for anything!
VSA Demo (Popularity: ) : Class to make using VSA allot easier. This class can execute a script, expose objects from the application to the script and also execute individual methods inside a script. Class also supports either JScript or VBScript (.Net versions).
Base Conversion Utility (Popularity: ) : Converts a value from one customized base set to another. No longer are you bound to strict rules. zero does not necesarily have to represent nothing ... even create numbers in DNA (base-4 gatc). Try it out and see what ...
User reviews

Write a review:
1 2 3 4 5 6 7 8 9 10
1=poor 10=excellent
Write review*
Your name*
  (Comments are moderated, and will not appear on this site until the editor has approved them)
Rate me
supported os
downloads 112
size in Kb 1
popularity   2612/7916503
user rating 8/10

New Code
Popular Code