Hi
Are you meaning to email a text file or for what purpose..
If it is email.. then follow the link...
How can I send an Email using OUTLOOK from VFP?
faq184-766
If it com port.. follow thread..
thread184-65425
Hope this helps ramani :-9
(Subramanian.G)
FoxAcc
ramani_g@yahoo.com
LET KNOW IF THIS HELPED. ENOUGH EXPERTS ARE HERE TO HELP YOU OUT! BEST OF LUCK
The output is going to a com port printer. We found out the NT drivers for it don't work but by sending the file to the port rather than the drive we can get around the problem
You would need to use the MSComm32 control. To add the control to your form, do the following:
1. Select Options from the Tools menu.
2. Select the Controls tab.
3. Make sure ActiveX controls is selected.
4. Find "Microsoft Communication Control" and check the box.
5. Click "Ok" or "Set as Default" (your choice).
Open the form you wish to put the control on and make sure the Form Controls toolbar is visible. Click the button with the books on it and select "ActiveX Controls". Click the button that looks like a telephone, and add it to your form.
Set your properties on the control to your needs. The "Settings" property contains your bitrate, parity, data bits, and stop bits as a string. Set the "PortOpen" property to .T. to enable communications, then put what you want to send into the "Output" property.
You can always press F1 on the control to bring up the MSComm32 help file.
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.