|
-
Jun 23rd, 2001, 11:21 PM
#1
Thread Starter
Addicted Member
App Icon (EXE Icon)
In the program properties you have the option to change the project icon. The question is how can I change this in runtime and continue to use this icon for my EXE file. The first icon in the resource file has for some reason decided to become my icon at the moment, for some reason, I dont know.
Can I set the icon as one of the resource file icons or something similar.
For an example I believe the WinAmp has this ability to change the EXE icon and the icon for related file types. I only need to know how to change the EXE icon.
Thanks
-
Jun 23rd, 2001, 11:49 PM
#2
Something like this?
VB Code:
Private Sub Command1_Click()
Set Icon = [color=#0000a0]LoadPicture[/color]("C:\MyIcon.ico")
End Sub
-
Jun 24th, 2001, 12:12 AM
#3
Thread Starter
Addicted Member
What I want is to be able to change the icon seen in Windows Explorer etc for my EXE file. So I need a permanent way of changing the icon so that the icon is changed even when my program is not running.
-
Jul 1st, 2005, 10:37 PM
#4
New Member
Re: App Icon (EXE Icon)
I'm finding something like that too, pls let me know if u got it!
-
Jul 1st, 2005, 11:04 PM
#5
Re: App Icon (EXE Icon)
I kind of doubt that they will responde since this thread is over 4 years old. 
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jul 1st, 2005, 11:21 PM
#6
Re: App Icon (EXE Icon)
RobDog888: You were not yet here when it was asked hence no reply to it?
-
Jul 1st, 2005, 11:26 PM
#7
Re: App Icon (EXE Icon)
You mean today or back in 01? I was here 2 months before this thread.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jul 1st, 2005, 11:42 PM
#8
Re: App Icon (EXE Icon)
Ooopppsss.... I slipped.
-
Jul 1st, 2005, 11:48 PM
#9
Re: App Icon (EXE Icon)
This should show how to do it.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
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
|