Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - VB6 Can't compile
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

VB6 Can't compile

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

Joined: 19 June 2008
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote immoassist Quote  Post ReplyReply Direct Link To This Post Topic: VB6 Can't compile
    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
Back to Top
immoassist View Drop Down
Groupie
Groupie
Avatar

Joined: 19 June 2008
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote immoassist Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
immoassist View Drop Down
Groupie
Groupie
Avatar

Joined: 19 June 2008
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote immoassist Quote  Post ReplyReply Direct Link To This Post 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
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.188 seconds.