VS 2008 Create An Icon File?
May 4, 2011
How to create an icon file? Is there anybody could give me an idea on how to create an icon for my vb.net application? How do I change or create a new icon for a vb.net application. If I have a chosen saved images and want to use it as an icon on my application, how possible is it? How do I make it? I'm using vb 2008 express edition.
View 7 Replies
ADVERTISEMENT
Jul 8, 2010
I've always had to use a program that does this stuff for me, but I'd like to just make my own program that does this. I've already got the individual bitmap images of the 3 sizes (16x16, 32x32 and 48x48) for the icon file and I usually find use some shareware program to create the icon file from the multiple bitmap images for me but I'm wondering if it's possible in .Net to create an icon file (*.ico) that contains multiple physical icons in it.
View 12 Replies
May 3, 2010
I'm attempting to remake the Explorer to customize it some more. I know how to get Name, FileSize ect. Getting the Icon is hard though.
[Code]
The code i'm using to Insert the Icon into a image, i'm getting this error: Error1Value of type 'System. Drawing.Icon' cannot be converted to 'System.Drawing.Image'
View 2 Replies
Sep 5, 2009
I have an app. that creates a new file type and it has the default windows icon for not-known extensions, is there a way to change its icon after it has been created?
View 3 Replies
Oct 22, 2009
How do I make my application open a file that is dragged over the applications icon? I am planning on being able to drag an XML file and the application goes into an import mode to create a new record in the DB. I think I may need to have an identifier in the header of the file such as ClientImg or the likes so that the App looks for that to let it know it is the proper file type. Note to JMC: I would look this up, but I do not know what it is called
View 2 Replies
Jul 20, 2009
I have been looking everywhere to find a way to extract the main icon from for example c:/test/file.exe and put the icon in for example c:/test/fileicon.ico i did find something but the icon looked dreadful, it must of been like 16 colours.
anyway if someone has managed to do this or knows how to do it please help before i go insane.
also i will settle for knowing how to do it with reshacker.exe instead which i also cant get to work.
View 14 Replies
Feb 5, 2009
I'm trying to use SHFILEINFO to get the high res icon off of a file. I've been able to get the stnadard (32X32 16 color) icons, but I can't seem to grab the high res version.
I'm using the sample code from: [URL]
I have uncommented the section for the high res icon and removed the code for the small icon. I'm still only getting the standard icon. I have also tried 'ExtractAssociatedIcon' as recomended by other threads here, but this also only gives me the standard icon.
View 1 Replies
Jul 28, 2009
I'm not sure exactly if the folder icon is in shell32.dll, but nonetheless if it is.Basically, whenever I come across a folder in a FileSystem list, I want to add the icon for a folder to the image list that I am using for the ListView. The problem is that I'm not sure how to reference a specific icon location in a icon collection in a dll.Is this possible with Icon.ExtractAssociatedIcon and shell32.dll?
View 14 Replies
Mar 3, 2010
how to find All the references to an icon file in VS 2008 using VB?
View 17 Replies
Oct 23, 2010
How can I put a gif file as the icon of a tab?
View 2 Replies
May 27, 2009
How can I change a Icon of a EXE that is already build with .Net. I know I can change it with ResHacker but is it possible to change the Icon with .Net Code.
View 20 Replies
May 24, 2012
I am working on a vb6 to vb.net migration project using VS 3.5. In my application, there is .resx file and some icons are there in this file (eg: icoIN,icoUS etc). On click of a checked listbox (which is filled with country names), the particular country flag should be displayed on a picture box control. The image of country flag is taken from the .resx file.I tried with the following code.
[Code]...
View 6 Replies
May 31, 2010
i have 8 new custom file types which go with my app, i can set them to open with me app easily using this code on a button:[code]But im a little stuck on what to change in that, ive made certain all my new extensions are unique and i have all my icons for each new file type made, i just need to be able to set them.
View 5 Replies
Apr 28, 2010
I'm sick of my EXE files only looking decent in one view in explorer (ie List or Tiles etc) because I can only figure out how to specify one icon file for my projects so it has to be a specific size and if its too big it looks rubbish at smaller sizes in explorer, and vice versa if its too small. So how can I embed more than one icon file and make it automatically select the correct one to display in explorer depending on the view? I believe you can store more than one icon in an ICO file, so do you have to just combine the various size icons into one ICO and then explorer will automatically select the correct sized on? Or is it something you have to do within the VB project?
View 7 Replies
Feb 23, 2012
I am writing an application that will cache all my files and then let me display files that I would like to display. I am wanting to extract the icons from each file as I cache them.My question is this: How can I detect if the icon from one file is the same as another icon and therefore prevent me from extracting it twice?
View 8 Replies
May 21, 2009
how can i create a icon from my app and place it in a set folder? i searched the internet, and now i know how to convert images to icons using a simple vb form and and one button, but i still can't figure out how to create a icon from my app. ;o) trujadeso much work to do and so many choices to choose from...
View 13 Replies
May 3, 2011
How to create an icon file? Is there anybody could give me an idea on how to create an icon for my vb.net application? How do I change or create a new icon for a vb.net application. If I have a chosen saved images and want to use it as an icon on my application, how possible is it? How do I make it? I'm using vb 2008 express edition.
View 2 Replies
Feb 3, 2010
I have a Icon(.ico file) in the (VB.NET)MyProject>Resources.resx file.How do I extract it in run-time as a Icon object?
View 2 Replies
Oct 10, 2011
Using VB2010. I want to create an animated icon to go in the SysTray, and I have created all the individual frames as .ico files. Now, I don't like hard coding file names in the code, so I created an ImageList with the .ico files, which I then want to walk through using a Timer. Now, apparently NotifyIcon doesn't accept ImageLists? I get errors when I try to use it. I searched the web, and saw a tip to instead pass the handle of the ImageList to NotifyIcon. So I did this in the timer:
Static Index As Integer = -1
Dim IconHandle As IntPtr
If Index = AnimationIcons.Images.Count - 1 Then
[Code]....
View 5 Replies
Mar 2, 2010
how can i create an icon (with transparency) from a bitmap?
i've tried this code, which i converted from a create cursor function which worked ok with transparency. i'm guessing its the IconInfo hbmMask + hbmColor properties?
#Region " CreateIconIndirect"
Private Structure IconInfo
Public fIcon As Boolean
[Code]....
View 2 Replies
Mar 4, 2009
i want to know how to draw cell or grid in picturebox for icon. im creating a small program that i want to include icon editor, i know how to use bitmap or GDI+ to make icon, but i want to include small icon editor like the one with VS IDE. i want to know if the 32 X 32 icon pixels was generated by 32 rows of pictureboxes and 32 columns of pictureboxes. In a real icon editor you can use different color for each pixel.
View 12 Replies
Aug 4, 2010
Decided to make my own installer. code for making a quick launch icon.This is the code im using for creating a desktop icon.
vb.net
Dim WshShell As WshShellClass = New WshShellClass
Dim MyShortcut As IWshRuntimeLibrary.IWshShortcut
' The shortcut will be created on the desktop
[code]....
View 4 Replies
Jul 25, 2009
I am working in VB.NET 2003. I have one exe file in a particular folder. I want to create desktop shortcut icon for that exe file. How can I do this?
View 1 Replies
Aug 27, 2010
how to create a contextmenu for system tray icon vb? Where can I find an example of it? I am building a service with a system tray icon to start pause and stop it however I don't seem to be able to display the contextmenu on click event. Do I need a form for the context menu?
View 1 Replies
Jul 22, 2009
Does anyone know of a way to create a desktop icon when installing an application, in addition to adding it to the start menu.
View 5 Replies
Jun 4, 2009
how to create the contextmenu near the system tray icon that i've created? the current contextmenu will always "run" to certain position. How to do that? especially the second parameter of the following:
Me.contextMenu1 = New System.Windows.Forms.ContextMenu
Me.menuItem1 = New System.Windows.Forms.MenuItem
Me.menuItem2 = New System.Windows.Forms.MenuItem
Initialize contextMenu1
[Code]...
Me.contextMenu1.Show(Button1, New Point(0, 0)) .NET not allow the control to be the notifyicon, so i added a button.hOW to make sure that the contextmenu always firm on one position , ie, at the system tray icon that i've created. Once i click on the icon, it will show this contextmenu.
View 2 Replies
Jan 10, 2010
I need a clue where to start: how to create an icon that will show up at bottom right of explorer bar.. maybe I don't what its called. I guess windows named that "system tray icon".
View 3 Replies
Jan 12, 2010
I am trying to create an icon in the system tray as status for num-lock, caps-lock, and scroll-lock, because my keyboard that came with my computer does not have status lights on the keyboard, and only on the system tray.
The program however that came with it, does not like to work when I have some games open and stuff, it works usually in IE, and most other programs, but some programs just seem to interfere with it.
I have made a new program on a 1 mili-second timer for the 3 and it seems to work just fine in the application, I was wondering now if I could move that over to the system tray and make it look like the one that came with computer, it has 3 different icons, and the icon changes for on/off and has a tooltip status change on mouse-over showing status of on/off.
View 3 Replies
Oct 23, 2009
I have an image upload facility in my asp.net project, when uploaded a thumbnail of the image is generated and saved to disk. What I would ideally like to do is apply some nice styling effects to this thumbnail image.. similar to the look of the icons on an iPhone.. perhaps a slight gradient, smooth rounded corners, and a border.
View 3 Replies
Oct 25, 2009
I want my program to be able to create a '.txt' file when it is run for the first time, with the date and time the program was accessed, and to be able to add new 'logs' of program history every time it is accessed. What i mean is that i want my program to be able to create a '.txt' file, and then fill in the dates and times when the program is opened.
View 7 Replies