I have tried this code but it's not working, reply plz....why?
please check ur code once more...
have u called d MessageBox function wid d rigt no. of parameters?
also remember to include
[DllImport("User32.dll")]
public static extern int MessageBox(int h, String s, String s1, int type);
in d global variable declaration section( within class, out side member functions)
then u must get d function ready 2 b called...
u can call it by having arguements 'h' and 'type' as 0...
s is d msg to b displayed and s1 is the title...give some strings for those params...
hope dis will help u..
thanx and rgrds...
sand...