Solved

Shortcuts on Desktop and Program Menu

Posted on 2000-02-18
17
230 Views
Last Modified: 2010-05-02
How can I add/remove  shortcuts on my Desktop through VB
also how can I  control if a shorcut exist ??
The same would be perfect in the Start-Program list ?
0
Comment
Question by:MatthiasK
  • 6
  • 5
  • 4
  • +1
17 Comments
 
LVL 1

Accepted Solution

by:
Catouch earned 200 total points
ID: 2535384
When right click on the application you need, a msgbox appears. Select create shortcut. Then paste it on your desktop.

You can right click on your start-program list and the same msgbox will appear. You can drag and drop icons into your start-program list as well.

To control the shortcut, click right on it, select properties and check the link of the shortcut.

0
 
LVL 3

Expert Comment

by:paulstamp
ID: 2535388
This article should give you all the info you need to know.

http://www.mvps.org/vbnet/code/shell/shshortcutcheat.htm

PS... I'm assuming you want to do it in code !!
0
 
LVL 1

Expert Comment

by:Catouch
ID: 2535411
Sorry,
I thought it was a simple question, but I think I'm just a simple person.
0
ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

 

Author Comment

by:MatthiasK
ID: 2535417
Guys, I know how to create Shortcuts but
I wanna do it through VB for my Internal
Application.
0
 
LVL 1

Expert Comment

by:Catouch
ID: 2535420
Catouch changed the proposed answer to a comment
0
 
LVL 20

Expert Comment

by:hes
ID: 2535425
Take a look here:

http://www.mvps.org/vbnet/
0
 

Author Comment

by:MatthiasK
ID: 2535429
Edited text of question.
0
 
LVL 3

Expert Comment

by:paulstamp
ID: 2535430
hes... thats the same link as I listed above !!
0
 
LVL 20

Expert Comment

by:hes
ID: 2535449
paul, yes I hadn't refreshed the page when I clicked submit comment. So your comment wasn't up yes.
0
 

Author Comment

by:MatthiasK
ID: 2535450
Hey Catouch-looks good- thanks
0
 
LVL 3

Expert Comment

by:paulstamp
ID: 2535455
Huh ? The right-click was what you were looking for ?????
0
 

Author Comment

by:MatthiasK
ID: 2535462
paul, sorry you should get the points,was my mistake- how can I pass
some points to you ??
0
 
LVL 1

Expert Comment

by:Catouch
ID: 2535466
Sorry paulstamp,
I'd give you the points if I could!!
0
 
LVL 3

Expert Comment

by:paulstamp
ID: 2535469
Huh ? The right-click was what you were looking for ?????
0
 
LVL 3

Expert Comment

by:paulstamp
ID: 2535475
Not to worry... of course catouch could ask me a question for 200 pts !!!
0
 

Author Comment

by:MatthiasK
ID: 2535484
paul, sorry you should get the points,was my mistake- how can I pass
some points to you ??
0
 
LVL 3

Expert Comment

by:paulstamp
ID: 2535511
Could ask another question marked for my attention and then wait for me to reply... but then you'd lose another 200 points. Dont worry about it !
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question