Stephen, That's what I am a little confused about. Yes I want to pass an image bac i.e I want to put an Image on the report and make the source something like "=getQR(<parameters>)" where getQR is a method in my ActiveX but for the life of me I can't find out exactly WHAT to send back from the ActiveX... I've tried strings & streamed data but neither of them work.
I guess a goof old forage into the VFP API is called for but I find the documentation sketchy to say the least Thanks anyway, Dave -----Original Message----- From: ProFox [mailto:[email protected]] On Behalf Of Stephen Russell Sent: 20 November 2012 14:21 To: ProFox Email List Subject: Re: QR Codes in VFP On Tue, Nov 20, 2012 at 3:57 AM, Dave Crozier <[email protected]> wrote: > Gary, > It isn't the QR codes that I have a problem with, I've sorted out all > the coding for that myself in C# so I can create, read and print them > no problem. I just want to be able to: > > 1. Pass the finished QR code (image) back to VFP from the ActiveX/DLL > so I can use it in reports as per standard VFP image control. i.e what > do I pass back? Memory Stream, blob string etc etc... I don't know. > > 2. Pass a document to my "ActiveX/DLL" and pass back the QR Code > content as a string. I can already do this if I just pass in the > location of the QR Code image to my ActiveX as I have worked out how > to expose properties and methods to VFP from it. I guess I could > convert the image to a string > FiletoStr() and pass that in for this purpose unless anyone else has > any better ideas. > > Dave > ------------------- Can you make an image file to pass back? Not user that VFP can make one itself so that raw data is not acceptable. If you make the image can VFP catch a stream? -- Stephen Russell Sr. Analyst Ring Container Technology Oakland TN 901.246-0159 cell --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html --- [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.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.

