Results 1 to 5 of 5

Thread: changing outlook signatures

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 2000
    Posts
    73

    changing outlook signatures

    HI,
    I have got a serious problem. Is there any way to change the signature (file) in Microsoft outlook using vb.

    awaiting a prompt reply.

    Thanks
    Wrgds
    Ganesh.K

  2. #2
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709
    It depends on...

    [list=1]1.) For every outgoing email.
    2.) Just on a criteria basis.
    3.) If the email is being created automatically with vb then 1 or 2 can be done easily.
    4.) If you want to trap all manually created outgoing emails and modify the signature line
    every time then it also can be done, but its difficult.[/list=1]


  3. #3

    Thread Starter
    Lively Member
    Join Date
    Nov 2000
    Posts
    73
    What actually i want is i found the directory were the signature files exits i will put my signature.htm (htm|rtf|txt) in that signature directory,

    From Vb i want to set this signature.htm as default signature. i.e what we do from Tools|Options|Mail Format|Signature, instead it will through vb.

    A vb exe willl be run and set this file as default signature .

    Is this possible ? If so then how will i go ahead.

    Thanks

    Wrgds
    Ganesh.K

  4. #4
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709
    I can do it, but I haven't quite finished an example for chpchai in the post above yours.
    What I can do is create an example for you that will modify the body notes before each email gets displayed.
    It will enter in whatever text you want and appear to be a regular signature.
    I should have the example for chpchai finished in a few minutes.
    Then I will put something together for you.



  5. #5
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Almost done!

    I am working on the example for you now.
    I have finished the other example.
    Check it out here.

    The one thing that I am stuck on is how to trap for when the user
    creates the new email. I can replace the signature with a new one, but only if the user creates the email from my button.

    I will hopefully have it tomorrow night for you.
    I need to go to bed. I have to get up fo work in 4.5 hours.

    Later.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width