Archive for March 28th, 2008

ContextMenu and TreeView in C#

Friday, March 28th, 2008

Since a lot of time, I had a problem with the ContextMenuStrip on my application: when a user did a right-click on a node in one of my tree without having selected with left-click first, the node meant to be selected was not! To fix that, just add this code on ...

ORA-06553: PLS-382: expression is of wrong type

Friday, March 28th, 2008

When you deal with PL/SQL functions, you have sometimes to create a function returning a boolean. This is an example: CREATE OR REPLACE FUNCTION I_AM_A_HERO ( name VARCHAR2) RETURN BOOLEAN is BEGIN if (name = 'Petrelli') THEN RETURN TRUE; ELSE RETURN FALSE; END IF; END; But if you wan't to execute it like ...