I want to connect a point to a polyline from the closest point (ie. perpendicular to the nearest segment). I could'nt find any sources on the net. I tried the old vlax class but there is problem with the Acad.GetInterfaceObject("VL.Application.*) line and can't figure it out. In the meantime my all entities are interop objects, how will i pass them to vb.net mthod getclosestpoint?