Re: REPOST: VbaProject.OTM modules vanish

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I'm more or less resigned to having to re-import the code every now and
again.
BUT, the current problem is that not only is the code gone, but all of the
options in the "File" menu or the VBA environment are greyed out. I've shut
down everything, re-booted, but no progress.

What do you make of THAT?

Thanks.

Ken


"Sue Mosher [MVP-Outlook]" <suemvp@xxxxxxxxxxxxxxx> wrote in message
news:exsOf%23cJHHA.1064@xxxxxxxxxxxxxxxxxxxxxxx
I've seen that happen occasionally -- and almost always when a run-a-script
rule was involved. THe exact cause of the problem is not known.

I'd suggest exporting all the code, shutting down Outlook, and renaming
VbaProject.OTM. When you restart Outlook and re-enter the VBA environment,
you can import all the code into the new project file that Outlook will
create automatically. Hopefully, that one will be more stable.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Ken" <allstates[no_spam]air@xxxxxxxxx> wrote in message
news:O7RAcecJHHA.1248@xxxxxxxxxxxxxxxxxxxxxxx
I'm reposting this query from 2 weeks ago, because it's a very vexing
problem that I can't seem to solve. Any help would be greatly
appreciated.

Thanks, and happy holidays!
----------------------------------------------------
For the second day in a row, on starting up OL2003, SP2, a script that
I've
created is missing--as in totally vanished.

I created a rule that runs a script on receiving messages that have an
attachment. The script is located in a module within "Project1
(VbaProject.OTM)".

The structure is:
Project1(VbaProject.OTM)
Microsoft Office Objects
This Outlook Session
Modules
Module 1
Module 2 (Module 2 has the
script)

The Rule/Script works fine during the day. I shut down Outlook at the end
of the day. This morning, for the second day in a row, when I started up
OL, I got a error message that the script did not exist. When I opened up
the Visual Basic Editor, the only thing there was the Microsoft Office
Objects branch (containing the empty This Outlook Session). There was no
"Modules" branch, and thus no Module 1 or Module 2.

Since I run Norton GoBack, I restored to a few hours earlier, and got it
back.

Any ideas what might be going on?

(Virus protection is up-to-date, FWIW).

Many thanks.

Ken





.



Relevant Pages

  • [NT] Flaw in Windows Script Engine Could Allow Code Execution
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... The Windows Script Engine provides Windows operating systems with the ... blocked by Outlook Express 6.0 and Outlook 2002 in their default ...
    (Securiteam)
  • Re: How do I get Outlook2003 to stop removing images(Outlook consi
    ... I'm not familiar enough with that utility to know if the script errors can ... Teach Yourself Outlook 2003 in 24 Hours ... Google and Other Search Engines (Visual QuickStart Guide) ... > what I would consider 'clean' images and content,i.e. ...
    (microsoft.public.outlook.general)
  • RE: How to manage profiles???
    ... Thereare two ways you can make Outlook work for roaming users, ... Other options are a proper network-aware email client, ... We run a script when a user logs on that maps their "home" drive. ...
    (microsoft.public.security)
  • Re: SBS2003 Changes Outlook 2003 Config
    ... It is the login script that is run against every user that is causing this. ... Outlook profiles, and then remove the script from that user. ... > comptuer's Outlook default email account settings back to Exchange. ...
    (microsoft.public.windows.server.sbs)
  • Re: Automating retrieving email addresses from 306 received emails?
    ... invoke a script, if there was such a thing, that would b.c.c. ... _just_ a selection messages in a folder. ... Teach Yourself Outlook 2003 in 24 Hours ... >> respond to these public enquiries. ...
    (microsoft.public.outlook)