vb.net - How to add a shell item to a Windows right click context menu? -
i created small antivirus in vb.net. need add functionality software can start scanning file submitted via windows right click menu in other antivirus software "scan file".
what code should added scanner accept parameters passed shell extension?
here's code:
public class form1 dim time integer = 0 dim array array private sub openbutton_click(byval sender system.object, byval e system.eventargs) dim selectedfile string = string.empty openfiledialog1.showdialog() selectedfile = openfiledialog1.filename if (selectedfile isnot nothing) textbox1.text = selectedfile end if end sub private sub scanbutton_click(byval sender system.object, byval e system.eventargs) on error resume next dim scan new vscan(textbox1.text) scan.start() end sub end class
please view image better understand looking for:
Comments
Post a Comment