Murugan.com
Murugan Andezuthu Dharmaratnam

  |  HOME   |  BLOG   |  TWITTER   |  ARTICLES   |  8086  |  C++   |  VC++   |  ASP .NET   |  VB .NET   |  JAVA SCRIPT   |  MS SQL   |  PHP   |  MY   |  VIDEOS   |  DOWNLOADS   |  CONTACT ME   |  



dynamic call a function


Home  > VB.NET  > dynamic call a function 
       
How to dynamically call a function in c#


public static string InvokeStringMethod(string typeName, string methodName)
{
    // Get the Type for the class
    Type calledType = Type.GetType(typeName);

    // Invoke the method itself. The string returned by the method winds up in s
    String s = (String)calledType.InvokeMember(
                    methodName,
                    BindingFlags.InvokeMethod | BindingFlags.Public | 
                        BindingFlags.Static,
                    null,
                    null,
                    null);

    // Return the string that was returned by the called method.
    return s;
}
ASP / VB .NET Get The State Of the Current Thread and check if its running

Configuration Manager Not found in IDE of Visual Studio .NET 2005

Debug Problem WebService Visual Studio 2005 The breakpoint will not be hit No symbol has been loaded for this document

index

Invoke or BeginInvoke cannot be called on a control until the window handle has been created.

VB .NET Delay The TextChanged Event of a TextBox using Timer Control

VB .NET How to Create XML Files with fields Dynamically

VB .NET Timer Control delay or Interval in milliseconds

VB .NET TreeNode Display Image or icon in a TreeView Control

VB .NET WinForm How to Pass a Paramter to a Thread

VB .NET Winform Make a TreeNode Invisible or Hide a TreeNode in a TreeView Control

VB .NET Sort a combobox xml datasource

.net temporarily disable an event handler

showwindow fullscreen windows 7

.net double click show full window

.net hide windows 7 start menu

.net winform statusstrip separator

Implement Keyboard Shortcut in Windows

dynamic call a function

dynamically call a functino in .net

.NET Display a form



  |  HOME   |  BLOG   |  TWITTER   |  ARTICLES   |  8086  |  C++   |  VC++   |  ASP .NET   |  VB .NET   |  JAVA SCRIPT   |  MS SQL   |  PHP   |  MY   |  VIDEOS   |  DOWNLOADS   |  CONTACT ME   |  

Copyright 2009 @ Murugan Andezuthu Dharmaratnam