Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: Microsoft Project and Perl

by Anonymous Monk
on Nov 21, 2005 at 17:53 UTC ( #510506=note: print w/replies, xml ) Need Help??

in reply to Microsoft Project and Perl

I tried to run the sample code on Windows XP Pro with IndigoPerl. The first complaint from Perl was "Can't locate Mail/Mailer in @INC ...", which is OK since I know I don't have that package. I commented out the mail code and tried again. Now Perl says, "Couldn't open project at line 5." (I named the source file I do have a Project 2003 file called SomeProject.mpp in the active directory, so I don't know why it couldn't be opened. Any idea where to start on debugging this problem?

Replies are listed 'Best First'.
Re^2: Microsoft Project and Perl
by planetscape (Chancellor) on Nov 21, 2005 at 22:37 UTC

    You may also have on your machine something called "OLE Browser" or "Type Library Browser" if you installed Win32-OLE-0.1403 or upgraded from that to a later version. You might find it in C:\Perl\html\OLE-Browser or C:\Perl\html\lib\site\Win32\OLE depending on your install.

    Something else I've found to be very handy indeed is West Wind Technology's GetConstants utility, which allows you to look at all those cryptic constants MS products use. (A short snippet of output is below.) Note that they do shuffle the links around occasionally, so it may be necessary to do some searching. :-)

    *** Constant Group: WdTableFieldSeparator #define wdSeparateByParagraphs 0 #define wdSeparateByTabs 1 #define wdSeparateByCommas 2 #define wdSeparateByDefaultListSeparator 3


Re^2: Microsoft Project and Perl
by dws (Chancellor) on Nov 21, 2005 at 20:39 UTC

    I do have a Project 2003 file called SomeProject.mpp in the active directory, so I don't know why it couldn't be opened.

    I don't have access to any version of Project at the moment, but do recall that Microsoft changed some details between Project 98 and Project 2000. They might well have done the same for 2003. ActiveState provides an OLE Browser (it's in the start menu somewhere). I'd look first to see if the name of the OLE Control for dealing with Project has changed, or if it expects different parameters.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://510506]
[choroba]: When working at a bank, we had a colleague who entered mining early enough to have lots of bitcoins. He used to say "I go to work just because I'm too bored at home."
[Corion]: choroba: Aah, no, I do it because of the money :)
[choroba]: And when asked "How are you?" in the morning, his reply was usually "I don't know, haven't checked the bitcoin rates yet."
[Corion]: Heh - if I defined myself through the money I make, I would now only be 80% myself :-D
[choroba]: :-D
LanX emacs is the oldest textadventure ...
LanX ... just (re)discovered "ielm" a built-in REPL without the bash emulation of "eshell" ... soooooo handy

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (12)
As of 2017-09-21 15:32 GMT
Find Nodes?
    Voting Booth?
    During the recent solar eclipse, I:

    Results (249 votes). Check out past polls.