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.
Printable View
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.
why do you want to set it at start up?
Why not set the forms Icons at development time?
you mean like this...
VB Code:
[FONT=courier new][color=blue]MyBase[/color].Icon = New Icon("C:\6.ico")[/FONT]
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