Question : Outlook 2003 signature in default template

I have a signature that is being added when I create new message... funny thing is, I have no signatures saved.

when I search for *.oft and see the default MAIL template, there is no signature in it... so my question, where the heck is it getting the signature from? or how can get outlook to use the default mail template.

Answer : Outlook 2003 signature in default template

Inorder to read the properties or methods or attributes of an object we should use
using System.Reflection; //Namespace.
Here i'm giving a sample



1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
class testclass
    {
        public string property1
        {
            set;
            get;
        }
        public string property2
        {
            set;
            get;
        }
        public int property3
        {
            set;
            get;
        }
    }

class Program
    {
        static void Main(string[] args)
        {
            //creating object for testclass & setting values to properties
            testclass objtestclass = new testclass();
            objtestclass.property1 = "Value1";
            objtestclass.property2 = "Value2";
            objtestclass.property3 = 120;

            PropertyInfo[] pinfo;            
            pinfo = objtestclass.GetType().GetProperties();
                foreach (PropertyInfo p in pinfo)
                {
                    Console.WriteLine("Property Name: "+p.Name);
                    Console.WriteLine("Property Value: " +p.GetValue(objtestclass, null) + "\n");
                }
                Console.Read();
        }
    }
Random Solutions  
 
programming4us programming4us