Click here to Skip to main content
15,888,610 members
Home / Discussions / C#
   

C#

 
GeneralRe: Text.Replace Pin
jphuphilly23-Jun-03 10:05
jphuphilly23-Jun-03 10:05 
GeneralRe: Text.Replace Pin
leppie23-Jun-03 10:11
leppie23-Jun-03 10:11 
GeneralRe: Text.Replace Pin
jphuphilly23-Jun-03 13:31
jphuphilly23-Jun-03 13:31 
GeneralRe: Text.Replace Pin
leppie23-Jun-03 14:52
leppie23-Jun-03 14:52 
GeneralContext Menu Show on Notify Icon Click Pin
Zachery23-Jun-03 9:18
Zachery23-Jun-03 9:18 
GeneralRe: Context Menu Show on Notify Icon Click Pin
leppie23-Jun-03 10:09
leppie23-Jun-03 10:09 
GeneralRe: Context Menu Show on Notify Icon Click Pin
Zachery23-Jun-03 11:08
Zachery23-Jun-03 11:08 
GeneralRe: Context Menu Show on Notify Icon Click Pin
leppie23-Jun-03 11:20
leppie23-Jun-03 11:20 
not that easy Poke tongue | ;-P

something like this would work
static MethodInfo trkpmnu = null;

...

Assembly ass = Assembly.Load(filename);

foreach (Type t in ass.GetTypes())
{
  if (t.Name == "SafeNativeMethods")
  {
    trkpmnu = t.GetMethod("TrackPopupMenuEx", 
       BindingFlags.Static | BindingFlags.NonPublic);
    break;
  }
}

...

object result = trkpmnu.Invoke(null, args[]);

Smile | :)

<a TITLE="See my user info" href=http://www.codeproject.com/script/profile/whos_who.asp?id=38829>leppie<a>::<a TITLE="Go to all articles  written by me" href=http://www.codeproject.com/script/articles/list_articles.asp?userid=38829>AllocCPArticle</a>(<a TITLE="Go to my latest, greatest article!" href=http://www.codeproject.com/useritems/dfamachine.asp >Generic DFA State Machine for .NET</a>);

GeneralRunning JavaScript from a Windows Form Pin
confusedCS23-Jun-03 9:10
confusedCS23-Jun-03 9:10 
GeneralCan't Generate Dataset from XSD Pin
Jarrett Vance23-Jun-03 6:06
Jarrett Vance23-Jun-03 6:06 
GeneralRe: Can't Generate Dataset from XSD Pin
leppie23-Jun-03 6:58
leppie23-Jun-03 6:58 
Questionmouse position relative to the whole screen? Pin
dazinith23-Jun-03 4:17
dazinith23-Jun-03 4:17 
AnswerRe: mouse position relative to the whole screen? Pin
Heath Stewart23-Jun-03 4:28
protectorHeath Stewart23-Jun-03 4:28 
GeneralDataGrid Quandries Pin
RB@Emphasys23-Jun-03 3:28
RB@Emphasys23-Jun-03 3:28 
GeneralRe: DataGrid Quandries Pin
Dimitris Iliopoulos23-Jun-03 12:02
Dimitris Iliopoulos23-Jun-03 12:02 
GeneralDialog Event? Refresh attempt. Pin
irishhokie23-Jun-03 2:58
irishhokie23-Jun-03 2:58 
GeneralRe: Dialog Event? Refresh attempt. Pin
dazinith23-Jun-03 4:09
dazinith23-Jun-03 4:09 
GeneralRe: Dialog Event? Refresh attempt. Pin
irishhokie23-Jun-03 7:04
irishhokie23-Jun-03 7:04 
GeneralAllowing/Disallowing Controls in the ToolBox Pin
Qarash23-Jun-03 2:52
Qarash23-Jun-03 2:52 
GeneralAdjusting Context Menu Positions Pin
venkatasundaram23-Jun-03 2:10
venkatasundaram23-Jun-03 2:10 
GeneralRe: Adjusting Context Menu Positions Pin
Kannan Kalyanaraman23-Jun-03 2:30
Kannan Kalyanaraman23-Jun-03 2:30 
GeneralCalling simple DOS Commands from C# Pin
STW23-Jun-03 0:00
STW23-Jun-03 0:00 
GeneralRe: Calling simple DOS Commands from C# Pin
Rocky Moore23-Jun-03 0:58
Rocky Moore23-Jun-03 0:58 
GeneralRe: Calling simple DOS Commands from C# Pin
STW23-Jun-03 5:57
STW23-Jun-03 5:57 
GeneralRichTextBox colouring Pin
S O S22-Jun-03 21:47
S O S22-Jun-03 21:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.