Results 1 to 4 of 4

Thread: Disable outllok ExPress Warining

  1. #1

    Thread Starter
    Member bammoeller's Avatar
    Join Date
    Apr 2006
    Posts
    61

    Disable outllok ExPress Warining

    Hi! i did search the forums and i did see a few topics on this subject but the threads diddnt seem to help me! I am making a program that sends mails using mapi through outlook express! this is what i have came up with! shouldnt it work? i have 30000 members at my site that i like to email 1 time a week! i would like to figure out how to dissable this warning through vb code!i am aware that you can go and disable the warnings manualy through outlook express options But Hell that would be to easy wouldnt it? Am i on the correct path? Any Ideas?

    VB Code:
    1. If RegStrValue <> 1 Then
    2.  Open "C:\Outlook.reg" For Output As #1
    3.  Print #1, "REGEDIT4"
    4.  Print #1, ""
    5.  Print #1, "[HKEY_CURRENT_USER\Identities\" & DefaultUser & "\Software\Microsoft\Outlook Express\" & OutlookVer & "\Dont Show Dialogs]"
    6.  Print #1, Chr(34) & "Compact Do not Ask Again" & Chr(34) & "=dword:00000001"
    7.  Print #1, Chr(34) & "disable Thread Warning" & Chr(34) & "=dword:00000006"
    8.  Print #1, Chr(34) & "Mail Empty Subject Warning" & Chr(34) & "=dword:00000001"
    9.  Print #1, Chr(34) & "Send Mail Warning" & Chr(34) & "=dword:00000001"
    10.  Close #1
    11.   Shell "regedit /s C:\Outlook.reg"
    12. End If

  2. #2
    Super Moderator RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,713

    Re: Disable outllok ExPress Warining

    Just look in the registry at the value and then manually turn off the warnings, recheck/refresh the registry key and note the differences.
    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

  3. #3

    Thread Starter
    Member bammoeller's Avatar
    Join Date
    Apr 2006
    Posts
    61

    Re: Disable outllok ExPress Warining

    Should have this worked?

  4. #4
    Super Moderator RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,713

    Re: Disable outllok ExPress Warining

    Not sure as I dont use Outlook Express at all so I cant verify the reg settings.
    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