Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Help!
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Help!

 Post Reply Post Reply
Author
Message
anthony_pacitto View Drop Down
Newbie
Newbie


Joined: 30 July 2010
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote anthony_pacitto Quote  Post ReplyReply Direct Link To This Post Topic: Help!
    Posted: 30 July 2010 at 5:40pm
Okay, I am new to this CodeJock CommandBar and i am currently am inserting a command bar in my visual basic 6.0 application and i was simply wondering how do i make it so that when i click a button on my commandbar it will open a form that i am wanting it to open? How do i do this?
Back to Top
Xander75 View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 April 2007
Status: Offline
Points: 353
Post Options Post Options   Thanks (0) Thanks(0)   Quote Xander75 Quote  Post ReplyReply Direct Link To This Post Posted: 18 August 2010 at 4:35am
Hi,

Have you checked the Samples that come with the Codejock Software? The VB6 CommandBars samples show how to do this using the CommandBars Execute method.


Private Sub CommandBars_Execute(ByVal Control As XtremeCommandBars.ICommandBarControl)

    Select Case Control.ID
        Case ID_MENU_OPENFORM:
            Unload frmMyForm
            frmMyForm.Show vbModal, Me
    End Select

End Sub


Product: Xtreme SuitePro (ActiveX) v15.3.1
Platform: Windows 7 64-bit (SP1) Professional Edition
Languages: C#.Net using Visual Studio 2012 & Visual Basic 6.0 (SP6)
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.172 seconds.