HI, Jimoo
About your FAQ #184-2749 - How to create office header file
After copy and paste your code to my VFP 6.0 and run,
it fails at line # 123:
oTLB_INFO = CREATEOBJECT([tli.typelibinfo])
saying that : Cannot find the class TLI.TYPELIBINFO
Can you give me any idea?
Norman
Mike,
I am using VFP6.0 sp5 but cannot run your program.
Program stop on the line:
oTLB_INFO = CREATEOBJECT([tli.typelibinfo])
Am I miss something, it seems VFP6 don't
know the object "tli.typelibinfo"
Norman
Dear Vic,
I have not try the situation before.
However, RS232 is a serial interface.
I guess the printer connected to PABX is a serial printer.
So, try connect RS232 to your PC's com1 port.
Of course you must sort out the "DB25/DB9, male/female" problem by using suitable converter...
=prtinfo(5) return the factor by which printed output is scaled.
If the scale is changed, the output will be scaled.
Am I right? If yes, we can dig into this flag to find more.
Norman
rene316,
Assume field name is [name]
The fixed string is at the right , let it be [fs]
name="John Smith - Registered Voter"
fs="- Registered Voter"
replace name with stuff(name,rat(fs,name),len(fs),"")
Now, name will be "John Smith"
Norman
Hi, German12
I got another idea for you. It works without using ALines.
Each character of the orginal memo is examined before writing to a new memo. Of course, more memory is required.
CRLF=chr(13)+chr(10)
MyMemo = "you are a"+CRLF+CRLF+CRLF
+"good guy."+CRLF+CRLF+CRLF...
How about return a false value in the valid event to prevent user leaving the textbox.
Note that return a true value will let the focus go to next control.
Dear German12,
Both ramani and jimstarr 's idea are great.
You are using the right approach in counting number of fields of myTable. Here, I expand the idea in further.
Hope that it can help.
use myTable
n=fcount() && no. of fields in myTable
for i=1 to n
select myTable...
Are you using VFP 6.0? Which service pack do you using?
Probably it does not support long file name.
Try to using [c:\Prog~1] instead of [c:\Program files]
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.