<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Zpráva</TITLE>
<META http-equiv=Content-Type content="text/html; charset=ISO-8859-2">
<META content="MSHTML 6.00.2900.6470" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV><FONT face=Arial size=2>1.Mam uses ComObj, ale pri zavolani se dozvim:
raised exception class EOleSysError with message 'Nesprávný řetězec třídy'.
Process stopped.</FONT></DIV>
<DIV><FONT face=Arial size=2>2.Verze s ShellAPI chodi, ale neumi to prilohu,
tedy s retezcem &att:filename="c:\autoexec.bat" sice mam pripraven email s
prilohou, ale ta priloha neodpovida...</FONT></DIV>
<DIV> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=robomail@atlas.cz href="mailto:robomail@atlas.cz">Robo</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=hw-list@list.hw.cz
href="mailto:hw-list@list.hw.cz">HW-news</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Saturday, January 18, 2014 7:18
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: OT: Je tu nejaky programator
v DELPHI ?</DIV>
<DIV><BR></DIV>
<DIV class=moz-cite-prefix>a mas v uses ComObj<BR><BR><BR>jeste zkus<BR><BR><PRE>uses
ShellAPI;
begin
ShellExecute(0,<SPAN class=ST>'open'</SPAN>,<SPAN class=ST>'mailto: <A class=moz-txt-link-abbreviated href="mailto:email@email.cz?subject=Predmet&body=text">email@email.cz?subject=Predmet&body=text</A> emailu'</SPAN>,
NIL, NIL, SW_SHOWNORMAL);
end</PRE><BR><BR><BR>Dne 18.1.2014 17:31, Ondra hwnews napsal(a):<BR></DIV>
<BLOCKQUOTE cite=mid:D474BA461D5C430BA0E84F6588697B40@PCo type="cite">
<META content="MSHTML 6.00.2900.6470" name=GENERATOR>
<DIV><FONT face=Arial size=2>Ja tajne doufal, ze tolik na verzi OE nebude
zalezet.</FONT></DIV>
<DIV><FONT face=Arial size=2>Robo poslal odkaz, ze ktereho
kopiruji:</FONT></DIV>
<DIV> </DIV>
<DIV>
<P><EM>2. create a message in Outlook using OLE:</EM><BR></P><PRE><B>const
</B>olMailItem = 0;
<B>var
</B>Outlook, MailItem: OLEVariant;
<B>begin
try
</B>Outlook := GetActiveOleObject(<FONT color=blue>'Outlook.Application'</FONT>);
<B>except
</B>Outlook := CreateOleObject(<FONT color=blue>'Outlook.Application'</FONT>);
<B>end</B>;
MailItem := Outlook.CreateItem(olMailItem);
MailItem.Recipients.Add(<FONT color=blue>'<A class=moz-txt-link-abbreviated href="mailto:mshkolnik@scalabium.com">mshkolnik@scalabium.com</A>'</FONT>);
MailItem.Subject := <FONT color=blue>'your subject'</FONT>;
MailItem.Body := <FONT color=blue>'Welcome to my homepage: <A class=moz-txt-link-freetext href="http://www.scalabium.com">http://www.scalabium.com</A>'</FONT>;
MailItem.Attachments.Add(<FONT color=blue>'C:\Windows\Win.ini'</FONT>);
MailItem.Send;
Outlook := Unassigned;
<B>end</B>;
</PRE><PRE>Ovsem tam neprojdu pres OleObject.</PRE><PRE>Ted poradte... :) O.</PRE><PRE> </PRE><PRE> </PRE><PRE>
</PRE></DIV></BLOCKQUOTE><BR>
<P>
<HR>
<P></P>_______________________________________________<BR>HW-list mailing
list - sponsored by
www.HW.cz<BR>Hw-list@list.hw.cz<BR>http://list.hw.cz/mailman/listinfo/hw-list<BR></BLOCKQUOTE></BODY></HTML>