ermia2008 0 Newbie Poster

' The popup menu object:
Private WithEvents m_cMenu As cPopupMenu

lIndex = m_cMenu.ShowPopupMenu(btnAnimate.left, btnAnimate.tOp, btnAnimate.left, btnAnimate.tOp, Me.ScaleWidth - btnAnimate.left - btnAnimate.Width, btnAnimate.tOp + btnAnimate.Height, False)

I have added the dll which is related to this popup menu through the references, but the error shows me:

ActiveX component can not create object !!
:icon_sad:

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.