topic
stringlengths
1
63
text
stringlengths
1
577k
CDO MAILING
WHAT I NEED TO USE CDO TO SEND MAIL WITH MY APPLICATION IN FIVE WIN (FWH)
CDO MAILING
<!-- l --><a class="postlink-local" href="http://fivetechsupport.com/forums/viewtopic.php?f=3&t=21490&p=191444&hilit=CDO&sid=563530d537ebeaabc8eaa32d638f43c5#p191444">viewtopic.php?f=3&t=21490&p=191444&hilit=CDO&sid=563530d537ebeaabc8eaa32d638f43c5#p191444</a><!-- l -->
CDO MAPI versions and files
Everyone, I notice several of you have been having trouble with CDO lately. I have a client that also in having an issue after they installed a new mail server. I was reading up on CDO today and came across this page which lists all the versions of CDO and has the files available for download (it is a Microsoft site). <!-- m --><a class="postlink" href="https://support.microsoft.com/en-us/help/171440/where-to-acquire-the-cdo-libraries-all-versions">https://support.microsoft.com/en-us/hel ... l-versions</a><!-- m --> You can tell from the number of versions that there are likely to be more than one version of CDO in any LAN, thus there is a fairly good chance that there may issues. So, the first thing I would do is check the CDO version and OS one the computers having issues. The CDO files may have slightly different names and may be in different locations. Mine is \windows\system32\CDOSYS.DLL (Windows 10). And my CDOSYS.DLL is version 6.6 which is not on the above referenced page (it was last updated in 2011). I have found that there is a new authentication protocol called NTLM which is used on newer Microsoft mail servers. So if your client is using a MS mail server, one thing to try is setting this value to 2 as shown. // 0= none, 1= Basic clear text, 2=NTLM :Item( "http://schemas.microsoft.com/cdo/configuration/smtpauthenticate" ):Value := 2 One word of warning about sending test emails. This happened to me about a year ago. I was sending lots of test mails when all of a sudden configurations that were working, stopped. I thought I was loosing my mind. Finally, I discovered that I had been marked as a spammer and the mail server was blocking me. I think it was due to the volume of mail and/or I had neglected to make sure the SentFrom and ReplyTo were not exactly the same. Anyway, beware. Regards, James
CDO MAPI versions and files
hi James I leave CDO because in my lan there are a lot of pc that not work with any version or configuration (pc with Win7 and Win10)
CDO MAPI versions and files
Damiano, May I ask what are you using now? James
CDO MAPI versions and files
hi James, [code=fw:3vyyrt2l]<div class="fw" id="{CB}" style="font-family: monospace;">   <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">MAIL</span> oMail ;<br />      <span style="color: #0000ff;">SUBJECT</span> textSubject ;<br />      <span style="color: #0000ff;">TEXT</span>  MessageText ;<br />      <span style="color: #0000ff;">FROM</span> USER ;<br />      <span style="color: #0000ff;">TO</span> <span style="color: #ff0000;">"myCust@dominio.it"</span>, ;<br />                <span style="color: #ff0000;">"myBoss@gmail.com"</span> ;   <br />      RECEIPT<br /><br />   <span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">MAIL</span> oMail</div>[/code:3vyyrt2l] this is enough now for my app but I hope to arrange my app soon with CDO
CDO MAPI versions and files
For those having CDO problems I just found a very comprehensive list of errors and instructions for dealing with them. <!-- m --><a class="postlink" href="http://www.ctimls.com/Support/KB/Error%20Fixes/Fix_CDO_Email_Error.htm">http://www.ctimls.com/Support/KB/Error% ... _Error.htm</a><!-- m --> Regards, James
CDO MAPI versions and files
Damiano, What you are using now is the basic simple MAPI. This doesn't have any of the advanced features that CDO has so you will have issues with those servers that require the use of those features. You are lucky that the server your client is using doesn't require any of them. James
CDO MAPI versions and files
hi James, thank you for link and help. I have to use MAPI because I now have not any others solution. now I try with your link.
CDO Once Again ...
I realize there are numerous threads on this but none of them has an answer to my specific question. First, here is the code I am using: [code=fw:1jad8kxv]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">Function</span> CDOSendMail<span style="color: #000000;">&#40;</span> aTabMail <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; <span style="color: #00C800;">Local</span> oEmailCfg,oEmailMsg<br /><br /><span style="color: #B900B9;">/* Tabmail<br />01 = MAILSERVER &nbsp;// A correct mail server address<br />02 = MAILFROM &nbsp;// A valid originator of the message<br />03 = MAILTO &nbsp;// Who it is being sent to<br />04 = SUBJECT &nbsp;// The subect<br />05 = BODY &nbsp;// The body in text format<br />06 = ATTACHMENT &nbsp;// Attachment(s)<br />07 = BCC &nbsp;// Usually NIL &nbsp;NOT USED<br />08 = LAUTHORIZATION &nbsp;// T or F logical for authentication<br />09 = USERID pour MAILSERVER &nbsp;// The mail server Username<br />10 = PW &nbsp; &nbsp; pour MAILSERVER &nbsp;// The mail server password<br />11 = Mail port &nbsp; defaut = 25 &nbsp;// The port, default is 25, set to 465 for SSL<br />12 = Mail HTML page &nbsp;// An HTML page, usually not used<br />13 = ssl authentification &nbsp;// T or F logical for SSL<br />14 = Mail sender &nbsp;// Mail sender name &nbsp;NOT USED<br />15 = Organisation sender &nbsp;// Organization sender &nbsp;NOT USED<br />16 = Host &nbsp;// Host if needed &nbsp;NOT USED<br />*/</span><br />&nbsp; &nbsp; <span style="color: #00C800;">TRY</span><br />&nbsp; &nbsp; &nbsp; &nbsp;oEmailCfg := CREATEOBJECT<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"CDO.Configuration"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; WITH OBJECT &nbsp;oEmailCfg:<span style="color: #000000;">Fields</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:<span style="color: #000000;">Item</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"http://schemas.microsoft.com/cdo/configuration/smtpserver"</span> <span style="color: #000000;">&#41;</span>:<span style="color: #000000;">Value</span> := &nbsp; TRIM<span style="color: #000000;">&#40;</span> aTabMail<span style="color: #000000;">&#91;</span><span style="color: #000000;">01</span><span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">//"mail.xxxxxxxx.com"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:<span style="color: #000000;">Item</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"http://schemas.microsoft.com/cdo/configuration/smtpserverport"</span> <span style="color: #000000;">&#41;</span>:<span style="color: #000000;">Value</span> := &nbsp;aTabMail<span style="color: #000000;">&#91;</span><span style="color: #000000;">11</span><span style="color: #000000;">&#93;</span> <span style="color: #B900B9;">// 25</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:<span style="color: #000000;">Item</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"http://schemas.microsoft.com/cdo/configuration/sendusing"</span> <span style="color: #000000;">&#41;</span>:<span style="color: #000000;">Value</span> := <span style="color: #000000;">2</span> &nbsp; <span style="color: #B900B9;">// Remote SMTP = 2, local = 1</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:<span style="color: #000000;">Item</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"http://schemas.microsoft.com/cdo/configuration/smtpauthenticate"</span> <span style="color: #000000;">&#41;</span>:<span style="color: #000000;">Value</span> := &nbsp;aTabMail<span style="color: #000000;">&#91;</span><span style="color: #000000;">08</span><span style="color: #000000;">&#93;</span> <span style="color: #B900B9;">// .T.</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:<span style="color: #000000;">Item</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"http://schemas.microsoft.com/cdo/configuration/smtpusessl"</span> <span style="color: #000000;">&#41;</span>:<span style="color: #000000;">Value</span> := &nbsp;aTabMail<span style="color: #000000;">&#91;</span><span style="color: #000000;">13</span><span style="color: #000000;">&#93;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:<span style="color: #000000;">Item</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"http://schemas.microsoft.com/cdo/configuration/sendusername"</span> <span style="color: #000000;">&#41;</span>:<span style="color: #000000;">Value</span> := TRIM<span style="color: #000000;">&#40;</span> aTabMail<span style="color: #000000;">&#91;</span><span style="color: #000000;">09</span><span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// &nbsp;"xxanser@xxxxxxxx.com"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:<span style="color: #000000;">Item</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"http://schemas.microsoft.com/cdo/configuration/sendpassword"</span> <span style="color: #000000;">&#41;</span>:<span style="color: #000000;">Value</span> := TRIM<span style="color: #000000;">&#40;</span> aTabMail<span style="color: #000000;">&#91;</span><span style="color: #000000;">10</span><span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// "xxxxxx"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:<span style="color: #000000;">Item</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout"</span><span style="color: #000000;">&#41;</span>:<span style="color: #000000;">Value</span> := <span style="color: #000000;">30</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:<span style="color: #0000ff;">Update</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; END WITH<br />&nbsp; &nbsp; CATCH oError<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Could not create message configuration"</span> + <span style="color: #ff0000;">";"</span> &nbsp;+ ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">"Error: "</span> + TRANSFORM<span style="color: #000000;">&#40;</span>oError:<span style="color: #000000;">GenCode</span>, <span style="color: #00C800;">NIL</span><span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">";"</span> + ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">"SubC: "</span> + TRANSFORM<span style="color: #000000;">&#40;</span>oError:<span style="color: #000000;">SubCode</span>, <span style="color: #00C800;">NIL</span><span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">";"</span> + ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">"OSCode: "</span> + TRANSFORM<span style="color: #000000;">&#40;</span>oError:<span style="color: #000000;">OsCode</span>, <span style="color: #00C800;">NIL</span><span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">";"</span> + ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">"SubSystem: "</span> + TRANSFORM<span style="color: #000000;">&#40;</span>oError:<span style="color: #000000;">SubSystem</span>, <span style="color: #00C800;">NIL</span><span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">";"</span> + ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">"Message: "</span> + oError:<span style="color: #000000;">Description</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">Return</span> .F.<br />&nbsp; &nbsp; END<br />&nbsp; &nbsp; oError:=<span style="color: #00C800;">NIL</span><br /><br />&nbsp; &nbsp; <span style="color: #00C800;">TRY</span><br />&nbsp; &nbsp; &nbsp;oEmailMsg := CREATEOBJECT <span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"CDO.Message"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp;WITH OBJECT oEmailMsg<br />&nbsp; &nbsp; &nbsp; &nbsp; :<span style="color: #000000;">Configuration</span> = &nbsp;oEmailCfg<br />&nbsp; &nbsp; &nbsp; &nbsp; :<span style="color: #0000ff;">From</span> = aTabMail<span style="color: #000000;">&#91;</span><span style="color: #000000;">02</span><span style="color: #000000;">&#93;</span> <span style="color: #B900B9;">//chr(34)+" Anser K.K. "+chr(34)+ "<anser@xxxxxxxx.com>" // This will be displayed in the From (The email id does not appear)</span><br />&nbsp; &nbsp; &nbsp; &nbsp; :<span style="color: #0000ff;">To</span> = TRIM<span style="color: #000000;">&#40;</span> aTabMail<span style="color: #000000;">&#91;</span><span style="color: #000000;">03</span><span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// "xxanserkk@xxxxx.com" &nbsp; &nbsp;// <----- &nbsp; Place the TO email address</span><br />&nbsp; &nbsp; &nbsp; &nbsp; :<span style="color: #0000ff;">Subject</span> = aTabMail<span style="color: #000000;">&#91;</span><span style="color: #000000;">04</span><span style="color: #000000;">&#93;</span> <span style="color: #B900B9;">// "This is a Tst message"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; :<span style="color: #000000;">MDNRequested</span> = .T.<br />&nbsp; &nbsp; &nbsp; &nbsp; :<span style="color: #000000;">TextBody</span> = &nbsp;TRIM<span style="color: #000000;">&#40;</span> aTabMail<span style="color: #000000;">&#91;</span><span style="color: #000000;">05</span><span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#41;</span> <br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">IF</span> LEN<span style="color: #000000;">&#40;</span> aTabMail<span style="color: #000000;">&#91;</span><span style="color: #000000;">06</span><span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#41;</span> > <span style="color: #000000;">0</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">For</span> nEle := <span style="color: #000000;">1</span> <span style="color: #0000ff;">To</span> Len<span style="color: #000000;">&#40;</span> aTabMail<span style="color: #000000;">&#91;</span><span style="color: #000000;">06</span><span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:<span style="color: #000000;">AddAttachment</span><span style="color: #000000;">&#40;</span> ALLTRIM<span style="color: #000000;">&#40;</span>aTabMail<span style="color: #000000;">&#91;</span><span style="color: #000000;">06</span><span style="color: #000000;">&#93;</span><span style="color: #000000;">&#91;</span>nEle<span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// := AllTrim( aAttach[ nEle ] )</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">Next</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">ENDIF</span><br />&nbsp; &nbsp; &nbsp;END WITH<br />&nbsp; &nbsp; &nbsp;oEmailMsg:<span style="color: #000000;">Send</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; CATCH oError<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"Could not send message"</span> + <span style="color: #ff0000;">";"</span> &nbsp;+ CRLF+ ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">"Error: "</span> + TRANSFORM<span style="color: #000000;">&#40;</span>oError:<span style="color: #000000;">GenCode</span>, <span style="color: #00C800;">NIL</span><span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">";"</span> + CRLF+;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">"SubC: "</span> + TRANSFORM<span style="color: #000000;">&#40;</span>oError:<span style="color: #000000;">SubCode</span>, <span style="color: #00C800;">NIL</span><span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">";"</span> + CRLF+ ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">"OSCode: "</span> + TRANSFORM<span style="color: #000000;">&#40;</span>oError:<span style="color: #000000;">OsCode</span>, <span style="color: #00C800;">NIL</span><span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">";"</span> + CRLF +;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">"SubSystem: "</span> + TRANSFORM<span style="color: #000000;">&#40;</span>oError:<span style="color: #000000;">SubSystem</span>, <span style="color: #00C800;">NIL</span><span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">";"</span> +CRLF+ ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">"Message: "</span> + oError:<span style="color: #000000;">Description</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">Return</span> .F.<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; END<br /><br /><span style="color: #00C800;">Return</span><span style="color: #000000;">&#40;</span> .t. <span style="color: #000000;">&#41;</span><br /><br />&nbsp;</div>[/code:1jad8kxv] On my computer this works. However, on a client's computer ( and other client's also ), I get the following response to the send() action: Could not send message Error 1001 SubC 3 OSCode 0 SubSystem CDO_Message; Message DISP_E_MEMBERNOTFOUND I've run out of ideas on what might be causing the problem on some computers. Of course my clients think its something that I should fix in 2 minutes ! By the number of posts I've shown on this problem, its obvious I've spent a lot of time. Also of note. I am using Windows 8 and it works. The machine I tested on this morning at a client's office is the same computer ( Samsung All In One, same model ) also with Windows 8. Tim
CDO Once Again ...
Tim, I am guessing you are trying to send via gmail? Can we see all the parameters in aTabMail (except for the username and password, of course)? Were you using the exact same EXE on the client's computer that was running on yours? If so, I am guessing it is the configuration of the client's PC having to do with cdosys.dll. You could try this: "To resolve the issue simply open a 32-bit instance of cmd.exe from the SysWow64 directory and run "regsvr32 cdosys.dll" to re-register the 32-bit CDOSYS." The above is from here: <!-- m --><a class="postlink" href="http://blogs.msdn.com/b/mstehle/archive/2007/12/11/fyi-after-installing-exchange-2007-sp1-32-bit-cdosys-might-not-be-registered.aspx">http://blogs.msdn.com/b/mstehle/archive ... tered.aspx</a><!-- m --> Also, it could be a problem with the paths of any attachments. Are you using attachments? If so were they also on the client's PC? I would suggest not using attachments until you get it working without attachments. I would also suggest running the example program by Anser that I sent to your email a couple of days ago. This is a very simple program and it eliminates anything different in your code that could be causing the problem. It would be nice to just know if CDO is working on the client's PC. James
CDO Once Again ...
James, I have spent so much time in trial and error. Surely there is some way to know what that error message means. No, I am not using gmail. I do nothing Google. Anything that passes through a Google server, no matter what it is, is open ( according to their very public license ) to the public domain. They can use the data in any way they wish, including selling or trading it. I deal with confidential information a lot, so I have absolutely no Google connectivity in my system. n my case, I used the settings for Cox SSL and it worked fine. So, that means the program works fine ... even with attachments. My client has AT&T and they route through Yahoo ! Other clients with problems are in Arizona and use Qwest, and I have no idea what some others are using.
CDO Once Again ...
Tim, >I have spent so much time in trial and error. Surely there is some way to know what that error message means. Just about any parameter can cause that error--it is generic from my experience, so it doesn't help much. This is why I suggested eliminating as many variables as possible such as attachments. RE: gmail - I just wanted to know if you were using a SSL server. I just found that CDO is apparently installed when Outlook is installed, and starting with Outlook 2007 CDO was no longer installed. I am running XP PRO SP3 and Outlook is not installed on my PC and CDO is, so this is confusing. I do have Outlook Express, however. Here is a link to the CDO download page. <!-- m --><a class="postlink" href="http://www.windows8appstore.com/windowssoftware/collaboration-data-objects-121/550407.html">http://www.windows8appstore.com/windows ... 50407.html</a><!-- m --> Unfortunately, this may mean that you will need to install CDO on your client's computer. It would be nice if there was a simple way to determine if CDO was installed. Perhaps looking for the cdosys.dll? James
CDO Once Again ...
OK ... so I went online, CDO was there ... and then I looked at the obvious. I compared Outlook settings with our email settings. The guy guaranteed me over and over and over again that it was exactly the same. Except the user name was not. He omitted the "@hisserver.com" section ! I corrected the error. Now the CDO is working perfectly. Want to know how its implemented ? Check out the code section in the original post of this thread. Thanks to everyone who helped along the way. I guess I need to go visit the client and collect a beer ! Tim
CDO Once Again ...
Tim, Glad to hear you got it working. [quote:otgfb0kg]The guy guaranteed me over and over and over again that it was exactly the same. Except the user name was not. He omitted the "@hisserver.com" section ![/quote:otgfb0kg] This is why I kept suggesting reducing the number of variables. I would compile a test EXE hardcoded with [b:otgfb0kg]your[/b:otgfb0kg] email and email server info and with [b:otgfb0kg]no runtime inputs[/b:otgfb0kg] that you know is working on your PC. Then you can just run this on any client's PC to make sure CDO is working on their PC. After that you can install and configure your app and if it errors out, then you know it is a configuration issue rather than wondering if CDO is working. Again, so glad you got it working. Regards, James
CDO Once Again ...
how you resolve?, can you sharing with me? thanks
CDO Once Again ...
My implementation is shared in the original post. It is correct. The problem was that the user did not setup the server connection correctly. When I remotely took over his computer, and saw that, I fixed his entry and it all worked. In most cases, when it asks for user name, it actually uses the full email. He had: Username: John Doe It wanted Username : <!-- e --><a href="mailto:JohnDoe@server.com">JohnDoe@server.com</a><!-- e --> I made the change and all worked fine. If you want to implement CDO, my code in the original post works perfectly. Tim
CDO Once Again ...
Hello, CDO does not work with latest TLS servers, and it´s blocked by many antivirus!.
CDO Once Again ...
CDO resolved the issues I've had with SMTP over the years. It continues to work fine for all of my clients, and I hear absolutely no complaints. I recommend the built in security in Windows 10 which has no problems with it, or Security Essentials for older OS versions.
CDO Once Again ...
[quote="TimStone":2f9itkvh]CDO resolved the issues I've had with SMTP over the years. It continues to work fine for all of my clients, and I hear absolutely no complaints. I recommend the built in security in Windows 10 which has no problems with it, or Security Essentials for older OS versions.[/quote:2f9itkvh] I agree. EMG
CDO Once Again ...
Hi, How do you send emails via TLS smtp server? Thank you.
CDO Once Again ...
I guess it is not possible: <!-- m --><a class="postlink" href="https://social.technet.microsoft.com/Forums/windows/en-US/37d00342-e5e9-4c8d-975d-44362332d426/bug-in-cdomessage-smtpserverport-587-fails?forum=ITCG">https://social.technet.microsoft.com/Fo ... forum=ITCG</a><!-- m -->
CDO Once Again ...
[quote="MOISES":yoxjcvkr]I guess it is not possible: <!-- m --><a class="postlink" href="https://social.technet.microsoft.com/Forums/windows/en-US/37d00342-e5e9-4c8d-975d-44362332d426/bug-in-cdomessage-smtpserverport-587-fails?forum=ITCG">https://social.technet.microsoft.com/Fo ... forum=ITCG</a><!-- m -->[/quote:yoxjcvkr] have you try Port 465 (mail.gmx.net) <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: --> also there are Combination with Port 25 and SSL to work with TLS smtp server. (smtp.web.de) both need [code=fw:yoxjcvkr]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #ff0000;">".../smtpauthenticate"</span>,   .t.</div>[/code:yoxjcvkr]
CDO email
Hi, I try to send email using CDO but sometimes send and sometimes not, what I do wrong? Thanks local lRet := .f. local oCfg, oError local cServ := "smtp.rotamaxgroup.com" local nPort := "587" local lAut := .t. local lSSL := .f. local cPass := "XXXXXX" cUser := Alltrim(_cUser) cRemt := Alltrim(_cUser) TRY oCfg := CREATEOBJECT( "CDO.Configuration" ) WITH OBJECT oCfg:Fields :Item( "http://schemas.microsoft.com/cdo/configuration/smtpserver" ):Value := cServ :Item( "http://schemas.microsoft.com/cdo/configuration/smtpserverport" ):Value := nPort :Item( "http://schemas.microsoft.com/cdo/configuration/sendusing" ):Value := 2 :Item( "http://schemas.microsoft.com/cdo/configuration/smtpauthenticate" ):Value := lAut :Item( "http://schemas.microsoft.com/cdo/configuration/smtpusessl" ):Value := lSSL :Item( "http://schemas.microsoft.com/cdo/configuration/sendusername" ):Value := cUser :Item( "http://schemas.microsoft.com/cdo/configuration/sendpassword" ):Value := cPass :Update() END WITH lRet := .t. CATCH oError MsgInfo( "Não Foi possível Enviar o e-Mail!" +CRLF+ ; "Error: " + Transform(oError:GenCode, nil) + ";" +CRLF+ ; "SubC: " + Transform(oError:SubCode, nil) + ";" +CRLF+ ; "OSCode: " + Transform(oError:OsCode, nil) + ";" +CRLF+ ; "SubSystem: " + Transform(oError:SubSystem, nil) + ";" +CRLF+ ; "Mensaje: " + oError:Description, "Atenção" ) END //////////////////////// cTo := Destinatarios( cTo ) //--> PARA cCC := Destinatarios( cCC ) //--> COM COPIA cBCC := Destinatarios( cBCC ) //--> COM COPIA OCULTA TRY oMsg := CREATEOBJECT ( "CDO.Message" ) WITH OBJECT oMsg :Configuration = oCfg :From = cFrom :To = cTo :CC = cCC :BCC = cBCC :Subject = cSubject :TextBody = cMsg For x := 1 To Len( cAttach ) if cAttach[x] <> NIL :AddAttachment(cAttach[x]) endif Next :Send() END WITH lRet := .t. CATCH // MsgInfo("Não foi possível enviar a mensagem") lRet := .f. END
CDO email
use alltrim( -- values -- ) for each values you pass to cdo
CDO email
[quote="Silvio.Falconi":3mgf28fz]use alltrim( -- values -- ) for each values you pass to cdo[/quote:3mgf28fz] Thanks Silvio I Will Try.
CDO email with signature
Hi, I use CDO to send emails, is possible send with a signature, in this case a jpg image? Thanks in advance.
CDO email with signature
[code=fw:bw5jiuag]<div class="fw" id="{CB}" style="font-family: monospace;"><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">IF</span> IMAGEM = <span style="color: #ff0000;">"S"</span> <span style="color: #B900B9;">// Assinatura Digital no Email. Joao</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #B900B9;">// NO RODAPE DA MENSAGEM.. EU SOU PLORIDA,,, KKKKKKKKKKK</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oCfg:<span style="color: #000000;">HTMLBody</span> = <span style="color: #ff0000;">"<p>"</span>+ALLTRIM<span style="color: #000000;">&#40;</span> cMsg <span style="color: #000000;">&#41;</span>+<span style="color: #ff0000;">"</p>"</span> + <span style="color: #ff0000;">"<p><img src='cid:id_imagen10'></p>"</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; loBP := :<span style="color: #000000;">AddRelatedBodyPart</span><span style="color: #000000;">&#40;</span> cDirPleno + <span style="color: #ff0000;">"<span style="color: #000000;">\L</span>OGO.JPG"</span>, <span style="color: #ff0000;">"id_imagen10"</span>, <span style="color: #000000;">1</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; WITH OBJECT loBP:<span style="color: #000000;">Fields</span> <span style="color: #B900B9;">// Assinatura Digital no Corpo do Email</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #B900B9;">// oCfg:Item("urn:schemas:mailheader:Content-ID") = "id_imagen10" // Asi, genera WARNINGS</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oCfg:<span style="color: #000000;">Item</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"urn:schemas:mailheader:Content-ID"</span><span style="color: #000000;">&#41;</span>:<span style="color: #000000;">Value</span> := &nbsp;<span style="color: #ff0000;">"id_imagen10"</span> &nbsp;<span style="color: #B900B9;">// Asi, no.</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;oCfg:<span style="color: #0000ff;">Update</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; END WITH<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">ENDIF</span><br />&nbsp;</div>[/code:bw5jiuag]
CDO email with signature
[quote="karinha":2jctdu2w][code=fw:2jctdu2w]<div class="fw" id="{CB}" style="font-family: monospace;"><br />             <span style="color: #00C800;">IF</span> IMAGEM = <span style="color: #ff0000;">"S"</span> <span style="color: #B900B9;">// Assinatura Digital no Email. Joao</span><br /><br />                <span style="color: #B900B9;">// NO RODAPE DA MENSAGEM.. EU SOU PLORIDA,,, KKKKKKKKKKK</span><br />                oCfg:<span style="color: #000000;">HTMLBody</span> = <span style="color: #ff0000;">"<p>"</span>+ALLTRIM<span style="color: #000000;">&#40;</span> cMsg <span style="color: #000000;">&#41;</span>+<span style="color: #ff0000;">"</p>"</span> + <span style="color: #ff0000;">"<p><img src='cid:id_imagen10'></p>"</span><br /><br />                loBP := :<span style="color: #000000;">AddRelatedBodyPart</span><span style="color: #000000;">&#40;</span> cDirPleno + <span style="color: #ff0000;">"<span style="color: #000000;">\L</span>OGO.JPG"</span>, <span style="color: #ff0000;">"id_imagen10"</span>, <span style="color: #000000;">1</span><span style="color: #000000;">&#41;</span><br /><br />                WITH OBJECT loBP:<span style="color: #000000;">Fields</span> <span style="color: #B900B9;">// Assinatura Digital no Corpo do Email</span><br /><br />                   <span style="color: #B900B9;">// oCfg:Item("urn:schemas:mailheader:Content-ID") = "id_imagen10" // Asi, genera WARNINGS</span><br />                   oCfg:<span style="color: #000000;">Item</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"urn:schemas:mailheader:Content-ID"</span><span style="color: #000000;">&#41;</span>:<span style="color: #000000;">Value</span> :=  <span style="color: #ff0000;">"id_imagen10"</span>  <span style="color: #B900B9;">// Asi, no.</span><br /><br />                   oCfg:<span style="color: #0000ff;">Update</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />                END WITH<br /><br />             <span style="color: #00C800;">ENDIF</span><br /> </div>[/code:2jctdu2w][/quote:2jctdu2w] It's work, thank you!
CDO.Message (method Send)
You have configured this? [code=fw:mih3e43j]<div class="fw" id="{CB}" style="font-family: monospace;"><br />oEmail := CREATEOBJECT<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"CDO.Configuration"</span> <span style="color: #000000;">&#41;</span><br />.../...<br />&nbsp;</div>[/code:mih3e43j] and [code=fw:mih3e43j]<div class="fw" id="{CB}" style="font-family: monospace;"><br />oEmailMsg := CREATEOBJECT <span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"CDO.Message"</span> <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; WITH OBJECT oEmailMsg<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; :<span style="color: #000000;">Configuration</span> &nbsp;:= oEmail<br />.../...<br />&nbsp;</div>[/code:mih3e43j]
CDO.Message (method Send)
All this is done and worked well before. A strange mistake
CDO.Message (method Send)
What is the provider? Did you change the door? Changed Password? Changed from http to https? Check this out. Regards, saludos.
CDO.Message (method Send)
Hi, I wanted to use my old (2013) program to send messages to mailboxes to clients. oEmlMsg := CREATEOBJECT ( "CDO.Message" ) WITH OBJECT oEmlMsg .................................. END WITH oEmlMsg:Send() However, I get an error: [b:3izrpky3]Error description: Error CDO.Message/3 DISP_E_MEMBERNOTFOUND: SEND[/b:3izrpky3] In other words, there is no Send() method in the object. What could it be ?
CDO.Message method Send()
Hi, all ! For several years, from time to time, used the program sending messages using CDO. Now needed to make the list, but get the error: Error CDO.Message/3 DISP_E_MEMBERNOTFOUND: SEND What could be the reason ?
CDO.Message method Send()
Please review this thread: <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?p=173383#p173383">viewtopic.php?p=173383#p173383</a><!-- l -->
CDO.Message method Send()
Antonio, thanks for your answer ! I made a double authentication for Google account and received the password of the application. How should I use this password from your program ?
CDO.Message method Send()
Could you provide a small self contained example PRG of what you are testing ? thanks
CDO.Message method Send()
[code=fw:1rbyq571]<div class="fw" id="{CB}" style="font-family: monospace;">procedure GMAdr<span style="color: #000000;">&#40;</span>m_nam, pss, s_nam, adr, sbj, fil<span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">local</span> st, zz, cBcc:=<span style="color: #ff0000;">""</span><br /><span style="color: #00C800;">local</span> oEmlCfg := CREATEOBJECT<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"CDO.Configuration"</span> <span style="color: #000000;">&#41;</span><br />** m_nam - Inbox<br />** pss   - password<br />** s_nam - sending<br />** adr   - address list<br />** sbj   - <span style="color: #000000;">&#123;</span>Titul, Msg <span style="color: #0000ff;">Text</span><span style="color: #000000;">&#125;</span><br /><br />  WITH OBJECT oEmlCfg:<span style="color: #000000;">Fields</span><br />     :<span style="color: #000000;">Item</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"http://schemas.microsoft.com/cdo/configuration/smtpserver"</span> <span style="color: #000000;">&#41;</span>:<span style="color: #000000;">Value</span> := <span style="color: #ff0000;">"smtp.gmail.com"</span><br />     :<span style="color: #000000;">Item</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"http://schemas.microsoft.com/cdo/configuration/smtpserverport"</span> <span style="color: #000000;">&#41;</span>:<span style="color: #000000;">Value</span> := <span style="color: #000000;">465</span><br />     :<span style="color: #000000;">Item</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"http://schemas.microsoft.com/cdo/configuration/sendusing"</span> <span style="color: #000000;">&#41;</span>:<span style="color: #000000;">Value</span> := <span style="color: #000000;">2</span>   <span style="color: #B900B9;">// Remote SMTP = 2, local = 1</span><br />     :<span style="color: #000000;">Item</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"http://schemas.microsoft.com/cdo/configuration/smtpauthenticate"</span> <span style="color: #000000;">&#41;</span>:<span style="color: #000000;">Value</span> := .T.<br />     :<span style="color: #000000;">Item</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"http://schemas.microsoft.com/cdo/configuration/smtpusessl"</span> <span style="color: #000000;">&#41;</span>:<span style="color: #000000;">Value</span> := .T.<br />     :<span style="color: #000000;">Item</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"http://schemas.microsoft.com/cdo/configuration/sendusername"</span> <span style="color: #000000;">&#41;</span>:<span style="color: #000000;">Value</span> := m_nam <span style="color: #B900B9;">// Gmail A/c ID</span><br />     :<span style="color: #000000;">Item</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"http://schemas.microsoft.com/cdo/configuration/sendpassword"</span> <span style="color: #000000;">&#41;</span>:<span style="color: #000000;">Value</span> := pss  <span style="color: #B900B9;">// Password</span><br />     :<span style="color: #000000;">Item</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout"</span><span style="color: #000000;">&#41;</span>:<span style="color: #000000;">Value</span> := <span style="color: #000000;">30</span><br /><br />     :<span style="color: #000000;">Item</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"http://schemas.microsoft.com/cdo/configuration/languagecode"</span><span style="color: #000000;">&#41;</span>:<span style="color: #000000;">Value</span>:= <span style="color: #000000;">1049</span><br />     :<span style="color: #000000;">Item</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"http://schemas.microsoft.com/cdo/configuration/usemessageresponsetext"</span><span style="color: #000000;">&#41;</span>:<span style="color: #000000;">Value</span>:= .T.<br /><br />     :<span style="color: #0000ff;">Update</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />   END WITH<br /><br />   oEmlMsg := CREATEOBJECT <span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"CDO.Message"</span> <span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">for</span> st=<span style="color: #000000;">1</span> <span style="color: #0000ff;">to</span> len<span style="color: #000000;">&#40;</span>adr<span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// address list</span><br /> <br />     WITH OBJECT oEmlMsg<br />       :<span style="color: #000000;">Configuration</span> = oEmlCfg<br />*      :<span style="color: #000000;">BodyPart</span>:<span style="color: #000000;">CharSet</span> = <span style="color: #ff0000;">"windows_1251"</span> <span style="color: #B900B9;">// language</span><br /><br />       :<span style="color: #0000ff;">From</span> = chr<span style="color: #000000;">&#40;</span><span style="color: #000000;">34</span><span style="color: #000000;">&#41;</span>+<span style="color: #ff0000;">" "</span>+s_nam+<span style="color: #ff0000;">" "</span>+chr<span style="color: #000000;">&#40;</span><span style="color: #000000;">34</span><span style="color: #000000;">&#41;</span>+<span style="color: #ff0000;">"<"</span>+m_nam+<span style="color: #ff0000;">">"</span> <span style="color: #B900B9;">// This will be displayed as From address</span><br />       :<span style="color: #0000ff;">To</span> = adr<span style="color: #000000;">&#91;</span>st<span style="color: #000000;">&#93;</span>      <span style="color: #B900B9;">// To Email ID</span><br />       :<span style="color: #000000;">BCC</span> = cBcc        <span style="color: #B900B9;">// BCC Id ????? ? ?®???</span><br />       :<span style="color: #0000ff;">Subject</span> = sbj<span style="color: #000000;">&#91;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span>  <span style="color: #B900B9;">// Titul</span><br />       :<span style="color: #000000;">TextBody</span> = sbj<span style="color: #000000;">&#91;</span><span style="color: #000000;">2</span><span style="color: #000000;">&#93;</span> <span style="color: #B900B9;">// Msg Text</span><br />       <span style="color: #00C800;">for</span> zz=<span style="color: #000000;">1</span> <span style="color: #0000ff;">to</span> len<span style="color: #000000;">&#40;</span>fil<span style="color: #000000;">&#41;</span><br />         :<span style="color: #000000;">AddAttachment</span><span style="color: #000000;">&#40;</span>fil<span style="color: #000000;">&#91;</span>zz<span style="color: #000000;">&#93;</span><span style="color: #000000;">&#41;</span>  <span style="color: #B900B9;">// attached files</span><br />       <span style="color: #00C800;">next</span><br />       :<span style="color: #000000;">Fields</span>:<span style="color: #0000ff;">update</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />     END WITH<br />     oEmlMsg:<span style="color: #000000;">Send</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />     sysrefresh<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />     inkey<span style="color: #000000;">&#40;</span><span style="color: #000000;">0.1</span><span style="color: #000000;">&#41;</span><br />   <span style="color: #00C800;">next</span><br />   inkey<span style="color: #000000;">&#40;</span><span style="color: #000000;">0.1</span><span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">Return</span></div>[/code:1rbyq571]
CDO.Message method Send()
Natter The gmail account has to be configured to sign-in with 'less secure apps' .. see link Rick Lipkin <!-- m --><a class="postlink" href="https://myaccount.google.com/intro/security">https://myaccount.google.com/intro/security</a><!-- m -->
CDO.Message method Send()
Thanks, Rick ! All work fine !!!
CDO.Message method Send()
hi I'm trying this code: [code=fw:3tcrblpp]<div class="fw" id="{CB}" style="font-family: monospace;"><br />  oEmailCfg := CREATEOBJECT<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"CDO.Configuration"</span> <span style="color: #000000;">&#41;</span><br />  WITH OBJECT oEmailCfg:<span style="color: #000000;">Fields</span><br />     :<span style="color: #000000;">Item</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"http://schemas.microsoft.com/cdo/configuration/smtpserver"</span> <span style="color: #000000;">&#41;</span>:<span style="color: #000000;">Value</span>             := <span style="color: #ff0000;">"smtp.gmail.com"</span><br />     :<span style="color: #000000;">Item</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"http://schemas.microsoft.com/cdo/configuration/smtpserverport"</span> <span style="color: #000000;">&#41;</span>:<span style="color: #000000;">Value</span>         := <span style="color: #000000;">465</span><br />     :<span style="color: #000000;">Item</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"http://schemas.microsoft.com/cdo/configuration/sendusing"</span> <span style="color: #000000;">&#41;</span>:<span style="color: #000000;">Value</span>              := <span style="color: #000000;">2</span>  <br />     :<span style="color: #000000;">Item</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"http://schemas.microsoft.com/cdo/configuration/smtpauthenticate"</span> <span style="color: #000000;">&#41;</span>:<span style="color: #000000;">Value</span>       := .t.<br />     :<span style="color: #000000;">Item</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"http://schemas.microsoft.com/cdo/configuration/smtpusessl"</span> <span style="color: #000000;">&#41;</span>:<span style="color: #000000;">Value</span>             := .T.<br />     :<span style="color: #000000;">Item</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"http://schemas.microsoft.com/cdo/configuration/sendusername"</span> <span style="color: #000000;">&#41;</span>:<span style="color: #000000;">Value</span>           := <span style="color: #ff0000;">"myemail@gmail.com"</span><br />     :<span style="color: #000000;">Item</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"http://schemas.microsoft.com/cdo/configuration/sendpassword"</span> <span style="color: #000000;">&#41;</span>:<span style="color: #000000;">Value</span>           := <span style="color: #ff0000;">"mypsw"</span><br />     :<span style="color: #000000;">Item</span><span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout"</span><span style="color: #000000;">&#41;</span>:<span style="color: #000000;">Value</span> := <span style="color: #000000;">30</span><br />     :<span style="color: #0000ff;">Update</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />  END WITH<br /><br /><br />    oEmailMsg := CREATEOBJECT <span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"CDO.Message"</span> <span style="color: #000000;">&#41;</span><br />    WITH OBJECT oEmailMsg<br />        :<span style="color: #000000;">Configuration</span>      := oEmailCfg<br />        :<span style="color: #0000ff;">From</span>               := <span style="color: #ff0000;">"myemail@gmail.com"</span><br />        :<span style="color: #0000ff;">To</span>                 := <span style="color: #ff0000;">"myfriendemail@tiscali.it"</span><br />        :<span style="color: #0000ff;">Subject</span>            := <span style="color: #ff0000;">"Soggetto"</span><br />        :<span style="color: #000000;">TextBody</span>            := <span style="color: #ff0000;">"Testo"</span><br />        :<span style="color: #000000;">BCC</span> := <span style="color: #ff0000;">""</span><br />        :<span style="color: #000000;">Fields</span>:<span style="color: #0000ff;">Update</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />        :<span style="color: #000000;">Send</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />    END WITH</div>[/code:3tcrblpp] but I get always: Error description: Error CDO.Message/3 DISP_E_MEMBERNOTFOUND: SEND any help?
CDO.Message method Send()
ok solved!
CDO.Message method Send()
Damiano Please tell us how you solved it. James
CDO.Message method Send()
hi James I followed Rick Lipkin suggestion. in this link: [url:1k82f7bm]https&#58;//myaccount&#46;google&#46;com/intro/security[/url:1k82f7bm]
CDX Compatibles en FWPPC & Harbour 3.2
Hola Estoy intentando usar CDX de una aplicacion HB (ultimo build de svn), pero no se, si algo algo mal o no son compatibles podrian alguien confirmar, cualquiera de las 2 opciones y si son compatibles, como los debo usar Saludos, Mauricio
CDX Compatibles en FWPPC & Harbour 3.2
Mauricio, Te aparece algún error ? Debieran ser compatibles.
CDX Compatibles en FWPPC & Harbour 3.2
Antonio, no, no me aparece ningun error, pero las busquedas siempre regresa FALSE, usando las mismas KEYS que en HB, creado diario del GIT probare crear una tabla desde FWPPC y despues buscar en HB, no utilizo GUI, es HB en modo consola Saludos, Mauricio
CDX TO NTX y duplicación de registros
Me ocurre algo extraño y se lo otorgo al uso de dbfcdx. Tengo duplicación de registros idénticos y correlativos en una base de datos, la chequeo en forma externa al programa así elimino el problema de los índices. El código no tiene forma de duplicar el registro ya que no tengo pérdida de datos y si duplicación. Ahora también me ocurre este otro caso, cuando intento abrir una base de datos, ctactev.dbf la cual fue creada con dbfntx tengo este error: ********************************************************** Application =========== Path and name: C:\DATASOL\Datasol.Exe (32 bits) Size: 2,131,456 bytes Time from start: 0 hours 0 mins 6 secs Error occurred at: 26/03/2006, 17:10:32 Error description: Error DBFNTX/1001 Open error: E:\PROGRAMA\DATASOL\XHARBOUR\ACTDBF\CTACTEV.fpt ************************************************************ Desde xHarbour no he podido hacer la conversión de cdx a ntx, siempre obtengo bases de datos con formato dbfcdx, o sea nunca veo los archivos de memo dbt y si me sigue creando los fpt. El mismo código lo hice con clipper y me funcionó de maravillas. Estoy usando esto dentro de la aplicación de xharbour *************CODIGO*********************** ANNOUNCE RDDSYS INIT PROCEDURE INICIO *********************** REQUEST DBFNTX REQUEST DBFCDX REQUEST DBFFPT RDDSETDEFAULT("DBFCDX") RETURN ************FIN DE CODIGO********************** Pero pretendo dejarla a DBFNTX por la duplicación de registros. ****************CODIGO**************************** Local cPath:="\"+CURDIR()+"\",I Local aBases:=directory(cPath+"DBF\*.dbf"),x,aEst For x:=1 to len(aBases) use (cPath+"DBF\"+aBases[x,1]) alias vieja aEst:=Dbstruct() //Aquí no me respeta el "DBFNTX" con xharbour y si con clipper Dbcreate(cPath+"ACTDBF\"+aBases[x,1],aEst,"DBFNTX") use (cPath+"ACTDBF\"+aBases[x,1]) via "DBFNTX" alias nueva new DO WHILE VIEJA->( ! EOF () ) NUEVA->( DBAPPEND () ) FOR i := 1 TO VIEJA->( FCOUNT () ) NUEVA->( FIELDPUT ( i, VIEJA->( FIELDGET ( i ) ) ) ) NEXT i VIEJA->( DBSKIP () ) ENDDO vieja->(dbclosearea()) nueva->(dbcloseara()) Next *******************FIN DE CODIGO************************* Les agradecería su ayuda porque estoy bastante ciego a esta altura y creo que le estoy pasando por arriba al error. Gracias. Ricardo.-
CDX TO NTX y duplicación de registros
Me faltó anexar que noté que la duplicación se me hizo luego de hacer un pack, por lo que estoy haciendo una función propia de pack en donde copio a otra base de datos auxiliar todos los registros que no estan marcados para borra y después hago un zap a la base, luego le importo los campos de la base de datos auxiliar.
CDX TOO SLOW
I have an archive of 61819 Records I must index it on seven indexes When Imade (cdbf)->(OrdSetFocus(n)) and refresh() the xbrowse it is too slow How I can resolve this problem I'm using a portable Pc with 8GBRam Winseven
CDX TOO SLOW
Sivio... DBF/CDX originally work base in physical platform. the problem has came to me long time ago. from the time that, i migration to Oracle database. Just a good idea. maybe you have to cast about to use other database like SQL Server, Oracle, DB2 etc.... <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) --> Mulyadi
CDX TOO SLOW
Do you have a filter or scope set?
CDX TOO SLOW
I use cdx to index the dbf then I use dbsetfilter but the filter is activate then when the user made a search not when I open the file I'm afraid it not run ok or run slowly because perhaps xbrowse not run ok On old app 16 bit I used lbx( wbrowse) no problem
CDX TOO SLOW
Silvo Set Scope to... is much faster than dbSetFilter. Rick Lipkin [code=fw:3cmpehr8]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00D7D7;">#Include</span> <span style="color: #ff0000;">"Ord.ch"</span><br /><br />cStockno := <span style="color: #ff0000;">"12345"</span><br /><br /><span style="color: #0000ff;">Select</span> Invoice<br />Set Order <span style="color: #0000ff;">to</span> Tag Stockno<br /><br />Set Scope <span style="color: #0000ff;">to</span> cStockno<br />Seek cStockno<br /><br /><span style="color: #0000ff;">xbrowse</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br /> </div>[/code:3cmpehr8]
CDX TOO SLOW
If the filter is active while the browse is updating it might be the reason it is slow. If you use a filter just for the search then why use a filter at all, a locate would be better? Another issue that comes up is the number of deleted records that may have to be skipped during the browse painting.
CDX TOO SLOW
Is this related to the incremental search question in another thread. If so the the problem is trying to use wildseek() in a filter. It does not allow any optimization against the indexes. When the browse does a go top and then tries to paint the rows it has to compare every record to match filter instead of using the indexes to solve filter logic.
CDX TOO SLOW
the problem I have seven Get control and I wish filter on these get on dbf and I not Know how make it
CDX TOO SLOW
did you try index on DESTATOF to "TEMP" FOR (DESTATOF = "ARRIVATA" .OR. DESTATOF = "IN LAVORAZIONE" ) MEMORY I had the same problem with xbrowse (30 pc in the network and for now 15000 records, use dbf and ntx) and it's  ok. In fact I can set up filters and indexes in a free way and prg responds quickly. Stefano
CDX Temporary
Buenos días, compañeros: Tengo el caso de un aplicativo DBF-CDX en RED LOCAL cuyo [b:34qkhp2u][color=#FF0000:34qkhp2u]"ARTI.DBF"[/color:34qkhp2u][/b:34qkhp2u] contiene más de 3000 referencias. Para agilizar la búsqueda por palabras de estas referencias sustituí el típico [b:34qkhp2u]dbsetfilter(&bfiltr,cfiltr)[/b:34qkhp2u] por indices CDX Temporary. Así: [code=fw:34qkhp2u]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #0000ff;">index</span> <span style="color: #0000ff;">on</span> descrip tag tempor <span style="color: #0000ff;">to</span> tempor temporary <span style="color: #00C800;">for</span> upper<span style="color: #000000;">&#40;</span>alltrim<span style="color: #000000;">&#40;</span>nomcl<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span> $ upper<span style="color: #000000;">&#40;</span>descrip<span style="color: #000000;">&#41;</span></div>[/code:34qkhp2u] De esta manera las búsquedas son INSTANTANEAS, pero aleatoriamente (NO SIEMPRE) genera un error del tipo [b:34qkhp2u]Error DBFCDX/1201 Workarea not indexed[/b:34qkhp2u] porque automáticamente "desparece" el resto de índices asociados a esta DBF. ¿Cómo es posible? ¿Habeis utilizado esta forma para búsquedas? ¿Como compatibilizar este índice temporal con el resto de índices? Mil gracias. Un saludo. LORENZO desde Cádiz, España.
CDX Temporary
Después de usar el indice TEMPORARY haga asi: SET INDEX TO SELECT SUDBF Salu2
CDX Temporary
Loren, Añade la cláusula ADDITIVE al índice para que se añada a los que ya tienes.
CDX Temporary
Gracias a ambos por contestar. LucasdeBeltran, añadí la clausula ADDITIVE y aparentemente funciona correcto, pero al salir del programa y volver a entrar me genera un error justo al abrrir las DBF, del tipo: [b:25njax6u]Unrecoverable error 9104: hb_cdxIndexFree: index file still locked.[/b:25njax6u] ARTI.DBF tiene asociado siempre los siguientes CDX: [color=#0000BF:25njax6u] 2: => ARTI RddName: DBFCDX ___________________________________________________ RecNo RecCount BOF EOF 1478 1477 .T. .T. Indices en Uso: TagName TRAN(CODIGOA,'######') CODARTI DESCRIP DESCRIP TRAN(FAMILIA,'########') CODFAMI TRAN(CBARRA_U,'##################')CODBARU TRAN(CBARRA_C,'##################')CODBARC[/color:25njax6u] .. y al hacer la búsqueda por descripción se hace así: [code=fw:25njax6u]<div class="fw" id="{CB}" style="font-family: monospace;">  <span style="color: #0000ff;">index</span> <span style="color: #0000ff;">on</span> descrip tag tempor <span style="color: #0000ff;">to</span> arti temporary ADDITIVE <span style="color: #00C800;">for</span> upper<span style="color: #000000;">&#40;</span>alltrim<span style="color: #000000;">&#40;</span>nomcl<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span> $ upper<span style="color: #000000;">&#40;</span>descrip<span style="color: #000000;">&#41;</span></div>[/code:25njax6u] He observado que cuando inicia el programa ARTI.DBF tiene asociado un índices más [color=#0000BF:25njax6u] 2: => ARTI RddName: DBFCDX ___________________________________________________ RecNo RecCount BOF EOF 1478 1477 .T. .T. Indices en Uso: TagName TRAN(CODIGOA,'######') CODARTI DESCRIP DESCRIP TRAN(FAMILIA,'########') CODFAMI TRAN(CBARRA_U,'##################')CODBARU TRAN(CBARRA_C,'##################')CODBARC [b:25njax6u]=> descrip TEMPOR[/b:25njax6u][/color:25njax6u] ¿Sabeis la solución al problema? Estoy dandole vuelta y haciendo pruebas pero no logro resolverlo. <!-- s:cry: --><img src="{SMILIES_PATH}/icon_cry.gif" alt=":cry:" title="Crying or Very sad" /><!-- s:cry: --> Mil gracias. Un saludo. LORENZO, desde Cádiz, España.
CDX Temporary
¿...?
CDX Temporary
Prueba con Set autopen off Y antes de quit, ¿pones dbcloseall()?.
CDX Temporary
Lucasdebeltran Funcionó con Set autopen off y poniendo antes del quit "dbcloseall()" Gracias. Un saludo. LOREN
CDX con indices temporales
Compañeros, buenas: Tengo una aplicación circulando en red local. Un EXE en cada terminal y todos acceden a una carpeta compartida donde se encuentran los DBF. Todo "ok", pero la empresa usuarias, tras una prueba de 1 mes, me reportan un informe donde me dicen que: - En las búsquedas por descripción parcial de artículos, cuando varios usuarios buscan simultáneamente, los resultados se mezclan. Es decir, un usuario busca por "agua" en el campo descripción de artículo y desde otro terminal, se busca "cola" y los resultados se mezclan en ambos equipos. En el código fuente evito hacer un dbsetfilter, porque son muy lentos, y hago un indice temporary, que son superrapidos, tal cual así: [code=fw:kx0qlcae]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #0000ff;">index</span> <span style="color: #0000ff;">on</span> descrip tag tempor <span style="color: #0000ff;">to</span> tempor additive <span style="color: #00C800;">for</span> upper<span style="color: #000000;">&#40;</span>alltrim<span style="color: #000000;">&#40;</span>ctextoTecleado<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span> $ upper<span style="color: #000000;">&#40;</span>descripcion<span style="color: #000000;">&#41;</span></div>[/code:kx0qlcae] Mi pregunta es: ¿Qué falla? ¿Hay que guardar el temporary en el terminal que solicita la busqueda y NO en la carpeta compartida donde se encuentran los DBF? Gracias. Un saludo. LORENZO. Desde Cádiz, España.
CDX con indices temporales
Compañeros, Para el que quiera seguir este hilo, la solución pasaba por crear el INDICE en cada equipo y no en la carpeta compartida, así NO se comparte el INDICE. Así: [code=fw:3l8oc6q9]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #0000ff;">index</span> <span style="color: #0000ff;">on</span> descrip tag &<span style="color: #000000;">&#40;</span>cRutaEqupo+tempor<span style="color: #000000;">&#41;</span> <span style="color: #0000ff;">to</span> &<span style="color: #000000;">&#40;</span>cRutaEqupo+tempor<span style="color: #000000;">&#41;</span> additive <span style="color: #00C800;">for</span> upper<span style="color: #000000;">&#40;</span>alltrim<span style="color: #000000;">&#40;</span>ctextoTecleado<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span> $ upper<span style="color: #000000;">&#40;</span>descripcion<span style="color: #000000;">&#41;</span></div>[/code:3l8oc6q9] Un saludo.
CDX con indices temporales
Loren, Te agregaría el siguiente comentario... No te olvides de borrar el índice una vez que termines de usarlo. Ya que dejarías archivos dando vueltas innecesariamente. Saludos,
CDX con indices temporales
Hola . En lo personal lo hago asi. index on descrip tag &(cRutaEqupo+tempor) to &(cRutaEqupo+tempor) for upper(alltrim(ctextoTecleado)) $ upper(descripcion) TEMPORARY
CDX con indices temporales
Revisa please <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=31054&p=179579&hilit=mem%3A#p179579">viewtopic.php?f=3&t=31054&p=179579&hilit=mem%3A#p179579</a><!-- l --> Ahí tienes ejemplos de como crear un indice en memoria. Saludos Cordiales
CDX ordKey question
I can’t find out the function which returns the value “how many ordkey’s” a cdx file has. Test.dbf index on field->datum tag u_datum index on dtos(field->datum)+str(field->renr) tag u_datrg index on dtos(field->datum) + Upper(field->artnum) tag u_datart The function should return for this example 3. Thanks in advance Otto
CDX ordKey question
Sir, <cAlias>->( OrdKeyCount() ) will do. Regards,
CDX ordKey question
Hello fraxzi, OrdKeyCount() I think gives back the items within an key. I need the number of key which are compound in on index file. For example: Test.dbf Test.cdx has following tags: tag u_datum tag u_datrg tag u_datart I would need as anwer 3 in this example. ordKeyCount() gives me back 2945, which are the records matching tag u_datum. As a workaround I do: for Itest := 1 to 20 if len(Alltrim(ordkey()))=0 msginfo(Itest) endif next Do you know if there exists a function for that. Thanks in advance Otto
CDX ordKey question
Otto, OrdKeyCount() returns the number of matching records in an order. In xharbour there is the function OrdCount(cBag) to get the no. of indexes in an order.
CDX ordKey question
Hello Stefan, Thank you. This function is what I was looking for. If I remember well you are a CAD expert. Some years ago I saw and tested an AUTOCAD clone written in FIVEWIN. Do you know if this program is still available? I would need a CAD program like “AutoCAD lite” for my personal use. Best regards, Otto
CDX ordKey question
Hello Otto, this AutoCAD clone had been written by Arturo Tamayo Daza, on his website [url:r1l31bgi]http&#58;//www&#46;quark-costos&#46;com/index&#46;php[/url:r1l31bgi] you can get more informations. For personal use there is open source project called CADEMIA, that offers a free CAD software. Look at [url:r1l31bgi]http&#58;//www&#46;cademia&#46;org[/url:r1l31bgi] If you need more informations about CAD please contact me directly: <!-- e --><a href="mailto:sthaupt@uni-kassel.de">sthaupt@uni-kassel.de</a><!-- e -->. I can give you some advices.
CDX ordKey question
Dear Otto, Try this : aindex:=getordnames() msginfo(len(aindex)) regards, Kok Joek Hoa
CDX y campo MEMO
Hola a todos, Tengo un archivo MIDB.DBF con un campo memo asociado. el caso es que al abrirlo me busca el correspondiente MIDB.FTP pero el que realmente existe es un MIDB.DBT . ¿Como puedo forzar a que abra con el segundo en vez de con el primero? Ya lo he intentado con USE midb NEW VIA "DBFNTX" pero no funciona... gracias anticipadas <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: -->
CDX y campo MEMO
[code=fw:177ts55r]<div class="fw" id="{CB}" style="font-family: monospace;"><br />ANNOUNCE RDDSYS<br /><br />REQUEST DBFCDX, DBFFPT<br /><br /><span style="color: #00C800;">FUNCTION</span> Main<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;RDDSETDEFAULT<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"DBFCDX"</span> <span style="color: #000000;">&#41;</span><br /><br />&nbsp; &nbsp;...<br /><br /><span style="color: #00C800;">RETURN</span> <span style="color: #00C800;">NIL</span><br />&nbsp;</div>[/code:177ts55r] Libs: \xHarbour\lib\dbfntx.lib \xHarbour\lib\dbfcdx.lib \xHarbour\lib\dbffpt.lib 
CDX y campo MEMO
José, antes de abrir la tabla seteale el RDD por default RDDSETDEFAULT("DBFNTX") DBUSEAREA( [<lAreaNueva>], , <cNombre>, , [<lCompartido>]) Te conviene meter esto dentro de una función y que el RDD sea otro parámetro más.
CDX y campo MEMO
Gracias a ambos por contestar, Ya habia probado casi todo lo que comentais, y al final lo he solucionado cambiando el primer bit de cabecera del DBF para obligarle a abrir un DBT en vez del FPT que el se empeña en abrir, funciona muy bien y asunto resuelto. gracias de nuevo <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: -->
CE 5 File Transfer
Hello, By any chance, does anyone have a working example of how to transfer files from a Win CE5 (MC3090) unit to URL using HTTP or FTP? I need to be able to store XML files on unit until a WiFi connection is available to transfer files. Thank you in advance for your assistance. Sincerely,
CELULARES CON WINDOWS
Amigos hay algunos celulares que vienen con windows, es posible ponerle un sistema con fivewin y mysql Saludos
CELULARES CON WINDOWS
Estimado He trabajado varias versiones de telefonos con windows 8 y 10 y no te tenido problemas de ningun tipo. SAludes.
CENTER do Dialog não considera SideBar do Windows Vista
Antonio, quando centralizo uma dialog com o codigo abaixo: [code:3gg6clzh] Activate Dialog oDlgOS CENTER[/code:3gg6clzh] O Dialog não centraliza corretamente quando o SideBar do windows vista está ativo!!
CENTERED dialogs
Consider this DEFINE WINDOW oWnd ... ACTIVATE WINDOW oWnd DEFINE DIALOG oDlg OF oWnd ... ACTIVATE DIALOG oDlg CENTERED DEFINE DIALOG oDlgA OF oDlg ... ACTIVATE DIALOG oDlgA CENTERED Should oDlg open centered on oWnd, and oDlgA open centered on oDlg ? If I open the window, then move it to the side of the display, when oDlg is opened, it is centered on the main display. If I move it over to center it on oWnd, then open oDlgA, it is centered on the screen. Since OF makes each a subscreen of the previous dialog, I would think CENTERED would make it relative to the previous screen, but it doesn't work that way. What do you think ?
CENTERED dialogs
Try ACTIVATE DIALOG .... CENTERED IN PARENT
CENTERED dialogs
Thanks ... that works. It's just not in the documentation, even online.
CENTERED dialogs
Tim, You are right, my apologies. Anyhow it is inside dialog.ch: [code=fw:20uroolu]<div class="fw" id="{CB}" style="font-family: monospace;">#xcommand <span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">DIALOG</span> <oDlg> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;">&#91;</span> <center: <span style="color: #0000ff;">CENTER</span>, CENTERED> <span style="color: #000000;">&#91;</span> <inwnd: <span style="color: #000000;">IN</span> PARENT> <span style="color: #000000;">&#93;</span> <span style="color: #000000;">&#93;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;">&#91;</span> <NonModal: <span style="color: #0000ff;">NOWAIT</span>, NOMODAL> <span style="color: #000000;">&#93;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;">&#91;</span> <span style="color: #0000ff;">WHEN</span> <uWhen> <span style="color: #000000;">&#93;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;">&#91;</span> <span style="color: #0000ff;">VALID</span> <uValid> <span style="color: #000000;">&#93;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;">&#91;</span> <span style="color: #0000ff;">ON</span> <span style="color: #000000;">&#91;</span> <span style="color: #0000ff;">LEFT</span> <span style="color: #000000;">&#93;</span> <span style="color: #0000ff;">CLICK</span> <uClick> <span style="color: #000000;">&#93;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;">&#91;</span> <span style="color: #0000ff;">ON</span> <span style="color: #0000ff;">INIT</span> <uInit> <span style="color: #000000;">&#93;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;">&#91;</span> <span style="color: #0000ff;">ON</span> <span style="color: #0000ff;">MOVE</span> <uMoved> <span style="color: #000000;">&#93;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;">&#91;</span> <span style="color: #0000ff;">ON</span> <span style="color: #0000ff;">PAINT</span> <uPaint> <span style="color: #000000;">&#93;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;">&#91;</span> <span style="color: #0000ff;">ON</span> <span style="color: #0000ff;">RIGHT</span> <span style="color: #0000ff;">CLICK</span> <uRClicked> <span style="color: #000000;">&#93;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;">&#91;</span> <Resize16: <span style="color: #000000;">RESIZE16</span>> <span style="color: #000000;">&#93;</span> ;</div>[/code:20uroolu]
CENTERED dialogs
I know people don't like to write documentation if they are programmers. I hear that no one reads them, etc. I started a manual 33 years ago when I started creating a major application, and for the past few weeks I've once again been updating it to make it solid for my clients. It is a lot of work, and yet, for those of us who are happy to research answers rather than always asking questions, it is very helpful. The online manual is pretty good, so it would be nice if the major changes in FWH could be added to that documentation.
CENTERED dialogs
Tim, It seems as it was already documented: [url:1nlzsrz3]http&#58;//wiki&#46;fivetechsoft&#46;com/doku&#46;php?id=fivewin_commands_dialogs[/url:1nlzsrz3]
CENTERED dialogs
And that is exactly where I looked before asking the question. I think I need a glass of wine and an easy chair. Of course I would have to remember just where they are before I could use them .... getting too old !
CENTERED dialogs
Tim, I also forgot that it was updated <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> Time runs for all of us <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
CENTERED dialogs
Neither of you guys missed anything. I updated the wiki after I read this thread yesterday <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
CENTERED dialogs
Hua, Many thanks! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
CENTERED dialogs
Thanks for explaining. As the years go by, it gets harder to be on top of everything, but I do try.
CENTRADO DE CABECERAS EN TREPORT
Hola amigos. Alguien sabe como hacer para alinear las cabeceras y los totales de las columnas de un treport ? Las cabeceras las alinea siempre segun el alineamiento de la columna correspondiente, como hago para cambiarlo y ponerlas todas centradas por ejemplo? He probado con oHeader (ej:oRpt:oHeader:aPad[1] := RPT_CENTER etc,etc y nada funciona Los totales de las columnas numericas salen centrados y quisiera alinearlos a la derecha ! Saludos a todos
CENTRADO DE CABECERAS EN TREPORT
Rterraz: A ver si esto es lo que buscas: En encabezados del reporte hay dos grupos, HEADER propiamente y TITLE, en cada uno puede haber uno o mas renglones contenidos en arrays, entonces: [code=fw:1ccpjcaa]<div class="fw" id="{CB}" style="font-family: monospace;"><br />&nbsp; &nbsp; &nbsp; &nbsp; oReporte:<span style="color: #000000;">oHeader</span>:<span style="color: #000000;">aPad</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span> := RPT_LEFT <span style="color: #B900B9;">// aPad[1] se refiere al primer renglón de encabezados</span><br />&nbsp; &nbsp; &nbsp; &nbsp; oReporte:<span style="color: #000000;">oTitle</span>:<span style="color: #000000;">aPad</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">2</span><span style="color: #000000;">&#93;</span> := RPT_RIGHT &nbsp;<span style="color: #B900B9;">// aPad[2] se refiere al segundo renglón de títulos</span><br />&nbsp;</div>[/code:1ccpjcaa] Ahora para alinear los renglones de detalle: [code=fw:1ccpjcaa]<div class="fw" id="{CB}" style="font-family: monospace;"><br />&nbsp; &nbsp; &nbsp; &nbsp; COLUMN <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"Nombre"</span> &nbsp; <span style="color: #00C800;">DATA</span> ALLTRIM<span style="color: #000000;">&#40;</span>oRsCli:<span style="color: #000000;">Fields</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"CLI_NOM"</span><span style="color: #000000;">&#41;</span>:<span style="color: #000000;">Value</span><span style="color: #000000;">&#41;</span> &nbsp; &nbsp;<span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">55</span> <span style="color: #0000ff;">LEFT</span> &nbsp; <span style="color: #B900B9;">// Observa la clausula de alineación</span><br />&nbsp; &nbsp; &nbsp; &nbsp; COLUMN <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"RFC"</span> &nbsp; &nbsp; &nbsp;<span style="color: #00C800;">DATA</span> ALLTRIM<span style="color: #000000;">&#40;</span>oRsCli:<span style="color: #000000;">Fields</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"CLI_RFC"</span><span style="color: #000000;">&#41;</span>:<span style="color: #000000;">Value</span><span style="color: #000000;">&#41;</span> &nbsp; &nbsp;<span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">14</span> <span style="color: #0000ff;">LEFT</span><br />&nbsp; &nbsp; &nbsp; &nbsp; COLUMN <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"Número"</span> &nbsp; <span style="color: #00C800;">DATA</span> oRsCli:<span style="color: #000000;">Fields</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"CLI_CLI"</span><span style="color: #000000;">&#41;</span>:<span style="color: #000000;">Value</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">SIZE</span> &nbsp;<span style="color: #000000;">6</span> <span style="color: #0000ff;">RIGHT</span> <span style="color: #0000ff;">PICTURE</span> <span style="color: #ff0000;">"@Z 99999"</span><br />&nbsp;</div>[/code:1ccpjcaa] Finalmente para alinear los renglones de totales [code=fw:1ccpjcaa]<div class="fw" id="{CB}" style="font-family: monospace;"><br />oReporte:<span style="color: #0000ff;">SAY</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">2</span>,TRANSFORM<span style="color: #000000;">&#40;</span>nTotGui,<span style="color: #ff0000;">"99,999"</span><span style="color: #000000;">&#41;</span>,,RPT_RIGHT<span style="color: #000000;">&#41;</span> &nbsp;<span style="color: #B900B9;">// Observa las contantes con nombre RPT_RIGHT</span><br />oReporte:<span style="color: #0000ff;">SAY</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">3</span>,<span style="color: #ff0000;">"Guías"</span>,,RPT_LEFT<span style="color: #000000;">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #B900B9;">// RPT_LEFT y también existe RPT_CENTER</span><br />&nbsp;</div>[/code:1ccpjcaa] Saludos
CENTRADO DE CABECERAS EN TREPORT
hola Armando, te agradezco tu respuesta la linea de totales funciona perfecto los header me ignoran, lo justifica siempre como justifica la data de la columna, sera porque tengo 2 lineas en cada header ?
CENTRADO DE CABECERAS EN TREPORT
RTerraz: Va un ejemplo más completo [code=fw:3gjra1z9]<div class="fw" id="{CB}" style="font-family: monospace;"><br />REPORT oReporte CAPTION <span style="color: #ff0000;">"Ventas del mes por cliente"</span> PREVIEW;<br />&nbsp; &nbsp; HEADER ALLTRIM<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#40;</span>cEmpresa<span style="color: #000000;">&#41;</span>->EMP_RAZ<span style="color: #000000;">&#41;</span>,;<br />&nbsp; &nbsp; aMes<span style="color: #000000;">&#91;</span>nMes<span style="color: #000000;">&#93;</span>+<span style="color: #ff0000;">"/"</span>+STR<span style="color: #000000;">&#40;</span>nAmo,<span style="color: #000000;">4</span>,<span style="color: #000000;">0</span><span style="color: #000000;">&#41;</span>,;<br />&nbsp; &nbsp; <span style="color: #ff0000;">"Ventas del mes por cliente"</span>,;<br />&nbsp; &nbsp; <span style="color: #ff0000;">""</span> <span style="color: #0000ff;">CENTER</span>;<br />&nbsp; &nbsp; <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"Fecha: "</span>+Date2Txt<span style="color: #000000;">&#40;</span>DATE<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>,,,,,,<span style="color: #000000;">&#41;</span>,;<br />&nbsp; &nbsp; <span style="color: #ff0000;">"Hoja No:"</span>+STR<span style="color: #000000;">&#40;</span>oReporte:<span style="color: #000000;">nPage</span>,<span style="color: #000000;">3</span><span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; <span style="color: #0000ff;">FONT</span> aFnt<span style="color: #000000;">&#91;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span>,aFnt<span style="color: #000000;">&#91;</span><span style="color: #000000;">2</span><span style="color: #000000;">&#93;</span>,aFnt<span style="color: #000000;">&#91;</span><span style="color: #000000;">3</span><span style="color: #000000;">&#93;</span>;<br />&nbsp; &nbsp; PEN aPen<span style="color: #000000;">&#91;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span>,aPen<span style="color: #000000;">&#91;</span><span style="color: #000000;">2</span><span style="color: #000000;">&#93;</span><br /><br />&nbsp; &nbsp; COLUMN <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"Guia"</span>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">DATA</span> <span style="color: #000000;">&#40;</span>cDetHDev<span style="color: #000000;">&#41;</span>->DET_NDG <span style="color: #0000ff;">SIZE</span> &nbsp; <span style="color: #000000;">6</span> <span style="color: #0000ff;">RIGHT</span><br />&nbsp; &nbsp; COLUMN <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"Destino"</span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">DATA</span> <span style="color: #000000;">&#40;</span>cCiudades<span style="color: #000000;">&#41;</span>->CIU_NOM <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">35</span> <span style="color: #0000ff;">LEFT</span><br />&nbsp; &nbsp; COLUMN <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"Undd"</span>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">DATA</span> <span style="color: #000000;">&#40;</span>cFacturas<span style="color: #000000;">&#41;</span>->FAC_CAM <span style="color: #0000ff;">SIZE</span> &nbsp;<span style="color: #000000;">5</span> <span style="color: #0000ff;">RIGHT</span><br />&nbsp; &nbsp; COLUMN <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"Operador"</span>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">DATA</span> <span style="color: #000000;">&#40;</span>cFacturas<span style="color: #000000;">&#41;</span>->FAC_CVE <span style="color: #0000ff;">SIZE</span> &nbsp;<span style="color: #000000;">5</span> <span style="color: #0000ff;">LEFT</span><br />&nbsp; &nbsp; COLUMN <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"Importe"</span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">DATA</span> <span style="color: #000000;">&#40;</span>cDetHDev<span style="color: #000000;">&#41;</span>->DET_IDG <span style="color: #0000ff;">SIZE</span> &nbsp; <span style="color: #000000;">9</span> <span style="color: #0000ff;">RIGHT</span> TOTAL <span style="color: #0000ff;">PICTURE</span> <span style="color: #ff0000;">"99,999,999.99"</span><br />&nbsp; &nbsp; COLUMN <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"Seguro"</span>&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">DATA</span> <span style="color: #000000;">&#40;</span>cFacturas<span style="color: #000000;">&#41;</span>->FAC_SEG <span style="color: #0000ff;">SIZE</span> &nbsp;<span style="color: #000000;">9</span> <span style="color: #0000ff;">RIGHT</span> TOTAL <span style="color: #0000ff;">PICTURE</span> <span style="color: #ff0000;">"99,999,999.99"</span><br /><br />&nbsp; &nbsp; GROUP gCliente <span style="color: #0000ff;">ON</span> <span style="color: #000000;">&#40;</span>cDetHDev<span style="color: #000000;">&#41;</span>->DET_CLI;<br />&nbsp; &nbsp; &nbsp; &nbsp; FOOTER <span style="color: #ff0000;">"Totales: "</span> + cDetCli + SPACE<span style="color: #000000;">&#40;</span><span style="color: #000000;">5</span><span style="color: #000000;">&#41;</span> + ALLTRIM<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#40;</span>cClientes<span style="color: #000000;">&#41;</span>->CLI_NOM<span style="color: #000000;">&#41;</span> &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; + SPACE<span style="color: #000000;">&#40;</span><span style="color: #000000;">5</span><span style="color: #000000;">&#41;</span> + STR<span style="color: #000000;">&#40;</span>oReporte:<span style="color: #000000;">aGroups</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">nCounter</span><span style="color: #000000;">&#41;</span> + <span style="color: #ff0000;">" Guias"</span> <span style="color: #0000ff;">FONT</span> <span style="color: #000000;">2</span><br /><br />&nbsp; &nbsp; gCliente:<span style="color: #000000;">bHeader</span> := <span style="color: #000000;">&#123;</span>|| <span style="color: #ff0000;">"** "</span>+<span style="color: #000000;">&#40;</span>cDetHDev<span style="color: #000000;">&#41;</span>->DET_CLI<span style="color: #000000;">&#125;</span><br /><br />&nbsp; &nbsp; END REPORT<br /><br />&nbsp; &nbsp; <span style="color: #00C800;">IF</span> oReporte:<span style="color: #000000;">lCreated</span><br />&nbsp; &nbsp; &nbsp; &nbsp; oReporte:<span style="color: #000000;">cGrandTotal</span>&nbsp; &nbsp; := <span style="color: #ff0000;">"GRAN TOTAL"</span><br />&nbsp; &nbsp; &nbsp; &nbsp; oReporte:<span style="color: #000000;">oHeader</span>:<span style="color: #000000;">aFont</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span> := <span style="color: #000000;">&#123;</span>||<span style="color: #000000;">3</span><span style="color: #000000;">&#125;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; oReporte:<span style="color: #000000;">oHeader</span>:<span style="color: #000000;">aFont</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">2</span><span style="color: #000000;">&#93;</span> := <span style="color: #000000;">&#123;</span>||<span style="color: #000000;">3</span><span style="color: #000000;">&#125;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; oReporte:<span style="color: #000000;">SetTxtColor</span><span style="color: #000000;">&#40;</span>CLR_BLACK,<span style="color: #000000;">1</span><span style="color: #000000;">&#41;</span>&nbsp; &nbsp;<span style="color: #B900B9;">// Color del texto de la hoja default NEGRO</span><br />&nbsp; &nbsp; &nbsp; &nbsp; oReporte:<span style="color: #000000;">SetTxtColor</span><span style="color: #000000;">&#40;</span>CLR_HRED,<span style="color: #000000;">2</span><span style="color: #000000;">&#41;</span>&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #B900B9;">// Color de encabezado y totales del grupo</span><br />&nbsp; &nbsp; &nbsp; &nbsp; oReporte:<span style="color: #000000;">SetTxtColor</span><span style="color: #000000;">&#40;</span>CLR_HRED,<span style="color: #000000;">3</span><span style="color: #000000;">&#41;</span>&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #B900B9;">// Color para el primer titulo del encabezado</span><br />&nbsp; &nbsp; &nbsp; &nbsp; oReporte:<span style="color: #000000;">SetPenColor</span><span style="color: #000000;">&#40;</span>CLR_HBLUE<span style="color: #000000;">&#41;</span>&nbsp;&nbsp; &nbsp; <span style="color: #B900B9;">// Color para las líneas</span><br />&nbsp; &nbsp; &nbsp; &nbsp; oReporte:<span style="color: #000000;">SetShdColor</span><span style="color: #000000;">&#40;</span>CLR_YELLOW<span style="color: #000000;">&#41;</span>&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #B900B9;">// Color para el sombreado</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; oReporte:<span style="color: #000000;">oHeader</span>:<span style="color: #000000;">aPad</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">2</span><span style="color: #000000;">&#93;</span> := RPT_RIGHT<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; oReporte:<span style="color: #000000;">oTitle</span>:<span style="color: #000000;">aPad</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span> := RPT_LEFT<br />&nbsp; &nbsp; &nbsp; &nbsp; oReporte:<span style="color: #000000;">oTitle</span>:<span style="color: #000000;">aPad</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">2</span><span style="color: #000000;">&#93;</span> := RPT_RIGHT<br />&nbsp; &nbsp; &nbsp; &nbsp; oReporte:<span style="color: #000000;">nDnMargin</span> := <span style="color: #000000;">300</span><br />&nbsp; &nbsp; &nbsp; &nbsp; oReporte:<span style="color: #000000;">lPageTotal</span>&nbsp;:= <span style="color: #000000;">&#40;</span>.F.<span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; oReporte:<span style="color: #000000;">bPostEnd</span>&nbsp; &nbsp;&nbsp; &nbsp; := <span style="color: #000000;">&#123;</span> || Totales<span style="color: #000000;">&#40;</span>oReporte,nTotGui<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#125;</span><br />&nbsp; &nbsp; <span style="color: #00C800;">ENDIF</span><br /><br />&nbsp; &nbsp; <span style="color: #0000ff;">ACTIVATE</span> REPORT oReporte <span style="color: #00C800;">FOR</span> <span style="color: #000000;">&#40;</span>cCartera<span style="color: #000000;">&#41;</span>-><span style="color: #000000;">&#40;</span>DBSEEK<span style="color: #000000;">&#40;</span>STR<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#40;</span>cDetHDev<span style="color: #000000;">&#41;</span>->DET_NDG,<span style="color: #000000;">6</span>,<span style="color: #000000;">0</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00C800;">WHILE</span> ! <span style="color: #000000;">&#40;</span>cDetHDev<span style="color: #000000;">&#41;</span>-><span style="color: #000000;">&#40;</span>EOF<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">ON</span> STARTPAGE <span style="color: #000000;">&#40;</span>Alinea<span style="color: #000000;">&#40;</span>oReporte,<span style="color: #000000;">1</span>,<span style="color: #000000;">2</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">ON</span> STARTGROUP <span style="color: #000000;">&#40;</span>cDetCli := <span style="color: #000000;">&#40;</span>cDetHDev<span style="color: #000000;">&#41;</span>->DET_CLI,oReporte:<span style="color: #000000;">EndLine</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#40;</span>cClientes<span style="color: #000000;">&#41;</span>-><span style="color: #000000;">&#40;</span>DBSEEK<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#40;</span>cFacturas<span style="color: #000000;">&#41;</span>->FAC_CLI<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">ON</span> ENDGROUP nTotGui += oReporte:<span style="color: #000000;">aGroups</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">1</span><span style="color: #000000;">&#93;</span>:<span style="color: #000000;">nCounter</span><br />&nbsp; &nbsp; &nbsp; &nbsp; Cierra<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp;</div>[/code:3gjra1z9] Saludos