Available in LEADTOOLS Document and Medical Imaging toolkits.
EdgeDetector example for Visual Basic
LEAD1.EdgeDetector 60, EDG_SOBEL_ALL