Community
Hi all, I am currently migrating some of the vba code into vb.net.
I run into this error that I not sure how to fix.
ByVal x As stdole.OLE_XPOS_PIXELS, ByVal y As stdole.OLE_YPOS_PIXELS
I google search the types but it seem like it only existing in vba,and vb6. I found thie reference file stdole.dll and added in ,but it did not inculd the OLE-XPOS-PIXELS type.
can someone tell me if this type exist if not is there something similar to it?
please and thanks
Hi,
In "OleCtl.h", the "OLE_XPOS_PIXELS" is a typedef for a long.
So I think in VB.Net, you can replace it with "Long"
Regards,