Results 1 to 3 of 3

Thread: Drop Picture onto exe

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    May 2005
    Posts
    181

    Drop Picture onto exe

    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

  2. #2
    Lively Member poggo's Avatar
    Join Date
    Sep 2005
    Posts
    90

    Re: Drop Picture onto exe

    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! 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... )
    Currently using VB.NET 2005...

  3. #3
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: Drop Picture onto exe

    check out my codebank example of drag/drop image to form
    http://www.vbforums.com/showthread.php?t=328593

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width