Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shortcut on a form
Message
De
28/09/2001 15:42:17
 
 
À
28/09/2001 15:02:19
Mike Keithley
North Instruments Inc.
Cleveland, Ohio, États-Unis
Information générale
Forum:
Visual Basic
Catégorie:
Autre
Divers
Thread ID:
00561908
Message ID:
00562074
Vues:
20
This message has been marked as the solution to the initial question of the thread.
>>>Is any way to place a shortcut on a form? I need to put shortcuts to all files in a given directory. Any idea? Thanks.
>>
>>What does the shortcut need to do?
>>
>>You could probably do this with a listbox / listview control, placing code in the double-click event. Or with button controls, depending on the look you want to give to the user interface.
>
>Shortcut needs to run the file. I know how to do that and, you right, double click in a button would do it just fine.
>The problem is to display appropriate icon for given file.
>Let's say if there is Excel file I want to set an Excel icon for the button.
>It's doable. I was just thinking that there is may be function around that I can use to simplify the code. (Same behavior like when you are ceating shortcut for desktop.)

This MSKB should be of help: http://support.microsoft.com/support/kb/articles/Q241/5/90.ASP
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform