PDA

Click to See Complete Forum and Search --> : graph32.ocx - empty picture box on forms


pulper
Jul 8th, 2006, 02:04 PM
Hi Everyone. first post here.

i am using vb6.0 on a winxp machien. i want to use the pinnacle-bps graph control (i know mschart is newer but i still want to use the bps control). graph32.ocx.

i believe i have correctly installed it. i can add it as one of the components from within vb6. however, when i add it to a form, it appears as an empty box. i can adjust the properties which is why i believe it is installed correctly and is not a licensing problem.

i've gone through all the google searches and help stuff. i've copied the graph32.ocx and the two other supporting files over from the vb6.0 cd to the system32 folder (just to be safe, i copied all files from that particular control folder on the CD). i registered the control using regsvr32.exe graph32.ocx. then i double clicked on vbctrls.reg to update the license.

i've done this now a number of times, and have tried different ways to do it (ie double click on vbctrls.reg first and then register the graph32.ocx), and i always get the same result. when i try to write the graph data to a file, i have either received an error creating graph or a graph that doesn't open with any data on it and which winxp says "no preview available".

one possibility is that i installed a vb6 program from a friend first that would normally install the graph32.ocx in the registry. not sure why this would change things but i never know what is useful information.

i've spent countless hours on this. i've set this up on other xp computers at work and it has worked without problems but i need this now for my home computer and have run up against the wall. any support would be greatly appreciated. thanks.

Paul

loquin
Dec 4th, 2009, 12:05 PM
I realise that this reply is quite ... late, but, others may benefit from the answer.

The graph control is an iterface to the graph server, so make sure that in addition to GRAPH32.OCX, that GSW32.EXE and GSWDLL32.DLL have been copied to the windows SYSTEM32 folder, before registering the control. And, you'll need to import VBCTRLS.REG file (distributed with the control on the second VB6 CD) to your registry, in order to apply the license for development.