![]()  | 
 
VB.NET upgrade of VB6 application | 
 
    Post Reply  
   | 
  
| Author | |
   
   olofh  
   
   Newbie  
   Joined: 04 October 2005 Location: United States Status: Offline Points: 1  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: VB.NET upgrade of VB6 applicationPosted: 04 October 2005 at 10:44am  | 
 
| 
   
    Command Bars ActiveX works fine when IsMDiContainer property of main form is set to False; however, the menu does not display if set to True. I created a simple test Windows Application project using Visual Studio 2005 RC, and then added a COM reference to Xtreme CommandBars ActiveX Control 9.60. Test form load looks like this... Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load         Dim m_menuBar As XtremeCommandBars.CommandBar         Dim Control As XtremeCommandBars.CommandBarControl         Dim FileMenu As XtremeCommandBars.CommandBarControl         With FileMenu.CommandBar.Controls Me.CommandBarsMgr.ActiveMenuBar.Visible = True     End Sub 
 
  | 
 |
![]()  | 
 |
   
   Oleg  
   
   Senior Member  
   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 05 October 2005 at 1:09am | 
 
| 
   
    Add this Dim ctrl As Control  | 
 |
| 
   
     
     Oleg, Support Team 
   
  CODEJOCK SOFTWARE SOLUTIONS  | 
 |
![]()  | 
 |
    Post Reply  
   | 
  |
|       
  
  Tweet   	
    | 
 
| Forum Jump | Forum Permissions  ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum  |