Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error trying to use notifyIcon
Message
De
17/09/2003 10:36:07
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00829872
Message ID:
00829884
Vues:
20
This message has been marked as a message which has helped to the initial question of the thread.
I'm no VB expert, but don't you have to do something like this first:

AppNotifyIcon = New NotifyIcon

~~Bonnie


>Hoping someone can help. In my form load, I'm trying to create an icon to show that the application is running. But I keep getting a system.nullreference error on the following code.
>
>
>
>   Dim AppNotifyIcon As NotifyIcon
>   AppNotifyIcon.Icon = New Icon("Running.ico")  <-This line bombs
>
>
>Thanks for any help
>
>Kirk
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform