Hi Tim,<br><br>Thanks for your comments.<br><br>I find out going through IBM web pages that the Lotus Notes works on win32com just for versin 7.0 and 8.0. The version that was intalled in my development environment is Lotus Notes 6.0.<br>
<br>This week I will get a Lotus Notes 7.0 Installed into my development pc. This should hopefully make it works.<br><br>Threader<br><br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

------------------------------<br>
<br>
Message: 2<br>
Date: Fri, 18 Sep 2009 10:50:38 -0700<br>
From: Tim Roberts &lt;<a href="mailto:timr@probo.com">timr@probo.com</a>&gt;<br>
To: Python-Win32 List &lt;<a href="mailto:python-win32@python.org">python-win32@python.org</a>&gt;<br>
Subject: Re: [python-win32] python-win32 : cross database automation<br>
Message-ID: &lt;<a href="mailto:4AB3C86E.5060709@probo.com">4AB3C86E.5060709@probo.com</a>&gt;<br>
Content-Type: text/plain; charset=ISO-8859-1<br>
<br>
Threader Slash wrote:<br>
&gt;<br>
&gt; I working on a client-server database solution. The system is<br>
&gt; normalized and is using MySQL. To automate some of processes I using<br>
&gt; Python. Part of the old database will be still running on Lotus Notes.<br>
&gt;<br>
&gt; After working on it, it seems that the best choice to directly<br>
&gt; manipulate Lotus is to use Python with win32COM -<br>
&gt; <a href="http://www.boddie.org.uk/python/COM.html" target="_blank">http://www.boddie.org.uk/python/COM.html</a> . I installed ActivePython<br>
&gt; 2.6 compiler, which comes with integrated win32com.<br>
&gt;<br>
&gt; However, when I try to run.. it gives me the error:<br>
&gt; ...<br>
&gt; --x--x--<br>
&gt; &gt;&gt;&gt; sess=win32com.client.Dispatch(&quot;Lotus.NotesSession&quot;)<br>
&gt; ...Traceback (most recent call last):<br>
&gt; File<br>
&gt; &quot;C:\dev\python\Py26\lib\site-packages\win32com\client\dynamic.py&quot;,<br>
&gt; line 78, in _GetGoodDispatch<br>
&gt; IDispatch = pythoncom.CoCreateInstance(IDispatch, None, clsctx,<br>
&gt; pythoncom.IID_IDispatch)<br>
&gt; pywintypes.com_error: (-2147221005, &#39;Invalid class string&#39;, None, None)<br>
<br>
I&#39;ll ask the obvious question first.  You&#39;re sure Lotus Notes is<br>
installed on this computer?<br>
<br>
The Google implication is that &quot;Lotus.NotesSession&quot; is the proper class<br>
name, so if Notes is installed, this should work.<br>
<br>
--<br>
Tim Roberts, <a href="mailto:timr@probo.com">timr@probo.com</a><br>
Providenza &amp; Boekelheide, Inc.<br></blockquote></div>