.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ByVal x As stdole.OLE_XPOS_PIXELS, ByVal y As stdole.OLE_YPOS_PIXELS in vb.net

1 REPLY 1
Reply
Message 1 of 2
amyyoyo1
1179 Views, 1 Reply

ByVal x As stdole.OLE_XPOS_PIXELS, ByVal y As stdole.OLE_YPOS_PIXELS in vb.net

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

1 REPLY 1
Message 2 of 2
Balaji_Ram
in reply to: amyyoyo1

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,



Balaji
Developer Technical Services
Autodesk Developer Network

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost