Thanks, James. I've gotten to almost the same place as you now. I've added the previewer to a container class that I use for reports and it works really well. I did subclass the xfrxlib so I could tweak a few things like the list of available export formats. If I come up with a solution for setting the file name, I'll share it here.
-- rk -----Original Message----- From: profoxtech-boun...@leafe.com [mailto:profoxtech-boun...@leafe.com] On Behalf Of James E Harvey Sent: Friday, September 16, 2011 9:27 AM To: profoxt...@leafe.com Subject: RE: XFRX support XFRX support resolution. Martin got back to me on my two issues. 1. I added the icon bitmaps into my project rebuilt the exe and now the icons appear as expected. 2. Currently there is no way to substitute a randomly generated filename for the output when a user chooses to export the report, or to have a different default folder other than the working folder. He said he would take a look to see how that could be accomplished. Thanks again for all your help and suggestions. Here is the code I use to take advantage of the XFRX report previewer. Local loSession, lnRetval, lcPageCaption mreport = "hsrpissue" toViewer = Createobject("frmMPPreviewer") loSession=Evaluate([xfrx("XFRX#LISTENER")]) lnRetval = loSession.SetParams(,,,,,,"XFF") If lnRetval = 0 Report Form &mreport Object loSession Endif toViewer.iTool = 2 toViewer.showstatus = .T. Local loXFFDocument loXFFDocument = loSession.oxfdocument toViewer.previewXFF(loXFFDocument, lcPageCaption) If toViewer.Visible = .F. toViewer.Show(1) ENDIF James E Harvey Corresponding Officer/M.I.S. Hanover Shoe Farms, Inc. www.hanoverpa.com office: 717-637-8931 cell: 717-887-2565 fax: 717-637-6766 -----Original Message----- From: profox-boun...@leafe.com [mailto:profox-boun...@leafe.com] On Behalf Of Richard Kaye Sent: Wednesday, September 14, 2011 12:09 PM To: profox@leafe.com Subject: RE: XFRX support Hi James, I'll toss out one more thing based on my running the demo form supplied by Eqeus. In that demo form, there's a container object called xfCont that has a property called defaultoutputfilename that is used to populate the report options object (opt.cOutputFIle). If you have the source, you could add your own method for populating that defaultoutputfilename property, recompile and get what you need. Unfortunately, I did not purchase the source code so I can only offer this general advice. FWIW I've forwarded your concerns about XFRX support to Martin. As mentioned earlier, my experience has been that he's been generally responsive to support emails. -- rk -----Original Message----- From: profoxtech-boun...@leafe.com [mailto:profoxtech-boun...@leafe.com] On Behalf Of James E Harvey Sent: Wednesday, September 14, 2011 9:40 AM To: profoxt...@leafe.com Subject: RE: XFRX support Yes, I did purchase the source code. I've come to the conclusion that my skillsets are not up to the level of what is required to make this product work the way I'd like it to. Also, the lack of response from XFRX has turned me off this product for now. I do appreciate your help, but I'm going to have to move on to other projects. James E Harvey Corresponding Officer/M.I.S. Hanover Shoe Farms, Inc. www.hanoverpa.com office: 717-637-8931 cell: 717-887-2565 fax: 717-637-6766 -----Original Message----- From: profox-boun...@leafe.com [mailto:profox-boun...@leafe.com] On Behalf Of Richard Kaye Sent: Wednesday, September 14, 2011 9:22 AM To: profox@leafe.com Subject: RE: XFRX support Are you using the Export Options form object that's included? Again, I don't use the Export Options dialog but I have the help file to be very useful and there are a lot of good examples in there. I built my own wrapper around the XFRX object pretty much based on working through the help file. Did you purchase the source code with your license? -- rk -----Original Message----- From: profoxtech-boun...@leafe.com [mailto:profoxtech-boun...@leafe.com] On Behalf Of James E Harvey Sent: Wednesday, September 14, 2011 8:46 AM To: profoxt...@leafe.com Subject: RE: XFRX support The setparams doesn't seem to connect to the Export Options dialog that the user can use to export the report to different files types. Quite frankly I'm a bit disappointed in the apparent lack of response to my request for help from Eqeus. James E Harvey Corresponding Officer/M.I.S. Hanover Shoe Farms, Inc. www.hanoverpa.com office: 717-637-8931 cell: 717-887-2565 fax: 717-637-6766 -----Original Message----- From: profox-boun...@leafe.com [mailto:profox-boun...@leafe.com] On Behalf Of Richard Kaye Sent: Tuesday, September 13, 2011 11:16 AM To: profox@leafe.com Subject: RE: XFRX support I might be able to help with the first question. The first parameter of the XRFX object SetParams method is the name of the output file: Local m.lcFilename AS Character m.lcFolder=[C:\My special folder] m.lcFilename=ADDBS(m.lcFolder)+SYS(2015)+[.xff] lnRetval = loSession.SetParams(m.lcFilename,,,,,,"XFF") I haven't gotten around to using the XFRX previewer but have you included the bitmaps for the preview toolbar in your EXE? -- rk -----Original Message----- From: profoxtech-boun...@leafe.com [mailto:profoxtech-boun...@leafe.com] On Behalf Of James E Harvey Sent: Tuesday, September 13, 2011 10:51 AM To: profoxt...@leafe.com Subject: RE: XFRX support I have two issues now. First. I'd like to edit the properties of the Export method which is called when the user clicks the export button on the XFRX previewer. The default file name is output.xps, and the default location is the path the application is in. I'd like to use sys(2015) to create a random file name with the xps extension (or whatever extension the user chooses to export to) and change the path to a folder created to hold these files other than the working folder. <snip> [excessive quoting removed by server] _______________________________________________ Post Messages to: ProFox@leafe.com 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/DF1EEF11E586A64FB54A97F22A8BD04419F2CA500D@ACKBWDDQH1.artfact.local ** 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.