Home All Groups Group Topic Archive Search About

How can I create a Shortcut (with parameters) on a user-desktop with vb.net?

Author
27 Sep 2006 7:18 AM
leerstring
Yeah, that's my Question:-)

Thanks in advance....

Author
27 Sep 2006 9:38 AM
Miro
Found this,

But I havnt tried it yet. - but it looks to be what your looking for.

http://www.codeproject.com/dotnet/shelllink.asp


Miro

Show quoteHide quote
"leerstring" <leerstr***@gmail.com> wrote in message
news:1159341514.567987.100150@k70g2000cwa.googlegroups.com...
> Yeah, that's my Question:-)
>
> Thanks in advance....
>
Author
27 Sep 2006 10:35 AM
leerstring
Thank you, but I can't transmit it in my own project.
The type ShellShortcut for example isn't known!?!
What can I do?

thanks again


Miro schrieb:

Show quoteHide quote
> Found this,
>
> But I havnt tried it yet. - but it looks to be what your looking for.
>
> http://www.codeproject.com/dotnet/shelllink.asp
>
>
> Miro
>
> "leerstring" <leerstr***@gmail.com> wrote in message
> news:1159341514.567987.100150@k70g2000cwa.googlegroups.com...
> > Yeah, that's my Question:-)
> >
> > Thanks in advance....
> >
Author
27 Sep 2006 11:34 AM
Miro
Can you post your code?

I ran the project downloaded by the site and it works fine for me.
Im using vb.net 2001 or whatever it is ( pre 2003 ), so it should run for
you as well.

I have searched all the code for "shellshortcut" but it didnt find any
instances of it in the project.

Miro

Show quoteHide quote
"leerstring" <leerstr***@gmail.com> wrote in message
news:1159353335.478016.68160@i42g2000cwa.googlegroups.com...
> Thank you, but I can't transmit it in my own project.
> The type ShellShortcut for example isn't known!?!
> What can I do?
>
> thanks again
>
>
> Miro schrieb:
>
>> Found this,
>>
>> But I havnt tried it yet. - but it looks to be what your looking for.
>>
>> http://www.codeproject.com/dotnet/shelllink.asp
>>
>>
>> Miro
>>
>> "leerstring" <leerstr***@gmail.com> wrote in message
>> news:1159341514.567987.100150@k70g2000cwa.googlegroups.com...
>> > Yeah, that's my Question:-)
>> >
>> > Thanks in advance....
>> >
>
Author
27 Sep 2006 12:31 PM
leerstring
Okay, I fixed it!
I had to add a reference.
Now it works.
So, if you know how to detect the home-dir of the current user, it
would be fine:-)
But don't trouble, if you don't know! I can search for myself!

Thank you Miro!

greez from Nullsting


Miro schrieb:

Show quoteHide quote
> Can you post your code?
>
> I ran the project downloaded by the site and it works fine for me.
> Im using vb.net 2001 or whatever it is ( pre 2003 ), so it should run for
> you as well.
>
> I have searched all the code for "shellshortcut" but it didnt find any
> instances of it in the project.
>
> Miro
>
> "leerstring" <leerstr***@gmail.com> wrote in message
> news:1159353335.478016.68160@i42g2000cwa.googlegroups.com...
> > Thank you, but I can't transmit it in my own project.
> > The type ShellShortcut for example isn't known!?!
> > What can I do?
> >
> > thanks again
> >
> >
> > Miro schrieb:
> >
> >> Found this,
> >>
> >> But I havnt tried it yet. - but it looks to be what your looking for.
> >>
> >> http://www.codeproject.com/dotnet/shelllink.asp
> >>
> >>
> >> Miro
> >>
> >> "leerstring" <leerstr***@gmail.com> wrote in message
> >> news:1159341514.567987.100150@k70g2000cwa.googlegroups.com...
> >> > Yeah, that's my Question:-)
> >> >
> >> > Thanks in advance....
> >> >
> >
Author
27 Sep 2006 1:43 PM
Miro
Sorry, that I do not know.

-Didnt have to search for the other link   :)
I had that link stored in my email from an old post.  As I read other peopls
posts, I copy peopls answers out I know
i'll need later when I get to that part in my project.

So who knows, In about 3 or 4 weeks, ill be fiddling with the same thing you
are, and I might have to ask a question back :)

-it might be easier to start that question as a totally new question in the
newsgroup.

Cheers,

Miro.



Show quoteHide quote
"leerstring" <leerstr***@gmail.com> wrote in message
news:1159360307.759831.67600@i3g2000cwc.googlegroups.com...
> Okay, I fixed it!
> I had to add a reference.
> Now it works.
> So, if you know how to detect the home-dir of the current user, it
> would be fine:-)
> But don't trouble, if you don't know! I can search for myself!
>
> Thank you Miro!
>
> greez from Nullsting
>
>
> Miro schrieb:
>
>> Can you post your code?
>>
>> I ran the project downloaded by the site and it works fine for me.
>> Im using vb.net 2001 or whatever it is ( pre 2003 ), so it should run for
>> you as well.
>>
>> I have searched all the code for "shellshortcut" but it didnt find any
>> instances of it in the project.
>>
>> Miro
>>
>> "leerstring" <leerstr***@gmail.com> wrote in message
>> news:1159353335.478016.68160@i42g2000cwa.googlegroups.com...
>> > Thank you, but I can't transmit it in my own project.
>> > The type ShellShortcut for example isn't known!?!
>> > What can I do?
>> >
>> > thanks again
>> >
>> >
>> > Miro schrieb:
>> >
>> >> Found this,
>> >>
>> >> But I havnt tried it yet. - but it looks to be what your looking for.
>> >>
>> >> http://www.codeproject.com/dotnet/shelllink.asp
>> >>
>> >>
>> >> Miro
>> >>
>> >> "leerstring" <leerstr***@gmail.com> wrote in message
>> >> news:1159341514.567987.100150@k70g2000cwa.googlegroups.com...
>> >> > Yeah, that's my Question:-)
>> >> >
>> >> > Thanks in advance....
>> >> >
>> >
>