VB6 Crash when generating Chart |
Post Reply |
Author | |
tjsivies
Groupie Joined: 04 December 2006 Status: Offline Points: 42 |
Post Options
Thanks(0)
Posted: 25 July 2011 at 1:05am |
I am just starting to use the Chart control.
During testing for this I discovered a Fatal Windows Crash. Simply put I have a Chart control and I initially display a Pie Chart. I then give the user a PopUp menu (right click on the chart) to select from either a Bar or a Pie Chart. The user can select Bar and then change again to Pie....etc Changing from Pie to Bar is not a problem, however once the Bar chart is showing if your "right-click" directly on the chart area and select Pie you get a Windows crash. If you right-click not directly over the Bar chart area it does not crash. I have checked through the code and cannot see where I may have gone wrong. I have attached a zip of a sample project that displays the behavior. uploads/2555/CodejockCharttest.zip Hoping someone (at Codejock) can help me? Thanks Trevor. |
|
Xtreme SuitePro (ActiveX) version 18.3.0
Windows 7 (64bit) Visual Basic 6.0 SP6 |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Hi,
I tried with your test project and I couldn't get it to crash.
btw The only thing I noticed that the VB popup menu is drawn with background of BAR chart (selecting pie when bar is active) just for a split second...
Good luck
|
|
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 Zero replies is not an option.... |
|
tjsivies
Groupie Joined: 04 December 2006 Status: Offline Points: 42 |
Post Options
Thanks(0)
|
Aaron,
Thx for trying. It happens around 95% of the time. Here is a video of it crashing just in case my instructions weren't 100% clear. http://www.fastcam.com/Trevor/Chart-Crash/Chart-Crash.html Trevor |
|
Xtreme SuitePro (ActiveX) version 18.3.0
Windows 7 (64bit) Visual Basic 6.0 SP6 |
|
younicke
Senior Member Joined: 11 March 2005 Status: Offline Points: 107 |
Post Options
Thanks(0)
|
it happens all the time.. :(
do the right click inside the bar chart not on the black parts |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Hi,
I did click on Bar about a hundred times... Outside, inside, everywhere... Not a single crash. Maybe something to do with version GDI dll
C'mon support, why don't you guys reply?
|
|
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 Zero replies is not an option.... |
|
younicke
Senior Member Joined: 11 March 2005 Status: Offline Points: 107 |
Post Options
Thanks(0)
|
strange... i tried both in windows7 and xp it always crashes... in both IDE and compiled
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Also can't reproduce. can you please download 15.1 version, maybe something that fixed already. Thanks
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Hi Oleg,
Thanks for reply, I tried already with new version (V15.1.0) without knowing it hehehe
Seems something with V15.0.1 I tried and it crashed immediately as described by thread starter.
Thanks
|
|
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 Zero replies is not an option.... |
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
So you say you see it with 15.0.1 but not 15.1.1? I tried that sample with both 15.1.1 and 15.0.2 and couldn't see the crash.
|
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Hi SuperMario,
Yes, correct
V15.0.1 & V15.0.2 both crashed
|
|
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 Zero replies is not an option.... |
|
tjsivies
Groupie Joined: 04 December 2006 Status: Offline Points: 42 |
Post Options
Thanks(0)
|
Thanks to all that posted.
I have re-tested using v15.1.1 and it no longer crashes. Thanks CodeJock seems like you fixed it! Trevor |
|
Xtreme SuitePro (ActiveX) version 18.3.0
Windows 7 (64bit) Visual Basic 6.0 SP6 |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |