Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
tools
vsnet.act
vsnet.debugging
vsnet.documentation
vsnet.enterprise.tools
vsnet.general
vsnet.ide
vsnet.jlca
vsnet.servicepacks
vsnet.setup
vsnet.vsip
vsnet.vss
vsnet.vstools.office
vstudio.development
vstudio.extensibility
vstudio.general
vstudio.helpauthoring
vstudio.setup
vstudio.sourcesafe
  
 
date: Sat, 2 Feb 2008 17:45:07 -0800,    group: microsoft.public.vstudio.extensibility        back       


CommandBarEvents   
I need to make sub commands in a commandbarcontrol popmenu that I made.  I 
can make the sub menu items fine...but I can't connect to the commandevents 
class.  I have tried using
Dim hndl As CommandBarEvents

hndl = CType(Me.m_objDTE.Events.CommandBarEvents(menuItem), 
EnvDTE.CommandBarEvents)

but I get an invalid cas type
date: Sat, 2 Feb 2008 17:45:07 -0800   author:   Microsoft

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us