Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Win32 OLE error 1403

by Nalina (Monk)
on Aug 23, 2005 at 06:40 UTC ( #485830=perlquestion: print w/replies, xml ) Need Help??
Nalina has asked for the wisdom of the Perl Monks concerning the following question:

Hi monks, Can anyone please tell me what an Win32 OLE 1403 error is?

2005-08-23 Retitled by Arunbear, as per Monastery guidelines
Original title: 'Win32 OLE'

Replies are listed 'Best First'.
Re: Win32 OLE error 1403
by spiritway (Vicar) on Aug 23, 2005 at 06:43 UTC

    Invalid accelerator table handle.

    Google is your friend.

      what does that mean?

        Try the following keywords for Google: Win32 OLE 1403 error. Those four words gave me over 300 hits, many of which were relevant.

        For even more help, go to Google Groups ( and enter those same keywords. There is likely to be much information concerning this error number. Chances are very good that someone else ran into the same problem, and that there will be an answer for you.

Re: Win32 OLE error 1403
by reasonablekeith (Deacon) on Aug 23, 2005 at 10:02 UTC
    your other thread on this problem (Excel 2003 + Perl) says this fails when you run this through asp?. Is this still the case?

    A quick google shows this error to be associated with not using a full file path, and permission problems. As you are using a full path, I'd suggest you print the result of -w to see if you can write to the file.

    if (! -w $savename) { print "uh oh\n"; }
    my name's not Keith, and I'm not reasonable.
      I tried printing as u said
      if (! -w $savename) { print "uh oh\n"; }
      to a test.txt file. it writes. But i didn't get what u are suggesting?
        -w is a file test operator. It tests to see if the running script can write to the specified file. I suggested this because I suspect your export might have failed because it can't write to your output file, and is giving you a misleading error message.

        If you've run this and the print statement ran then you could have a problem with file permissions, or just have a bad path. Although thinking about it, -w can only return true if your file already exists, so may not be useful to you.

        try temporarily adding

        open TEST, ">>$savename" or print LOG "Couldn't open file for appending: $!\n"; close TEST;
        That's a better test to see if you've got permission problems, and any error will be logged.
        my name's not Keith, and I'm not reasonable.
Re: Win32 OLE error 1403
by lvanhout (Curate) on Aug 23, 2005 at 06:57 UTC
    I do not know off hand. Have you tried to google it? I find lots of help for errors messages that way.

      I didn't get any explanation for the error in google
        blimey Nalina, you're a Monk, you know better than this...
        • What are you trying to do?
        • Can you post some code which produces the error?
        • How far have you got reaserching this?
        • What parts of what you've found don't you understand?
        • etc...
        my name's not Keith, and I'm not reasonable.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://485830]
Approved by lvanhout
hippo giggles at the thought of people "playing" Ingres
[Corion]: The data is the game ;)
[marto]: good morning all
[hippo]: Great slogan :)
[Corion]: Hi marto ;)
[mxb]: Hi all.
[Discipulus]: Hi marto

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2018-03-19 09:20 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (236 votes). Check out past polls.