New To VB (Icon Question)
I need to know how to create the icon to be displayed when creating the .exe file.
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
*Resolved* Removing Taskbar Icon In Run-time (NOT System Tray Icon)
I wrote my own mp3 player ('cause Winamp sucks ), and one of the features is a very small, unobtrusive window:
I need to remove the taskbar icon, 'cause it looks dumb with a blank icon among the others.
Anyone have any ideas? All searches keep pointing to system tray icons
___________________________
Dave Applegate
Microsoft VB MVP, ACE [FAQs]
My friend has a trophy wife, but apparently she wasn't in first place.
Edited by - Metallisoft on 3/15/2004 1:39:05 PM
Imagelist Loads 16 Colors Version Of Icon If Available In Icon File
I use some icons in imagelists controls for listviews and toolbars.
The imagelist always imports the 16 colors version of the icon from the icon file.
(if I only provide a 256 color icon in the icon file, it takes the 256 version)
Is there another "imagelist" control that can be used?
XP Icon colordepth are not supported at all.
(also not in a resource file or image control)
Thanks in advance,
Filip
Icon Problem {change Icon Back To Default}
This should be a easy one. I set a forms icon to a custom icon. How do i remove this icon and go back to the default icon? Out of all my forms 2 of them show this custom icon i wnat to remove it and go back to the standard vb form icon????
thanks
Adding Supoort For 32bit Icon As My Forms Icon..?
Hello,
Ive had a little search around and all i get is a result from vbaccelerator.
It shows support for alpha channels and 32bit icons etc.. but only for form controls and not the form itself.
Is it possible to place a 32 bit icon as my forms icon ..? so it shows smooth with alpha blending in my icon tray and task bar too...??
Updating Icon In Icon Tray ( The One Next To The Clock) *RESOLVED*
Hey all!
I have an icon of my app loaded in the icon tray ( Is the one next to the clock... isnt it? ) So... I need to update the icon sometimes, as ICQ does. I am using the delete/insert method to do this... But I would like to avoid this kind of method cause it makes the icon tray "shake". I did read sometime ago, a code that adds to the api code of icon tray the function to update the icon, without deleting it. But I am not finding it anymore.
Someone have this code to give to me please?
Thanks in advance,
Elminster
Setting Which Icon To Use When Creating A Desktop Icon During Setup
I am using CreateShellLink in Setup1 to create a desktop icon. When the icon is created, it calls a Batch file to set the working directory of my program. (I must have the program in the main directory, and files in sub directories that will change with customer numbers)
I either need to be able to set the working directory when creating the icon and call my program directly (which uses the icon I need) or set the icon I want when creating the icon.
I'm just not sure how to do either of these if possible.
Here is the code I use to call the CreateShellLink Sub:
Dim strProgramPath as string
Dim strGroup as string
Dim strProgramIconTitle as string
Dim strProgramArgs as string
''Uses The correct icon, but wrong working directory
''strProgramPath = "c:pdpipdpwin.exe"
''Use MSDOS icon and sets working directory
strProgramPath = "c:pdpPay.bat"
strGroup = "....DeskTop"
strProgramIconTitle = "PDP Payroll"
sParent = "$(Programs)"
CreateShellLink strProgramPath, strGroup, strProgramArgs, strProgramIconTitle, true, sParent
Choose 1 Icon From An Icon File That Holds More Than 1
hi everyone,
im creating a bit of a skin for the app im doing, the only prob is cuz i use icons as button there is a few cuz of the differant states they can be in.
is there a way to say have 3 icons in 1 icon file and be able to choose which icon is loaded via the loadpicture function.
all icons will be the same width, height just differant colour shades.
any help on this would be great.
cheers
Change Form's Icon To Extracted Icon
I am extracting an icon from an application, how would I change my Form's icon to the extracted icon. I've tried using
VB Code:
me.icon = loadpicture(EXTRACTED ICON)AND Me.icon = EXTRACTED ICON
Here is my code:
VB Code:
Option ExplicitPrivate Declare Function ExtractIcon Lib "shell32.dll" Alias "ExtractIconA" (ByVal hInst As Long, ByVal lpszExeFileName As String, ByVal nIconIndex As Long) As Long Private Sub Form_Load()Dim hIcon As Long hIcon& = ExtractIcon(App.hInstance, "C:WINDOWSNotepad.exe", 0)End Sub
Thanks,
Sir Loin
Add Icon To Menu WITHOUT Making The Icon Looking Awful?!?
how to add a pic to a menu, without making the pic darker, and partly unrecognizeable.
and why can other apps display 16x16 pics?!(word or vb itself...)
because if you resize the default pics (eg save.bmp) then you cannot recognize the save picture anymore.
alex
ps: the f*** sorting with the f*** mshflexgrid DOESN'T WORK!!!!!
More Than The Same Icon. (eliminate Dimmed Icon.) Any Idea?
I posted this before, in hope of getting help this time. Anyway, does anyone have any clue how I would do this,I have seen it done before but I have no clue how:
when you click on the icon for the program, instead of showing the same icon dimmed (or greyed out looking) , how would I change it into a whole different icon. Keep in mind that the program that the icon changes for is not running, so is there any kind of code that will assign another icon you specify instead of the same old dimmed icon? I know the program that had the icon like this, was made in vb (i dont know which version) i use vb5 ent. , but if anyone could help me out, it would be
appreciated, thanks. And if I was not specific enough, then... what I mean by this is , ok, for every file on your computer, you have an icon for it, and when you click it , it lookes like its dimmed. well, instead of showing the same icon dimmed when you click on it, I want it to show a totally different icon for the program that the code for this is in. so , basicly, I write the code to do this in visual basic, I then compile it, and now every time you click on the .exe file for this program, it shows the
other icon, and when its not highlighted, or being clicked it shows the other icon.
Changing Dimmed Icon To Totally Different Icon
does anyone have any clue how i would do this,i have seen it done before but i have no clue...
when you click on the icon for the program, instead of showing the same icon dimmed, how would i change it into a whole different icon. keep in mind that the program that the icon changes for is not running, so is there any kind of code that will assign another icon you specify instead of the same old dimmed icon? i know the program that had the icon like this, was made in vb (i dont know which version) , but if anyone could help me out, it would be
appreciated, thanks.
what i mean by this is , ok, for every file on your computer, you have an icon for it, and when you click it , it lookes like its dimmed. well, instead of showing the same icon dimmed when you click on it, i want it to show a totally different icon for the program that the code for this is in. so , basicly, i write the code to do this in visual basic, i then compile it, and now every time you click on the .exe file for this program, it shows the
other icon, and when its not highlighted, or being clicked it shows the other icon.
Creating Executible Icon {create Icon}
After reading the thread on creating skins, I wanted to post how to create and where to create an icon. I really don't wan the default VB icon for my program. So, can anyone help me wit info on how to create one. I had a program that creates icons but I got rid of it sometime ago. The free-er, the better.
Setting TreeView Icon Via Icon Handle
is there a way to set the treeview image from an icon handle?
The article regarding ExtractIcon (http://codeguru.developer.com/vb/articles/2010.shtml) by Aaron Young shows how to get the associated icons for files. I would like to be able to set the icons in a treeview with some of these icons. The icons are returned with the icon handle.
Thanks
DS
Icon In Taskbar And Hand Icon
Hi fellas, couple small questions.
We've got a VB app that when you minimise it it sits in the tray with the nice logo/icon we have given it. Apart from Windows 2000 where we dont get the icon?? Anyone have any ideas?
Second question, We'd like to change the mouse cursor to a hand Icon, the one in the shape of a hand...now we think that that isn't available and may have to create our own cursor..but would like to know..
Thanks
Tony
Hot To Put The Application Icon On The Icon Tray
Hi guys! I'm new here and I am currently finishing an application and I don't want it to appear on the task bar instead I want it to appear on the Icon tray. Can anyone help me with my delema?
Dragging An Icon To An Application Icon.
I forgot how to implement this:
Drag a .doc file icon onto a Winword.exe shortcut icon
and Word is launched with the document open. I had
implemented this with some VB apps and as far as I can
remember it was done by trapping the command line args
with the Command() function and checking the registry
for the associated file extention for my app and then
opening the file using ordinary fiile opening methods
any way we choose. What I want to ask is:
(a) Is this the approach? Or it was done some other
way and I am confusing things?
(b) What has love ..err.. I am sorry... What has DDE
got to do with it?
- Sathyaish.
Wish To Have Activex DLL Icon In ALT+tab Like Icon In Task Bar
" I have a peculiar problem related to use of activex DLL.
I have a Activex dll That has a form with its specific icon.
The dll is used by the a application which has its other icon.
I have a button in the exe which uses the dll's methods and displays the form in the dll.
I can see the the exe's icon and the dll's forms icon in the taskbar that is fine but If I press Alt+TAB then I see default window icon in the list in debug mode
if I make an exe then I see both The icons of the exe in ALT+TAB
I have provided a icon of a form in the Activex dll before I had compiled it
Is there any method which allows me to see the dll's form's icon in the Alt+Tab"
No Form Icon With Taskbar Icon
My form has no visible icon, but when it is shown in the taskbar it has the default Visual Basic icon. How can I change the Visual Basic icon in the taskbar without adding an icon to my form?
Set An XP Icon For My Application's Icon
Hi!
It's possible to load an XP icon as program icon?
For XP icon I mean TrueColor icons with alpha channel. I found an example to load those icons at runtime, but none to load icon into my application.
can u help me?
thanks
simons
Alt+Tab Display Icon <> App Icon?
Is there any way (in VB) to make the Alt+Tab display icon use the form icon,
and not the Application icon? I'd like each of my forms to have their own
icon when the user presses Alt+Tab.
Thanks in advance.
My Xls Files Now Have An Icon Of VB's Icon!
Hi guys,
I created a VB app that opens XLS files and saves to a new XLS file. The app works fine, but I noticed that if I go to Windows Explorer, all my .xls files now have an icon of VB's, as if it were a VB app. I don't want this to happen. How can this be prevented?
ANy help would be appreciated. THanks!
App Icon Colour Different To Desktop Icon Colour
i've added an icon to an app i've written. when a shortcut is added to
the desktop the icon colour is as expected. hwoever, when i run the
app, both the taskbar icon and the icon on the app lose colour.
if you need further details please ask.
i've searched for an answer on numerous occasions but cannot find
anything.
your help would be greatly appreciated.
EXE Icon
I have an app where I have set the app icon in the project properties. However, when I create the exe it shows a different icon in the folder. Has anyone had this problem and if so, how can it be resolved?
Thanks for any advice.
MDI Icon
Hi,
I was just wondering is there is any way to change the little icon, that is displayed in the top left when a MDI child form is maximised? or even if you can disable the icon or change it any way? maybe make it look nicer
Also while im posting ... Is there a way to get the toolbar control to display across the bottom of a form?
Icon From Exe?
I created some exe files and associatted an icon to it. That exe file creates shortcut on desktop with icon set to some from shell32.dll. I want to set shortcut icon same as the exe icon? How can i do this(from the same exe file)?
Thanx in advance!
Icon For App
If anyone is bored, I suck at designing art and such, so if there is nothing else to do would someone make a little filmstrip icon for my app, thanks.
Icon
where can i get a collection of free and nice icon from web
thanks
Icon
when i compile i want to get rid of the ugly icon tha vb uses as standard, can i change my settings to make my own icon somewhere?
Icon
All the programs i've made, the icon just comes out as a like white square with green on top, this time i made an icon for form1, but when i made my project a .exe, the icon before you open the program just came up as a blank program lookin thing, why?
Icon
Hi,
If i specify an icon file within the Form's Icon property. When i go and make the Executable and distribute that to my users. Will the icon that i specified be scaled accordingly in their Windows environment? Places like their desktop, the start menu, the taskbar, and the application's window.
Another question, how do i specify an icon for a file type that my application uses? If for an example, my application depends on a file type with extension, .FFF, how do i make their system recognize that they should use a particular icon for it?
Thanks,
Jimmy
MDI Icon
Why can't I set the ICON property for an MDI form? I've tried setting it but it gives me an error when I point to an icon file that works OK in a regular form or a child form?
-xmen64
Icon
hi:
how can i put the icon of word or a txt file in my exe.
i want to know the place where these icons are.
i coulnt find it.
Is There A Way To Get The Icon Out Of An .exe?
I need to be able to pull icons out of .exe's.
An example of where this is done, is when you go to the properties of a folder, hit the 'Customise' tab, and click on 'Change Icon...'. In that box, you can use the icons that are inside any .exe. I need to find a way to do the same. Is this even possible?
Icon ?
I was playing around with the icon of my forms. I accidentally changed it to None. How do I restore it back to the default icon?
Icon...
Quote:
Originally Posted by BobThePenguin
Give a form an icon. Then go to Project -> YourProjectName Properties and select the Make tab. Then in the Application frame you can choose the icon of a form to be the program's icon.
To give a form an icon select Icon from the form's properties and find your icon file.
I am trying to change the forms icon too. I made an icon named xyz.ico using "IconLover" but when I select the file by going to the form's properties
->icon I get a message saying "Invalid Picture". Any advice?
Edit by Moderator: Please start your own threads
Icon...
Hi, i dont know howto make my application have an icon...please can someone help, i have a resource file with an icon in name 101.
Thank-You
Regards.
Nathan
Get Icon From EXE
how to get icon from EXE
in Registry
[HKEY_CLASSES_ROOTQuickTime.movDefaultIcon]
(default) D:PROGRA~1QUICKT~1QuickTimePlayer.exe,-137
and i dont know how to get icon from D:PROGRA~1QUICKT~1QuickTimePlayer.exe,-137
Using No Icon
I have noted from playng around that the conventional windows executable icon (the plain white window with blue menu bar) is displayed with programs that dont themselves contain an icon. I am wondering if it is possible to do this with vb. I know how to associate an icoon with the program and that if you leave the icon blank vb compiles with the default icon which I absolutely hate. Is it possible to compile your project with no icon.
Thanx
Robert
.exe Icon
How do you change the icon for a .exe made in VB? I know that it's possible, but just not how.
Thanks.
Icon
When I create a .exe file, I notice there is the same icon all the time for it... Is there a way I can change that icon? I tried going into the properties of the .exe to change it but there is no option to change it. Any help would greatly be appreciated.
The type of file needed would probably help too... lol
Associated Icon?
I am curious if anybody here can help me out on how to add an icon to your VB application, so that if another extension type is associated with it... it will pass all those files with your selected icon.
For example, if you have WinRar installed on your system, then all the .RAR files have an "associated" icon with WinRar. Could somebody please point me to a reference on where to store the icon, and any code pertaining to it? Thanks...
Respectfully,
Eric D. Brown
Icon?
In my program, when a .exe file is selected using the Open Dialogue Box, I wish to place that .exe's icon in a picture box... I'm not sure how to do this however since the program's icons are already compiled INTO the programs themselves.
I would try setting the picture box picture as the .exe path itself... but I highly doubt it would work, any ideas on what to do?
Icon
Hey Fellow programmers.
Is it possible to set the icon of an other file? like for example word does to its .doc files? i am making a record program and want the recordfiles to have an icon.
thnx for any replies.
Ivan.
Icon
How to change the VB default icon ?
Icon
I know this may seem stupid, but how to you change the icon of a .exe file you export? Do you do it in Microsoft Visual Basic? If so, how?
Icon
Does,anyone know how to change the icon form start-up menu using vb.net
Many thanks Mark
|