Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I put default images and captions in my class?
Message
De
11/08/2004 01:30:33
 
 
À
09/08/2004 23:25:07
Czarina Joyce Villanueva
Innovision Systems International
Manila, Philippines
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00931505
Message ID:
00932243
Vues:
23
>It's not working! The Text remains the same "bbButtonOk1" upon dropping it in my form. The image line gives me an exception error: "An exception occured while trying to create an instance of bbButtonOk. Exception was "Images\newreq.bmp"

Sounds to me like your bitmap isn't located where you're saying it's located since it's throwing an Exception like you've said. Fix that problem first and that might take care of the .Text not being right (possibly because the button just isn't instantiating correctly because of the image problem).

You could try posting your revised code here again ... you may have missed something.

~~Bonnie
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