General information
Category:
ActiveX controls
Hi,
I am making an ActiveX Control in which I get the
following error when I tried to place it on the form in
the same project.
Also it is not allowing me to add the ActiceX control
on the Other project say (project2) though it is apparing
on the ToolBox
Error
*****
Cannot define a Public user-dfined tyep within a private
object module.
And this is my code in Class Modle.
Type POINTAPI
X As Long
Y As Long
End Type
Declare Function GetCursprPos& Lib "user32" (lpPoint As POINTAPI)
Declare Function WindowFromPoint& Lib "user32" (ByVal lpPointX As Long, ByVal lpPointY As Long)
Pls help me . . . .
Thanx in Advance,
Amol
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only