B
baobob
I've spent some hours trying to find out how to globally disable
Outlook 2000's preview pane in Application_Startup() to no avail.
The enraging thing about Windows programming (for me as a VBA newbie,
at any rate) is that the simpler your problem is, the more complex or
even impossible to solve it seems to be, and the greater number of
qualifications you have to state to ward off suggestions that only
partially address the problem.
To wit, I simply want Outlook 2000 never to display the preview pane in
any session, on any folder, both current and to-be-created in the
future, at any time, in any postal zone, thru sleet and rain and dark
of nite etc. I just don't know how to state that more clearly, yet I
can't find a full answer on NewsNet or elsewhere.
Some suggest adding the /nopreview switch to the command line in
HKEY_CLASSES_ROOT\CLSID\{00020D75-0000-0000-C000-000000000046}\Shell\Open\Command
but that's no solution. It only works if you launch Outlook from a
Desktop icon.
Some suggest adding /nopreview to the command line of any shortcut that
launches Outlook. That's no solution. I cannot and will not track the
location of every icon and modify it--and keep a post-it note on my
monitor to remind me to add it every time I might create ANOTHER
Outlook icon. Guess what? Windows is about automation, not perpetrating
manual activity.
Some suggest Application.ActiveExplorer.ShowPane(olPreview, False) in
Application_Startup(). But that seems to work only on whatever folder
happens to then have focus.
So, can Outlook 2000's object implement this behavior? Is there a
single method or default view that can globally turn preview off, at
least in the current session?
Or, do I need to iterate thru all folders? If I have to do that
workaround, that's not the worst thing in the world, and I would.
Or, if it can be done but only in a later version of Outlook, that's
fine too.
Thanks much.
Outlook 2000's preview pane in Application_Startup() to no avail.
The enraging thing about Windows programming (for me as a VBA newbie,
at any rate) is that the simpler your problem is, the more complex or
even impossible to solve it seems to be, and the greater number of
qualifications you have to state to ward off suggestions that only
partially address the problem.
To wit, I simply want Outlook 2000 never to display the preview pane in
any session, on any folder, both current and to-be-created in the
future, at any time, in any postal zone, thru sleet and rain and dark
of nite etc. I just don't know how to state that more clearly, yet I
can't find a full answer on NewsNet or elsewhere.
Some suggest adding the /nopreview switch to the command line in
HKEY_CLASSES_ROOT\CLSID\{00020D75-0000-0000-C000-000000000046}\Shell\Open\Command
but that's no solution. It only works if you launch Outlook from a
Desktop icon.
Some suggest adding /nopreview to the command line of any shortcut that
launches Outlook. That's no solution. I cannot and will not track the
location of every icon and modify it--and keep a post-it note on my
monitor to remind me to add it every time I might create ANOTHER
Outlook icon. Guess what? Windows is about automation, not perpetrating
manual activity.
Some suggest Application.ActiveExplorer.ShowPane(olPreview, False) in
Application_Startup(). But that seems to work only on whatever folder
happens to then have focus.
So, can Outlook 2000's object implement this behavior? Is there a
single method or default view that can globally turn preview off, at
least in the current session?
Or, do I need to iterate thru all folders? If I have to do that
workaround, that's not the worst thing in the world, and I would.
Or, if it can be done but only in a later version of Outlook, that's
fine too.
Thanks much.