|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Send To vs Open WithI want to gather a list of images that the user selected then list them in my app. So far this is what I am seeing on my XP PC ... Note: these all have spaces in the path and\or name so I get double quoted arguments. If I select several image files in windows explorer and then Select Open With Only the first path\filename shows in Command$ So this method seems not to be any good. Is his the expected result? Select Send To I see all path\filenames selected in Command$ The command parser I have treats the first as a path\file and gives me the correct output, unquoted (spaces intact). The remaining arguments are all quoted so I guess I need to work on the parser some more since these are also path\filenames (just remove the double quotes I guess) and not /args. Any clues on this would be good. Don't want to spend a lot of time fiddling with this part of the code. So, how do I automatically add a shortcut to the folders for Open With and/or Send To? Well maybe not Open With since that seems to not be much help. I am setting the association so another file type will load the app and open this different unique file. That works OK. I think I know how to locate the folders but not sure how to create a shortcut of my app and put it in the folder. I know I keep saying this, but I think you are ignoring me...on purpose.
What part of using Google don't you understand? "parse command line" VB -.NET I see quite a few example I would also take a look at Karl Petersons site (which should always be your first stop) as I *know* he has a command line parse there. Seriously brother, stop being lazy and at least try to find your own code. Show quoteHide quote "BeeJ" <nospam@nowhere.com> wrote in message news:i4un50$6ja$1@speranza.aioe.org... : My VB6 app looks at the command line when it starts. : I want to gather a list of images that the user selected then list them : in my app. : So far this is what I am seeing on my XP PC ... : Note: these all have spaces in the path and\or name so I get double : quoted arguments. : If I select several image files in windows explorer and then : : Select Open With : Only the first path\filename shows in Command$ : So this method seems not to be any good. : Is his the expected result? : : Select Send To : I see all path\filenames selected in Command$ : The command parser I have treats the first as a path\file and gives : me the correct output, unquoted (spaces intact). The remaining : arguments are all quoted so I guess I need to work on the parser some : more since these are also path\filenames (just remove the double quotes : I guess) and not /args. : Any clues on this would be good. : Don't want to spend a lot of time fiddling with this part of the code. : : So, how do I automatically add a shortcut to the folders for Open With : and/or Send To? Well maybe not Open With since that seems to not be : much help. : I am setting the association so another file type will load the app and : open this different unique file. That works OK. : I think I know how to locate the folders but not sure how to create a : shortcut of my app and put it in the folder. : : "BeeJ" <nospam@nowhere.com> wrote in message Well actually it will be you that has too many quoted lines, not Kevin.news:i4uqou$bvc$1@speranza.aioe.org... > you have too many quoted lines so my newsreader > cannot allow a response. Mike Mike Williams expressed precisely :
> "BeeJ" <nospam@nowhere.com> wrote in message all i did was add one line at the end.> news:i4uqou$bvc$1@speranza.aioe.org... > >> you have too many quoted lines so my newsreader >> cannot allow a response. > > Well actually it will be you that has too many quoted lines, not Kevin. > > Mike BeeJ formulated on Monday :
> Mike Williams expressed precisely : Which is why you have too many quoted lines...>> "BeeJ" <nospam@nowhere.com> wrote in message >> news:i4uqou$bvc$1@speranza.aioe.org... >> >>> you have too many quoted lines so my newsreader >>> cannot allow a response. >> >> Well actually it will be you that has too many quoted lines, not Kevin. >> >> Mike > > all i did was add one line at the end. -- Tom Shelton "BeeJ" <nospam@nowhere.com> wrote in message The interent male equivelent of "whatever".news:i4uqou$bvc$1@speranza.aioe.org... : you have too many quoted lines so my newsreader cannot allow a : response. On 23/08/2010 22:55, BeeJ wrote:
> you have too many quoted lines so my newsreader cannot allow a response. Yours has none so I don't know the context and cannot reply.. :)-- Dee Earley (dee.ear***@icode.co.uk) i-Catcher Development Team iCode Systems (Replies direct to my email address will be ignored. Please reply to the group.) search here.
http://www.vbforums.com/forumdisplay.php?f=43 http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=62961&lngWId=1 Show quoteHide quote "BeeJ" <nospam@nowhere.com> wrote in message news:i4un50$6ja$1@speranza.aioe.org... on 8/23/2010, Abhishek supposed :
> search here. These look interesting. Found lots of examples of different ways to do > http://www.vbforums.com/forumdisplay.php?f=43 > > http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=62961&lngWId=1 > > > > "BeeJ" <nospam@nowhere.com> wrote in message > news:i4un50$6ja$1@speranza.aioe.org... it. Thanks.
Question about control properties
Can we use Shell to write file properties VB6 support and beyond How to manage a large dictionary of words? Callback function Managing Remote Access Database Using OutputDebugString too much can cause slowness in GUI response Owned On Vista vbAdvance general dll problem Register ActiveX EXE |
|||||||||||||||||||||||