Icon Making
Hi, i would like to make an app that can change another .exe's icon. It could load icons from other exe's also. Is this possible? is there any ocx or bas files? Thanks.
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
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!!!!!
Making An Icon
Hello, I'd like to make an icon file I can use for my program. Are there any good programs out there that will help me make them? Possibly free
Thank you,
Harb
Making An Icon
Hello all,
I want to make an icon for my program title bars and shortcut. What graphics programs do you guys use to create those .ico files?
thanks so much.
Making An Icon
Hey, I want to make an icon for my program..and i think it has to be a .ico Correct? If so, how do i make a .ico picture..like what program do i use to make it and stuff?
Best Icon MAKING Software??
I've searched the web, and literally THOUSANDS of programs out there
I've seen a few snag type programs which extract .ico's from existing programs...
I'm looking for something that will take a .bmp or a .jpg and convert it to a .ico
Just hoping someone here has found something like this that is a great utility.
Making A Title Bar Icon..?..
Thanks in advance guys! I would like to draw my own little title bar icon for one of my applications. I would also like that same drawing to be the desktop icon for that application. Paint? What do we do here?
jon
Making An IDE Usercontrol Icon...
Oh dear, no sooner made an expert than I'm asking questions again...... oh well, no matter.
Real simple question, is it possible to make an icon for my user controls to show up on the controls list in the IDE, to replace that silly generic usercontrol icon, because when I make an OCX with a number of ucontrols in it, the icons all look the same. And if it is possible, how?
Cheers [img]images/icons/wink.gif[/img]
Icon Making Question
How do you change a JPEG, Bitmap, GIF, or TIFF into an Icon file that can be used on a form. I tried changing the .bmp to .ico. It seemed to work (it changed the file into an icon) but it isn't usable on any of my VB forms (I get an error saying incorrect use of a property).
Making An Icon Editor
i would like to create an icon editor in vb but im unsure as the best way to go about it
i would like a main window, with a grid like structure, each "box" in the grid representing a pixel of the icon, and a smaller window which shows a preview of the icon your making
the icon size must be variable (i.e. i can make icons of size 16x16 and 32x32 pixels and the program will cope accordingly)
so far the only options i can think of are creating a huge mass of command buttons (or picwins), making them size 1 so each button would represent a pixel, but that seems a waste
the other option that my friend thought of was to have one picture window, and some functions which would figure out where the mouse was on the window and colour the square on the window accordingly, but i havent the faintest idea how to do this, or if its possible
if anybody could post any suggestions on how to go about this etc itd be MUCH appreciated, thankyou!!
Making Icon Image?
Hmmm, how do you change the icon on the top left of the application?
Also how do i change the icon of the .exe file ..... thanks.
Major Newbie here .
Making Icon Editor
hey all... i have made a program similar to paint and i want to know how to make an icon editor and creator... maybe even an ani creator. so ... i have my form and now i dont know how most ppl make the little boxes that represent pixles... how would i do that for starters?
thanks all... ne i deas for the prog would be nice 2
Making A System Tray Icon
I saw it done once, about a year and a half ago, but I kinda forgot how to do it. Basically, I want to make a program that will not be seen in the taskbar (like what you see below, a little box that says Extreme VB - Make a...), but to be placed down with the system tray (that holds the time/date, etc.).
So, any direction that I can be pointed out to would be apprishiated. I need to place the icon in the tray as well as remove the application from the taskbar.
Thanks,
Sort
Making Taskbar Icon Blink
I am building a personal chat server, and can't for the life of me come up with a way to make a taskbar icon blink, like AIM's. Could anyone give me a hand on this?
Making The Mouse Icon Invisible!
Use the ShowCursor API.
Code:
Option Explicit
Private Declare Function ShowCursor Lib "user32" (ByVal bShow As Long) As Long
Private Sub HideCursor(Optional ByVal bHidden As Boolean = True)
Call ShowCursor(Not bHidden)
End Sub
Usage:
To hide the cursor, use:
Call HideCursor
Or:
Call HideCursor(True)
To show the cursor, use:
Call HideCursor(False)
Note: If you hide the cursor "twice" or more, you will to show it "twice" or more until it appears, and vice versa.
------------------
Yonatan
Teenage Programmer
E-Mail: RZvika@netvision.net.il
ICQ: 19552879
Making An Icon Follow Mouse
im making a game that a want to be a shooter but i cant get the icon to follow the mouse when i move it how would i do that?
Edited by - Split on 12/3/2005 3:00:03 PM
Making SysTray Icon Stay Always Visible?
I making a small app that runs primarily from the systray and responds mostly by the user clicking on the systray icon. I know that if right click on the taskbar, you can go to Properties > Customize... and change which icons always show/never show/only hide when inactive.
I was wondering if it is possible to modify that data myself and make my program always show by default instead of show when inactive. Does anyone have any idea how I would go about this? Thanks.
Making Icon-shadows Like The Xp Style Does<RESOLVED>
I made a container control that has a rollover button that changes both the border and the icon when the cursor is over it. It looked cool enough that I decided to make my own button control that would work the same with any icon added.
In xp the icon shifts up and to the left and shows a shadow when the cursor is over it. Just wondering what the best way to duplicate this would be. I think I have figured out how to work the apis to overlay a shadow with the standard icon. Does anybody know how they do this in xp? I could either create a temp icon with the shadow each time, or I could create and save several copies when the program loads...one for disabled state, one for pressed, and one for mouse-over, then just show the right one at the right time.
I am new to this graphic stuff so any ideas will be most appreciated!
God Bless America
Edited by - IDontKnow on 2/3/2004 11:51:23 AM
Making A Menu Pop Up When You Click On A Sstem Ytay Icon.
Hey guys I have a system tray icon, but when I click on it I would like my menu that is already on my menu bar to show.
Dooes anyone know how to do thaT?
I tried to integrate this code into my project.,,
VB Code:
Private Declare Function Shell_NotifyIcon Lib "shell32" Alias "Shell_NotifyIconA" (ByVal dwMessage As Long, pnid As NOTIFYICONDATA) As Boolean'declaration for putting the application to system trayPrivate Type NOTIFYICONDATA cbSize As Long hwnd As Long uId As Long uFlags As Long uCallBackMessage As Long hIcon As Long szTip As String * 64End Type 'declare constantsPrivate Const NIM_ADD = &H0Private Const NIM_MODIFY = &H1Private Const NIM_DELETE = &H2Private Const WM_MOUSEMOVE = &H200Private Const NIF_MESSAGE = &H1Private Const NIF_ICON = &H2Private Const NIF_TIP = &H4 'The following constants are used to determine the mouse input on the 'Left-clickPrivate Const WM_LBUTTONDBLCLK = &H203 'Double clickPrivate Const WM_LBUTTONDOWN = &H201 'downPrivate Const WM_LBUTTONUP = &H202 'up 'Right-clickPrivate Const WM_RBUTTONDBLCLK = &H206 'Double clickPrivate Const WM_RBUTTONDOWN = &H204 'downPrivate Const WM_RBUTTONUP = &H205 'up 'Dimension a variable as the user-defined data type.Dim nid As NOTIFYICONDATA Private Sub Ex_Click()Unload MeShell_NotifyIcon NIM_DELETE, nid 'Delete the form's icon from the sys trayEnd Sub' one main menu by Caption"Menu" name "TrayMenu"' one sub menu by name caption "Exit" name "Ex"' one sub menu by name caption "Show" name "Show" Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)Dim msg As LongDim sFilter As Stringmsg = X / Screen.TwipsPerPixelX Select Case msg Case WM_LBUTTONDOWN MsgBox "you clicked me!" Me.PopupMenu TrayMenu 'if u want u can call the popup menu Case WM_LBUTTONUP Case WM_LBUTTONDBLCLK Case WM_RBUTTONDOWN Case WM_RBUTTONUP Me.PopupMenu TrayMenu 'call the popup menu Case WM_RBUTTONDBLCLK End SelectEnd Sub Private Sub Form_Resize()If Me.WindowState = 1 Then Me.Hide nid.cbSize = Len(nid) nid.hwnd = Me.hwnd nid.uId = vbNull nid.uFlags = NIF_ICON Or NIF_TIP Or NIF_MESSAGE nid.uCallBackMessage = WM_MOUSEMOVE nid.hIcon = Me.Icon 'u can give a tool tip text here nid.szTip = "My System Tray Message" & vbNullChar 'Call the Shell_NotifyIcon function to add the icon to the System Tray, defulte form's icon Shell_NotifyIcon NIM_ADD, nid ElseEnd IfEnd Sub Private Sub Show_Click()Me.WindowState = 0Me.ShowShell_NotifyIcon NIM_DELETE, nid 'Delete the form's icon from the sys trayEnd Sub
so the icon will show up in my app, but no menu, and the menu is made.
Help With Making This(HARD! One)Icon And Exe Binder- Open To Read..
here it is
Code:
1) the code must be small( or make it as small as possable)
2) there are other things that my app does( the code youmake must be able to intergrate into it)
3) thereisnt any user interaction.
4) any thing else we'll hammer outlater
5) im loaded with $$$bills
textPath.Text = full path Ppath & Pfilename
Ppath = path c:~~~
Pfilename = the exe's filename
first, i need a icon extrator, it will create an icon( the defalt icon of the exe){icons name is the exefiles name ~~ exename.ico)
in the dir of the exe, the exe path is textPath.Text
that icon will stay there and then it will contineue to the next line of code, wich is the exe binding.
textpatha.Text<- this is the one that startsup first] is the 1st file to be binded and textPath.Text
is the 2nd, and the icon of the 2 binded files exe result is that icon i talked about a few lines ago.
the result of the binding is put in the windows temp dir{ + its own subfolder} as the orginal exe filename,
then it will kill exename.ico, kill the orginal exe, name; copy the binded result in the wintemp dir to
the path of the orignal exename, then cleanup and move on. there must be a code to see if the wintemp subfolder it makes is already there -
binding( join 2 exes togeter so they both run at the same time)
_____________________
freel free to email me!
*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
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
|