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

  • Thread starter Thread starter leerstring
  • Start date Start date
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
 
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
 
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
 
Incredible!!!
Visual Basic 2005 Express Edition!
What a ****ing, buggy Software!!!!
Now I'm not wondering, why Mircosoft exempt it from charges!?!?!
 
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.
 
Back
Top