My client recently purchased a Canon LASER SHOT LBP-2410 Laser Printer. The problem is, the printer will print the same page multiple times and this has not happened in other dot matrix and bubble jet printers. Furthermore, before printing starts, there is no messagebox saying "printing...
wgcs,
many thanks for the reply. My mistake of not checking variable references properly. Now it works perfectly. Doing further testing before posting the revised version. With full credit to you, probably we could make this an "open source" project for the foxpro community. Anybody...
wgcs,
relooked at the code and found out that the boundary was not the same. It seems that there are two types of boundaries being declared. Rectified the error and the attachment went through. However, the "message body" will not be shown if there is any attachment sent. No problem...
I modified the sendmail program with the following code to incorporate the MimeEncode function:
lcBoundary = SYS(2015)+sys(2015)
* 01234567890123 (Preceeded by Chr(13))
* Load Attachments
If TYPE('lcAttachments')='C' AND NOT EMPTY(lcAttachments)
lnAtchCnt = ALINES( laAtch...
dear wgcs,
in the first line of code:
PROCEDURE SendMailItem( strFrom, strTo, strSubject, strMsg, strBoundary, strAttach )
what is the parameter "strboundary" is refering to?
what I want to do is to maintain the structure of the original sendmail program where in your new procedure...
I too faced the same problem with a clients' pc until i found this site:
http://www.piclist.com/techref/os/win/instMSwinsock.htm
download the file http://www.sxlist.com/images/mswinsock.zip which has an instruction on how to use the batch file to copy the ocx and register it in the registry...
wgcs,
sorry for the late response.been away for a while. Thanks for the code. I will have a go at it. Credit should always be given to the code originator because as programmers, only we understand the hardship of achieving a working code.
I have used wgcs' Sendmail program using mswinsck.ocx as per the faq given in the faq section. However, when an attachment is sent and opened in Netscape 6, the file is still encoded and of course, unreadable. When opened in Opera, the file can be opened but with a message "an error was...
I have a grid with command buttons to enable users to insert a note in a memo field corresponding to the selected record in the grid. If the note is not empty, another command button will appear with an image to indicate there is a note attached to the record. I managed to accomplish this. I...
Hi Rick,
I am using the "free" version of Kodak Image Control. I read somewhere that Windows XP can "use" the previous "free" version even though it is no longer installed. With regards to Windows Script 5.6, any idea it doesn't work on user system even though it...
I develop in VFP6 with Windows 2000 SP3. I used wscript especially for the purpose of calling external programs like PKZip. While waiting for PKZIP to finish, I added a form class to display an avi file using the Microsoft Animation Control 6.0 (SP4). It works fine with my pc but when used with...
wgcs,
I reproduced the response I get when using the other pc (Windows XP Pro):
c:>telnet smtp.time.net.my 25
220 toman.time.net.my ESMTP
helo
250 toman.time.net.my
ehlo
250-toman.time.net.my
250-PIPELINING
250-8BITMINE
250 SIZE 30000000
HELP
214 qmail home page...
using the telnet method, my mail server responded for a brief second then display a message "connection lost". However, using another pc (XP), I could connect to the server. I am using Win2000. What could be the problem?
wgcs,
I tried the first option using the SMTPAUTH program and setting the smtp server as '127.0.0.1' in the sendmail command 'lRes=SendMail( '127.0.0.1'...'. No connection could be established.
I tried your second suggestion but using another ISP's server (which I do not subscribe to) and...
After a few failed attempts, I finally got it to work and I thought I should share what I have accomplished. It may not be the best way to do it but as long as it works with no apparent performance overload, I think it should be of no consequence.
1) create a public variable named...
thanks chris for the explanation. The issue of converting to pdf and the resulting file size is hereby resolved. Maybe I did not make my explanation of the resize requirement quite clearly. I have created a form that will extract files based on their datetime properties and the latest update...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.