Hey. Is there a way that I can have it so if I drag a picture onto the exe of the program, it will run, then execute a special method for dealing with and displaying that image?
Thanks
JOhn
Printable View
Hey. Is there a way that I can have it so if I drag a picture onto the exe of the program, it will run, then execute a special method for dealing with and displaying that image?
Thanks
JOhn
Try using command line parameters matrix... they're in the My.Application.CommandLineArgs (look here for MSDN), in VB.net 2005... i really don't know why but the Intellisense doesn't have that property... amazing! :eek: Anyway, it does still list the System.Environment.GetCommandLineArgs() sub and System.Environment.CommandLine() property, which should be present also in VB.net 1.x (I don't remember... :D )
check out my codebank example of drag/drop image to form
http://www.vbforums.com/showthread.php?t=328593