PC Review


Reply
Thread Tools Rate Thread

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

 
 
leerstring
Guest
Posts: n/a
 
      27th Sep 2006
Yeah, that's my Question:-)

Thanks in advance....

 
Reply With Quote
 
 
 
 
Miro
Guest
Posts: n/a
 
      27th Sep 2006
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Yeah, that's my Question:-)
>
> Thanks in advance....
>



 
Reply With Quote
 
leerstring
Guest
Posts: n/a
 
      27th Sep 2006
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" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Yeah, that's my Question:-)
> >
> > Thanks in advance....
> >


 
Reply With Quote
 
Miro
Guest
Posts: n/a
 
      27th Sep 2006
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>> > Yeah, that's my Question:-)
>> >
>> > Thanks in advance....
>> >

>



 
Reply With Quote
 
leerstring
Guest
Posts: n/a
 
      27th Sep 2006
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" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > 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" <(E-Mail Removed)> wrote in message
> >> news:(E-Mail Removed)...
> >> > Yeah, that's my Question:-)
> >> >
> >> > Thanks in advance....
> >> >

> >


 
Reply With Quote
 
leerstring
Guest
Posts: n/a
 
      27th Sep 2006
Incredible!!!
Visual Basic 2005 Express Edition!
What a ****ing, buggy Software!!!!
Now I'm not wondering, why Mircosoft exempt it from charges!?!?!


leerstring schrieb:

> 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" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> > > 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" <(E-Mail Removed)> wrote in message
> > >> news:(E-Mail Removed)...
> > >> > Yeah, that's my Question:-)
> > >> >
> > >> > Thanks in advance....
> > >> >
> > >


 
Reply With Quote
 
Miro
Guest
Posts: n/a
 
      27th Sep 2006
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.



"leerstring" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>> > 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" <(E-Mail Removed)> wrote in message
>> >> news:(E-Mail Removed)...
>> >> > Yeah, that's my Question:-)
>> >> >
>> >> > Thanks in advance....
>> >> >
>> >

>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CREATE DESKTOP SHORTCUT? PARSLEY DUMPLING Microsoft Excel Misc 2 30th Jul 2009 11:51 AM
How do I create a .bat file to create a shortcut on the desktop? Jenny Microsoft Excel Programming 0 19th Sep 2008 02:39 PM
Adding shortcut in user's desktop (setup proj) creates a shortcutto shortcut ! TN Microsoft C# .NET 2 24th Mar 2006 07:23 PM
how to set condition for creating desktop shortcut after install on the user desktop Syed Abbas Naqvi Microsoft Dot NET Framework 0 25th Jan 2006 10:57 AM
Create Explorer Shortcut with Command Line Parameters? DaveK Microsoft Windows 2000 Applications 3 4th May 2004 04:00 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:41 PM.