Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - Visual Basic Close Suddenly without warnings!!
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Visual Basic Close Suddenly without warnings!!

 Post Reply Post Reply
Author
Message
ahmadgames View Drop Down
Groupie
Groupie
Avatar

Joined: 12 April 2011
Location: Jordan
Status: Offline
Points: 44
Post Options Post Options   Thanks (0) Thanks(0)   Quote ahmadgames Quote  Post ReplyReply Direct Link To This Post Topic: Visual Basic Close Suddenly without warnings!!
    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
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 20 April 2011 at 9:59am
Do you have small application to test\reproduce?  This is not typical behavior.
Back to Top
gibra View Drop Down
Senior Member
Senior Member


Joined: 31 October 2008
Location: Italy
Status: Offline
Points: 288
Post Options Post Options   Thanks (0) Thanks(0)   Quote gibra Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
ahmadgames View Drop Down
Groupie
Groupie
Avatar

Joined: 12 April 2011
Location: Jordan
Status: Offline
Points: 44
Post Options Post Options   Thanks (0) Thanks(0)   Quote ahmadgames Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
ahmadgames View Drop Down
Groupie
Groupie
Avatar

Joined: 12 April 2011
Location: Jordan
Status: Offline
Points: 44
Post Options Post Options   Thanks (0) Thanks(0)   Quote ahmadgames Quote  Post ReplyReply Direct Link To This Post 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
Product: Xtreme SuitePro (ActiveX) version 16.3.1
Platform: Windows 8.1 (64bit)
Language: Visual Basic 6.0
--------------------------
Ahmad Majid
Development Manager
Hybrid Solutions
Back to Top
ahmadgames View Drop Down
Groupie
Groupie
Avatar

Joined: 12 April 2011
Location: Jordan
Status: Offline
Points: 44
Post Options Post Options   Thanks (0) Thanks(0)   Quote ahmadgames Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Jebo View Drop Down
Senior Member
Senior Member


Joined: 27 October 2005
Location: Germany
Status: Offline
Points: 318
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jebo Quote  Post ReplyReply Direct Link To This Post 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]
Back to Top
ahmadgames View Drop Down
Groupie
Groupie
Avatar

Joined: 12 April 2011
Location: Jordan
Status: Offline
Points: 44
Post Options Post Options   Thanks (0) Thanks(0)   Quote ahmadgames Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
gibra View Drop Down
Senior Member
Senior Member


Joined: 31 October 2008
Location: Italy
Status: Offline
Points: 288
Post Options Post Options   Thanks (0) Thanks(0)   Quote gibra Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
ahmadgames View Drop Down
Groupie
Groupie
Avatar

Joined: 12 April 2011
Location: Jordan
Status: Offline
Points: 44
Post Options Post Options   Thanks (0) Thanks(0)   Quote ahmadgames Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.