[Haskell-cafe] Re: Haskell and Automation

Michael Snoyman michael at snoyman.com
Mon Feb 9 10:21:34 EST 2009


Gunther,

Thanks for the heads-up. I might need to interface with Excel in the future.

Michael

On Sat, Feb 7, 2009 at 8:14 PM, GŸuenther Schmidt <redcom at fedoms.com> wrote:

>  Dear Michael,
>
> sorry too, for not telling you sooner that meanwhile I found out how to get
> it working, I hope you did not spend too much time trying on your end.
>
> It had to do with the context in which these components are initialized.
>
> Once you switch to LocalProcess (as opposed to AnyProcess) in
> coCreateInstance everything works fine and rather smoothly. The defaults in
> createObject do not work for every kind of object that you do want to
> instantiate, certainly not Excel.
>
> Of course having an old, but still fairly current manual also helps.
>
> Good luck with your projects.
>
> Günther
>
>
>
> Michael Snoyman schrieb:
>
> Gunther,
>
> Sorry for not getting back to you on your previous e-mail, I've been
> swamped.
>
> The reason I didn't put up an example was specifically because of the error
> you mention. I was hoping to get a chance to use the COM bindings in Python
> to see if I got the same thing. For the life of me I can't figure out how to
> get started with Excel and Haskell. Sorry I can't be more useful at this
> time.
>
> Michael
>
> On Fri, Feb 6, 2009 at 6:56 PM, G?uenther Schmidt <redcom at fedoms.com>wrote:
>
>> Hi Michael,
>>
>> for some reason createObject "Excel.Application" throws an "Interface not
>> supported" error.
>>
>> Can you help me out here?
>>
>> Günther
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090209/8e8ca948/attachment.htm


More information about the Haskell-Cafe mailing list