http://qs1969.pair.com?node_id=225530


in reply to Outlook on web page.

You need to give more information. If your CGI is running on a *nix box, it will have a tough time knowing where your C drive is located. :)

Replies are listed 'Best First'.
Re: Re: Outlook on web page.
by Anonymous Monk on Jan 09, 2003 at 14:56 UTC
    Thanks for all the information. I am running this on a NT server and would like to just start getting it to work on my local workstation. I tried this in my local cgi bin and cant get it to work yet it works when I run it in DOS:
    my $outlookmail = "c:/Program Files/Microsoft Office/Office/Outlook.ex +e" ; open (CMDLOG,"| $outlookmail") || die "failed to open: $!\n"; close CMDLOG || die "failed to close: $!\n";;
    Anymore suggestions?
      Like others in this thread I have to question what your goal is here, and you haven't stated it clearly. While the above code will start an Outlook client, I don't see the point of doing this from a CGI or any Perl script. That's what the start menu is for :).

      Now, if your goal is to have your Perl script make Outlook actually do something besides show the GUI, you should look at Win32::OLE. Note that to make use of this module, you will have to understand the Outlook object model.