Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > RE: Dispatch("Excel.Application") failed

Thread Tools

RE: Dispatch("Excel.Application") failed

Posts: n/a

On Behalf Of John Machin

> > > '\xce\xde\xd0\xa7\xb5\xc4\xc0\xe0\xb1\xf0\xd7\xd6\ xb7\xfb\xb4\xae',
> > > None, None)

> Googling for 2147221005 gives some clues.
> That string of hex stuff appears where an error message is
> expected -- it's not utf8, and makes no sense when I attempt
> to decode it with cp1250 to cp1258 inclusive. If you start
> IDLE and type:

>>The hex stuff is Chinese. It appears to be a standard Windows

error message.
>>无效的类别字符串 (Which I believe meaans "invalid class string")

>>I wrote in another post (that doesn't appear to have made it to

the list)
>>that the call to Dispatch on Excel will fail if the formula bar

edit box is
>>active. Just another idea.

>>Ryan Ginstrom

I did try to google the question, but the answer wasn't properly.
I am using Windows XP sp2 which language is Chinese simp. At first, I thought the hex string was coding in cp936 or utf8, then failed. second, try to run my script on the other computer, and it run well without any error! At last, I give up.After Windows Excel reinstalled, it work, but still confused.
The net speed is horribly slow when connect to Pywin32 project at SF.


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot open user default database. Login failed. Login failed for user 'HEMPC\ASPNET' Tony Johansson ASP .Net 3 01-02-2010 04:09 PM
Deploying application in domain failed; WSGEN FAILED in Netbeans6.1with Glassfish kiran Java 5 07-09-2008 09:17 PM
Errors: Failed to load viewstate. & Validation of viewstate MAC failed. sck10 ASP .Net 6 09-01-2006 05:59 PM
system standby failed (intel 2200BG problem) Emmett Wireless Networking 0 11-06-2004 02:48 AM
QueryInterface for interface Excel._Application failed / QueryInterface for interface Word._Application failed SOLUTION Wildepiet ASP .Net 0 06-14-2004 07:28 AM