|
-
Aug 18th, 2003, 06:35 AM
#1
Thread Starter
Member
Load Icon in vb.net
Hi
The way I use to set Icon in VB6 at runtime for all my forms for any app. was Me.Icon = LoadPicture(App.Path & "\XYZ.ico").
How can I set Icon at runtime to a form in Vb.net?
Thanx.
when u get an error, means u r code getting executed
-
Aug 18th, 2003, 10:32 AM
#2
Hyperactive Member
why do you want to set it at start up?
Why not set the forms Icons at development time?
-
Aug 18th, 2003, 11:23 AM
#3
you mean like this...
VB Code:
[FONT=courier new][color=blue]MyBase[/color].Icon = New Icon("C:\6.ico")[/FONT]
~
if a post is resolved, please mark it as [Resolved]
protected string get_Signature(){return Censored;}
[vbcode][php] please use code tags when posting any code [/php][/vbcode]
-
Aug 19th, 2003, 08:48 AM
#4
Thread Starter
Member
Hi
Thanx for your reply
§tudz if I have a project with forms say around 70 - 80 and suppose somewhere down the line if I have to change .ico file then I have to change it alltogether in each form manually, rather over here change the file name thats it.
dynamic_sysop this is what I want Thanx
when u get an error, means u r code getting executed
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|