Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^3: win32::ole and MS Office 2010 over cgi

by furry_marmot (Pilgrim)
on Feb 05, 2012 at 06:36 UTC ( #951913=note: print w/ replies, xml ) Need Help??


in reply to Re^2: win32::ole and MS Office 2010 over cgi
in thread win32::ole and MS Office 2010 over cgi

I'm not familiar with Server 2008 OR Office 2010...buuut...you might check a couple of things. First, if you installed Office with VBA, check the docs for changes. Running Office from VBA should be almost identical from running it via Perl and OLE, but for some syntax changes. You probably know that a quickstart to automating a task in Office is creating a VBA macro, and then translating it to Perl. Anyway, another possibility is that it's not Word.Application anymore. It's only a shot in the dark, but I hope it helps.

--marmot


Comment on Re^3: win32::ole and MS Office 2010 over cgi
Re^4: win32::ole and MS Office 2010 over cgi
by wal77 (Novice) on Feb 05, 2012 at 09:54 UTC

    But it works using the command line or Perl editor, even I tested the script sceduled under the same privileged user as Apache service runnung. All is OK. CGI is the problem.

      But it works using the command line or Perl editor, even I tested the script sceduled under the same privileged user as Apache service runnung. All is OK. CGI is the problem.

      No, restrictions for services are the problem. Read my posting again.

      Alexander

      --
      Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)

        are you saying its not possible to run win32::ole from a web page? I need to get this working and fast..really appreciate any inputs to get this working.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://951913]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2014-08-29 05:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (275 votes), past polls