|
Error message after install of v 5.1.1 on win7 64 bit machine |
Posted by Marlena on Feb-20-2013 04:50 |
|
Hi,
I downloaded version 5.1.1 and installed it without issues on my WinXP development machine. I can develop and run the compiled VB6 exe on my dev machine.
I then gave the new ChartViewer.ocx to a colleague who tests on a Win7 64 bit machine. I suggested that he register it by hand and test the new client I also gave him. When he tries to run the client he gets the attached error message before the application interface appears. (I uploaded it just before posting this.)
He then ran the 5.5.1 installer but the same error message is seen. Then he ran the old Chart Director installer to see if he could fire up the exe. But no change, the error message is still displayed.
So...is this a licensing issue? It's been several years since we purchased the component.
|
Re: Error message after install of v 5.1.1 on win7 64 bit machine |
Posted by Peter Kwan on Feb-20-2013 23:59 |
|
Hi Marlena,
As the error message itself does not mention about ChartDirector, have you double checked if it is cause by ChartDirector?
I suggest you try the following steps:
(a) As you probably know, VB6 is 32-bit. Like all 32-bit OCX, the OCX should be installed in "c:\\Windows\\SysWoW64" (not system32 - in Win 64, system32 is for 64-bit, whilie SysWoW64 is for 32-bit). To register it, please open a Command prompt using "Run As Administrator". Then change to the "c:\\Windows\\SysWoW64" subdirectory, and run "regsvr32 ChartViewr.ocx".
(b) Copy all files from "ChartDirector\\lib" to "c:\\Program Files (x86)\\ChartDirector\\lib". Then open a Command prompt using "Run As Administrator", change to the "c:\\Program Files (x86)\\ChartDirector\\lib", and run "regdll.bat" to register the DLLs. If the registration is successful, it should pop up a screen displaying the ChartDirector version (and some other information).
If you install ChartDirector by executing the chartdir_com.exe installer using "Run As Administrator", the above steps should have been done automatically.
(c) Please compile two programs for testing. The first is an empty VB6 program that contains only the line "MsgBox 1234". When run, it should pop up a message box showing 1234. You may use this program to test if the Win 7 computer can run VB6 programs.
(d) The second test program is the vbHelloWorld program that comes with ChartDirector (in "ChartDirector\\vbHelloWorld"). When run, it should display a bar chart. This can test if ChartDirector is working normally in the Win 7 computer.
If all of the above steps are successful, it is possible the issue is not related to ChartDirector. You may need to debug the program to see exactly which line is causing the issue.
Please kindly let me know what is the result.
Regards
Peter Kwan |
Re: Error message after install of v 5.1.1 on win7 64 bit machine |
Posted by Marlena on Feb-26-2013 04:03 |
|
Thanks for the suggestions. Things are now working as expected on my colleagues computer and we are clueless about what was wrong.
I suspect operator error(s). The installer put files in the correct place and components got registered properly. And at some point things started working. So...never mind! |
|