Print Page | Close Window

VB6 Can't compile

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=11781
Printed Date: 07 October 2024 at 2:24pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: VB6 Can't compile
Posted By: immoassist
Subject: VB6 Can't compile
Date Posted: 10 August 2008 at 8:09am
Hi

I have a VB6 App, with Calendar and Command bar OCX (the latest version).
I use the command bar as Office 2007 loayout (with Ribbon)

I can compile the application when the Command bar is not included within the app, but when Command bar is included, when I compile, it compile, but no writting of the executable on the disk.

I have put the lic informations in almost all folders, and have no idea why it doens't compile.

It is urgent, as I need to delivrate it for the 15 August.

Thanks for your help

Thierry  

-------------
Come and try our application :
http://www.immoassist.com



Replies:
Posted By: immoassist
Date Posted: 12 August 2008 at 4:56am
Hi

I tried with the 12.0.0 ANSI and Unicode version, and no more luck.

I have no error when I compile, it seems to compile, then it stops when writing the EXE, no error is displayed, and no EXE generated.

Also, when I quit the VB6 environnement, i have an error given by VB6 in the msxml3.dll module.

I don't use msxml3 in my app, by the msxml 4.

I have reinstalled the msxml3, but no changes too.

I have added the same commandbar in a small app with only the commandbar, and there it can compile and generate an EXE.

If I remove totally the command bar, and reference, and go back to my previous classical toolbar, I can compile with no error.

Thanks for your help

Thierry
 


-------------
Come and try our application :
http://www.immoassist.com


Posted By: immoassist
Date Posted: 12 August 2008 at 12:32pm
I think I have found a solution.

It seems there is something wrong somewhere within the CommandBars, probably within the ressources, or some deallocation not made properly.

In my large VB6 App, I deid like this

I have declared this variable :
Private WithEvents CommandBars1 As CommandBars

Then in the MDI_Form_Load, I added dynamically the bar  :

CommandBars1 = Controls.add("Codejock.CommandBars.12.0.1", "CommandBars1")

And after, I build it, including icons...

This seems to work, and no more crash when leaving the app.

Thierry


-------------
Come and try our application :
http://www.immoassist.com



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