Print Page | Close Window

Visual Basic Close Suddenly without warnings!!

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Suite Pro
Forum Description: Topics Related to Codejock Suite Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=18250
Printed Date: 27 April 2024 at 8:11am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Visual Basic Close Suddenly without warnings!!
Posted By: ahmadgames
Subject: Visual Basic Close Suddenly without warnings!!
Date Posted: 20 April 2011 at 6:03am
Hi,

We faced  a strange behavior on our application after we convert our project from a different Docking component to CJ component, everything is working great regarding the converting, and the system is look great now...

But now, in many times, while we are testing the application for example (in the run-time), suddenly everything close! even the VB6 itself.

It is repetitive, and it always happen with us, I just need to run the application from the code, the first time or maximum the second time,after a while, it will crash without any warnings, just close the entire application with the VB6 itself.

Is there any solution for this? or did any one face such thing ?

Appreciating your help.


-------------
Product: Xtreme SuitePro (ActiveX) version 16.3.1
Platform: Windows 8.1 (64bit)
Language: Visual Basic 6.0
--------------------------
Ahmad Majid
Development Manager
Hybrid Solutions



Replies:
Posted By: SuperMario
Date Posted: 20 April 2011 at 9:59am
Do you have small application to test\reproduce?  This is not typical behavior.


Posted By: gibra
Date Posted: 20 April 2011 at 10:29am
Compiled EXE application works fine?

-------------
gibra
CJ SuiteControl v: 13.x to 19.x
Windows 10 64bit
VS2019 - VB6.0 SP6
<a href="http://nuke.vbcorner.net/Home/tabid/36/language/en-US/Default.aspx" rel="nofollow">VS/VB 6.0 Installer v6.8


Posted By: ahmadgames
Date Posted: 21 April 2011 at 3:31am
Dears,
Thank you for your reply.

Actually there is no sample for this, since it only happened on our application, and I never faced it on your sample, but our software is very huge considering the samples.

gibra, the exe works fine without that crashing, it is some kind of stable, but we also need this on the development environment too.

Do you have something on your mind?

Thanks


-------------
Product: Xtreme SuitePro (ActiveX) version 16.3.1
Platform: Windows 8.1 (64bit)
Language: Visual Basic 6.0
--------------------------
Ahmad Majid
Development Manager
Hybrid Solutions


Posted By: ahmadgames
Date Posted: 21 April 2011 at 9:54am
Hi,

for the first time, I faced something new now (without making any thing new)!

When I close the system from run-time (to go back to the code), an NTDLL.dll error appear (Send / Don't send from MS Crash Handler)...

and then everything will be closed for sure after pressing don't send...

you can find the following image:



I uploaded the text file that will be sent to MS (for the error report).

Could any one help me regarding this ? uploads/6726/4605_appcompat.zip - uploads/6726/4605_appcompat.zip


-------------
Product: Xtreme SuitePro (ActiveX) version 16.3.1
Platform: Windows 8.1 (64bit)
Language: Visual Basic 6.0
--------------------------
Ahmad Majid
Development Manager
Hybrid Solutions


Posted By: ahmadgames
Date Posted: 11 May 2011 at 3:32am
Hi leeyn,
Sorry I didn't get you on that, do you have a solution for my case ? or do you suggest anything?

Thanks


-------------
Product: Xtreme SuitePro (ActiveX) version 16.3.1
Platform: Windows 8.1 (64bit)
Language: Visual Basic 6.0
--------------------------
Ahmad Majid
Development Manager
Hybrid Solutions


Posted By: Jebo
Date Posted: 11 May 2011 at 4:18am
I can confirm this problems. Mostly in combination with the ReportControl and ChartControl - and primary in the Debug-Mode of VB6.


-------------
[Sig removed by Admin: Signature can't exceed 40GB]


Posted By: ahmadgames
Date Posted: 11 May 2011 at 6:53am
I'm glad to see some confirmation for this errors from other users..

Did anyone have a solution for this ?

appreciating your help...


-------------
Product: Xtreme SuitePro (ActiveX) version 16.3.1
Platform: Windows 8.1 (64bit)
Language: Visual Basic 6.0
--------------------------
Ahmad Majid
Development Manager
Hybrid Solutions


Posted By: gibra
Date Posted: 11 May 2011 at 10:32am
Originally posted by ahmadgames ahmadgames wrote:

Dears,
gibra, the exe works fine without that crashing, it is some kind of stable, but we also need this on the development environment too.
 
On past, I has experience for crash caused by the HtmlHelp() function (HHCTRL.OCX)
when I try to close the help file usin below istruction:
 
HtmlHelp hWnd, gsHelpFile, HH_CLOSE_ALL, 0&
 
Randomly the project crash.
 
Removed the above istruction, all work fine. Wink
 
HTH


-------------
gibra
CJ SuiteControl v: 13.x to 19.x
Windows 10 64bit
VS2019 - VB6.0 SP6
<a href="http://nuke.vbcorner.net/Home/tabid/36/language/en-US/Default.aspx" rel="nofollow">VS/VB 6.0 Installer v6.8


Posted By: ahmadgames
Date Posted: 15 May 2011 at 5:03am
Dear Gibra,

thank you for your note, Actually we use this function in the Class_Terminate to close all opened help files, beside (HTMLHelp 0&, 0&, HH_UNINITIALIZE,  mCookie) that will terminate the instance using the received identifier.

Anyway, I will comment these lines and monitor the project and get back to you.

Thanks


-------------
Product: Xtreme SuitePro (ActiveX) version 16.3.1
Platform: Windows 8.1 (64bit)
Language: Visual Basic 6.0
--------------------------
Ahmad Majid
Development Manager
Hybrid Solutions



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net