From: JPS on
I want to be able to right click on any file on my desktop/pc and have a
shortcut "Copy File to Doc Manager". The short should run an application
that will copy the selected file to a pre defined location. I am not quite
sure what I can use for something like this. Can a VB program do this?

Please point me in the right direction if this is the wrong group.


From: Jan Hyde (VB MVP) on
"JPS" <happysandhu(a)hotmail.com>'s wild thoughts were
released on Thu, 24 Jul 2008 12:34:18 +0100 bearing the
following fruit:

>I want to be able to right click on any file on my desktop/pc and have a
>shortcut "Copy File to Doc Manager". The short should run an application
>that will copy the selected file to a pre defined location. I am not quite
>sure what I can use for something like this. Can a VB program do this?
>
>Please point me in the right direction if this is the wrong group.


Can VB... copy the file, or create the shortcut?


--
Jan Hyde

https://mvp.support.microsoft.com/profile/Jan.Hyde
From: JPS on
Well I know VB and copy the file and I can create a shortcut what I wanted
to know was can VB be used in this scenario.

How would you get the filename from a rightclick?

thanks



"Jan Hyde (VB MVP)" <StellaDrinker(a)REMOVE.ME.uboot.com> wrote in message
news:jurg84lj3eic2vto0ndi5rltl79bvqcmb7(a)4ax.com...
> "JPS" <happysandhu(a)hotmail.com>'s wild thoughts were
> released on Thu, 24 Jul 2008 12:34:18 +0100 bearing the
> following fruit:
>
>>I want to be able to right click on any file on my desktop/pc and have a
>>shortcut "Copy File to Doc Manager". The short should run an application
>>that will copy the selected file to a pre defined location. I am not
>>quite
>>sure what I can use for something like this. Can a VB program do this?
>>
>>Please point me in the right direction if this is the wrong group.
>
>
> Can VB... copy the file, or create the shortcut?
>
>
> --
> Jan Hyde
>
> https://mvp.support.microsoft.com/profile/Jan.Hyde


From: Jeff Johnson on
"JPS" <happysandhu(a)hotmail.com> wrote in message
news:OxBV0YY7IHA.4468(a)TK2MSFTNGP02.phx.gbl...

> How would you get the filename from a rightclick?

Oh, you want a "shell extension." Search for that on Google (and include
"vb -net" in there as well).

It's not super-easy, by the way, nor is it impossible....


From: Bob Butler on

"Jeff Johnson" <i.get(a)enough.spam> wrote in message
news:uAg3gIZ7IHA.1080(a)TK2MSFTNGP06.phx.gbl...
> "JPS" <happysandhu(a)hotmail.com> wrote in message
> news:OxBV0YY7IHA.4468(a)TK2MSFTNGP02.phx.gbl...
>
>> How would you get the filename from a rightclick?
>
> Oh, you want a "shell extension." Search for that on Google (and include
> "vb -net" in there as well).
>
> It's not super-easy, by the way, nor is it impossible....

I think he only needs a file association and the use of Command$:
"I want to be able to right click on any file on my desktop/pc and have a
shortcut "Copy File to Doc Manager". The short should run an application"