Hi ProFox group members,
I am sure some of you might have come across Creating OLE Object error. Here
is my problem. Can you please help me?
I have a system that allows linking bmp files to the data files. It works
with Foxprow on a system with Windows 98. The same code doesn't work with
Windows XP. Can you pls advice me?
Thanks,
Rao Gorantla
Canada
====================
1. I have a table (MEMBMPS) with the following structure
MEMBERNO Nmeric 6
PHOTOGRAPH General 10
SIGNATURE General 10
2. I am adding pictures for PHOTOGRAPH and SIGNATURE for 3 or more
records. The code is
Do While MASTER.MEMBERNO <= m.to
· Create filenames
fns = Alltrim(m.source)+"\"+AllTrim(Str(MASTER.MEMBERNO))+"S"+".BMP"
fnp = Alltrim(m.source)+"\"+AllTrim(Str(MASTER.MEMBERNO))+"P"+".BMP"
· Tried with and without classes
Append General PHOTOGRAPH From (fnp)
*CLASS pbrush
* CLASS PAINT.PICTURE
· Tried with and without classes
Append General SIGNATURE From (fns)
*CLASS pbrush
* CLASS PAINT.PICTURE
Select MASTER
Skip In MASTER
Enddo
3. It replaces the PHTOGRAPH, gives error on the second Append
statement as
Error Creating OLE Object at statement:
Append General SIGNATURE From (fns)
4. I selected Ignore, then the error comes for the next member at the
same statement
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.