Thread View: borland.public.vdbase.thirdpartytools
6 messages
6 total messages
Started by Harry Vermillion
Tue, 17 Nov 1998 00:00
CHARTFX
Author: Harry Vermillion
Date: Tue, 17 Nov 1998 00:00
Date: Tue, 17 Nov 1998 00:00
18 lines
1110 bytes
1110 bytes
I'm using CHARTFX 3.0 for charting and the screen displays in the forms are great, but in trying to print using Vic McClung's printer class, no graphics apear in the printout. even a straight WINAPI call (rectangle(p.hDC, 0,0,1000,1000)) won't do anything. Anybody got any insight to his at all? -- Harry E. Vermillion Scientific Programmer/Analyst II Colorado Division of Wildlife 317 W. Prospect Road Fort Collins, CO 80526 Voice: 970/472-4314 FAX: 970/472-4457 E-mail: harry.vermillion@state.co.us Home:970/897-2393 E-mail: north40@verinet.com (take out the "nospam" if its there)
Re: CHARTFX
Author: Gary Gary White
Date: Tue, 17 Nov 1998 00:00
Date: Tue, 17 Nov 1998 00:00
17 lines
1148 bytes
1148 bytes
On Tue, 17 Nov 1998 14:44:22 -0700, Harry Vermillion wrote: > I'm using CHARTFX 3.0 for charting and the screen displays in the forms are > great, but in trying to print using Vic McClung's printer class, no graphics > apear in the printout. even a straight WINAPI call (rectangle(p.hDC, > 0,0,1000,1000)) won't do anything. Anybody got any insight to his at all? Haven't tried it, but you might be able to do it with a temp table with a binary field. I seem to remember ChartFX having the ability to copy to the clipboard and from there you could paste it into a table record. Gary Some dBASE Stuff at http://www.AppTools.com/dbase
Re: CHARTFX
Author: Harry Vermillion
Date: Fri, 27 Nov 1998 00:00
Date: Fri, 27 Nov 1998 00:00
51 lines
2856 bytes
2856 bytes
Thanks for the reply, Gary, I thought I was stranded. From CHARTFX I can copy to the clipboard, to a metafile, to a bitmap or to an "internal" file. I don't have the experience of copying anything into a binary field/table record (yet sounds right), but then I think I'd be back to the problem I'm having with printing a metafile, bitmap or other file as I would with the record. I'm developing on an NT platform for Win95 and NT platforms. If I try to print something as easy (and well defined in the 16-bit WINAPI) as a rectangle, using the handle I get from Vic McClung's printer class for the printer Device Context, it fails. No error - no grahpic, just an empty page. I'm begining to suspect that there may be some differences in the 32-bit handles returned by the printer class' functions, until I realize that the text I send to the class prints out JUST FINE. In testing, if I bracket the graphics with text, say text on page 1, the chart on page 2 and more text on page 3, I get the first page with text, a blank page and the third page with text, appropriately. The CHARTFX support says that not being able to p[rint the rectangle shows that the DC for the printer is incorrect, though it displys the same for all three pages in MSGBOX's. I'm pretty frustrated, and began thinking that maybe this would require thunking, but so far I've only found the CALL32.DLL which doesn't seem to work (probably due to a bad translation of the VB code to VdB on my part. I've asked the 16-bit NG if thunking works on VdB 5.6 and haven't had any response yet. I've looked at other third party charting packages (bought Borland's Visual Solutions Pack 1 - DON'T GO THERE) and the coding used is very similar/nearly identical to what Vic has coded in his printer class. Maybe this is not possible. Sorry to dump on you, I can wrap up this app if the users can push a button and out comes the paper with the graphics. But thanks again for the reply. -- Harry E. Vermillion Scientific Programmer/Analyst II Colorado Division of Wildlife 317 W. Prospect Road Fort Collins, CO 80526 Voice: 970/472-4314 FAX: 970/472-4457 E-mail: harry.vermillion@state.co.us Home:970/897-2393 E-mail: north40@verinet.com
Re: CHARTFX
Author: Gary Gary White
Date: Sat, 28 Nov 1998 00:00
Date: Sat, 28 Nov 1998 00:00
13 lines
916 bytes
916 bytes
On Fri, 27 Nov 1998 12:50:10 -0700, Harry Vermillion wrote: > Thanks for the reply, Gary, I thought I was stranded. It will probably be a couple of days before I have the time to experiment with it, but I've marked your message and I'll try to see if I can come up with something. Gary Some dBASE Stuff at http://www.AppTools.com/dbase
Re: CHARTFX
Author: Gary Gary White
Date: Fri, 04 Dec 1998 00:00
Date: Fri, 04 Dec 1998 00:00
17 lines
1090 bytes
1090 bytes
On Fri, 27 Nov 1998 12:50:10 -0700, Harry Vermillion wrote: > Thanks for the reply, Gary, I thought I was stranded. Harry, I'm sorry to take so long to get back to you on this. I've spent considerable time trying to get the chart into a printable format. Unfortunately, I've found no way to paste an image into either a binary, or an ole field and ChartFX will only save a chart in its own proprietary format. I'm afraid that I'm without a solution. Gary Some dBASE Stuff at http://www.AppTools.com/dbase
Re: CHARTFX
Author: Romain Strieff [TeamB]
Date: Sat, 05 Dec 1998 00:00
Date: Sat, 05 Dec 1998 00:00
57 lines
2914 bytes
2914 bytes
In article <36681dd2.3536496@forums.borland.com>, Gary (Gary White) politely paraphrased... > > Thanks for the reply, Gary, I thought I was stranded. > > Harry, I'm sorry to take so long to get back to you on this. I've > spent considerable time trying to get the chart into a printable > format. Unfortunately, I've found no way to paste an image into > either a binary, or an ole field and ChartFX will only save a chart in > its own proprietary format. > > I'm afraid that I'm without a solution. > Check the program below, it uses a different approach. It's a separate program that reads text scripts and can be called from any program DOS or Windows 16 or 32 bit. It just reads the script file and creates JPGs etc without even coming up in that is what you need I took a look a couple of days ago and it looks nice. They have a downloadable working demo. +-----------------------------------------------+ | SmartChart 3.3 | | 32-Bit release for Windows 95/98/NT | | Copyright (c) 1998 ProFile Software & Systems | | Sales: sales@profilesoft.com | | Support: support@profilesoft.com | | Web site: http://www.profilesoft.com | +-----------------------------------------------+ 1. Introduction ---------------- SmartChart is a product of ProFile Software & Systems, that provides a simple and fast solution for creating and displaying graphs from within custom application. SmartChart can be used with any programming language or RAD tools that can generate a text file and execute a program. With SmartChart you can run off-line (batch) processes enabling generation of several graphs directed into different channels such as a printer, a BMP file, a JPEG file and the clipboard. This feature enables you to add graphs to your web page (see section 4). Communicating with SmartChart is a simple task: your application just needs to create a simple text file and execute SmartChart with the file name as its argument. This way of communication saves the overhead of interfacing another process using DDE/OLE, and most important -- saves time and money during development. -- Romain Strieff [TeamB] Please read this newsgroup guide below before posting on the private Inprise newsgroups. http://www.inprise.com/newsgroups/guide.html --
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads