VS 2008 NotifyIcon Has Multiple Icons?
Feb 1, 2010Why is it that when my form loads, I have multiple Icons for the notify Icon although I only want one? How do I fix this?
View 3 RepliesWhy is it that when my form loads, I have multiple Icons for the notify Icon although I only want one? How do I fix this?
View 3 RepliesI'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 RepliesHow do i get multiple icons in a project for use with shortcuts OUTSIDE the project..
View 7 RepliesContext: I'm working with a relatively simple winforms application, written in VB.NET on the .NET 3.5 framework in Visual Studio 2010. Issue: The FormLoad event creates two threads when the program is opened. One handles automatic update checking and the other performs a time consuming task syncing files with the internet. These threads are initialized as follows:
[Code]....
I'm trying to embed 3 icons into a VB .NET exe. After searching for a number of hours, I ended up using this page as a guide. I made a .res file with my icons. But I cannot, for the life of me, find how to to import that .res file into my project using the IDE. The above mentioned guide mentions something about that, but no "Resources" group box is available in the Application tab of the properties Page of the project.
After more searching, it seems that the only way a .res file can be imported is by using the /win32resource compiler switch. I can use that switch only if I use the command line to compile my project. Is there any way I can add that extra compiler switch in the IDE, so that every time I compile, the .res file is automatically imported? I'm using VB in VS 2008.
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 RepliesIs there an easy way to add more than the default icon to a project, giving the user a choice when Create Shortcut/Change Icon is used?I can find nothing recent on this anywhere.
View 1 Replieshow can i get contextmenu information from my system tray programs? i have the process handle + the notifyicon handle, but GetMenu doesn't find the contextmenu
vb
Public Declare Function GetMenu Lib "user32" Alias "GetMenu" _
(ByVal hwnd As Integer) As Integer
[code].....
why is the notifyicon not working at all?i added it to the form filled the text and title and just to see it i put the following in the Form1_Load
NotifyIcon1.ShowBalloonTip(100000)
NotifyIcon1.Visible = True
i run it and nothing, no balloon ... why? what am i missing? my OS is Windows XP Pro SP3s...
Im trying to make it so when the user closes the form it it will pop up a ballontip on the notifyicon. But when i do this I get this error..[code]
View 2 RepliesI have a program which when you press a button it minimises to a notifyicon in the system tray then you right click to bring up a contextmenu which allows it to be maximised again. What I want to do is add a shortcut, ctrl+shift+P for example so when that's pressed the program maximises again. But at the moment the only shortcut I can get to work involves right clicking the notifyicon before it works?
View 4 RepliesHow do i add in notifyicon and and a Menu for it?
View 1 RepliesTortoiseSVN and Dropbox both have Windows shell extensions that make file icons within Windows Explorer show a small icon beside the main one, showing the file's status - has it been synced, etc How can I make my application show icons beside files like that using the Windows API? Or is there some file attribute to do that?
View 1 Replieswhy when I am Closing the program by clicking on the X button, the NotifyIcon did not closed? it just stay there until I move my mouse over it....
View 5 RepliesI've create a VB2008 app that upon clicking the applications Start button it creates an icon in the taskbar that is visible to the user upon creation, it also shows a balloon tip at the time of creation. This all works great when the program starts but once the balloon tip timeout value has elaped, the icon, in Windows 7, disappears from the visible portion of the taskbar and becomes hidden, which is only visible if the user shows the hidden icons.
My question is this...... In the VB2008 program is there any way to set the behavior of the icon so that it remains visible on the taskbar instead of allowing the icon to become hidden?
The original design of the program was to get an environmental variable, display the value of that variable in the balloontip, hide the form and then check every 10 minutes for a change in that environmental variable. Once the form was hidden the user could see that the program was running by the presence of the icon in the taskbar and if they hovered over the icon it would display the current value of the external variable. Also if the user wanted to return the form to it's full size all they had to do was click on the taskbar icon. With Windows 7 if I hide the form and the icon is not visible in the taskbar because it too is also hiddem this may create a problem for the user as they may not even be aware that Windows 7 hides the icon. So....Is there anyway to insure that the icon remains in the Windows 7 taskbar or is this a case where I need to re-evaluate my program design?
how i could get the icons positions i made some code to get the file names and everything but wanted to know how i could get there positions! also i found some codes with google but most of them where in vb6?
View 10 RepliesI'm application to change some icons, and I'd like to have a window to show different dll icons.
View 11 RepliesHow can i access the other icons for the menustrip control?When you add a menustrip, icons as new, open and save is allready included, but i want the other ones, like undo and such.
View 7 RepliesJust installed VB 2008 Express and I got black icons.
I've tried restarting/reinstalling, but doesn't fix the problem.
how would i count how many icons the desktop has on it? and if i could can i read them
View 1 RepliesI'm extracting icons from running processes and then adding them to a ListView. Some processes don't have icons or I can't get access to them, so the icons are sometimes all mixed up. The following is how I'm extracting the icons:
[Code]...
Im Using This Code To Convert Image To Icon , But The Icon File Quality Is Bad, How I Can Increase Its Quality..[code]
View 2 RepliesI have a base form which has toolstrip. I am loading few icons to the toolstrip through the code as given below
mnuFind.Image = Image.FromFile(Application.StartupPath & "ImagesSearch.ico")
mnuSave.Image = Image.FromFile(Application.StartupPath & "ImagesSave.ico")
This code is in the form load event of the base form.
At the design time the images are displayed in the form.
The problem is in the inherited form. The inherited form is not loaded in the designer window. It gives the following error.
The service System.Windows.Forms.Design.IEventHandlerService already exists in the service container. Parameter name: serviceType
Some times it says it cannot find the image in the installation path of Visual studio.
If I remove the icons loading in the base form it works fine.
but the problem is that he don't print the icons.And this I never have to test until nowI can add anything like a color and other stuff but I do not know how to solved this.
Private Sub PrintDocument1_PrintPage(ByVal sender As System.Object, ByVal e As System.Drawing.Printing.PrintPageEventArgs) Handles PrintDocument1.PrintPage
'Headings
[code]....
I am having a problem I have created a program which will create Shortcuts by using CLSID. (Edd Bott say God Mode)The problem is it runs fine on some computer but in other it did not work fine.
View 5 RepliesI'm migrating VB6 application to VB.NET 2008In the old app I have a toolbar with icons which are stored in an imageList.Now I can't find how to link the imageList to toolbar (which is now called "ToolStrip"). It's so confusing.
View 1 RepliesI am having a problem I have created a program which will create Shortcuts by using CLSID. (Edd Bott say God Mode) The problem is it runs fine on some computer but in other it did not work fine.
View 1 RepliesI was able to extract icons from the current running processes and then put them into a ListView.
I am trying to do the same with files in a specified directory:
vb.net
[Code].....
When I use this code, I get an error stating: "'MainModule' is not a member of 'System.IO.FileInfo'." If I remove the very first line of the sub that specifies the directory, that error obviously goes away.
So, is there another method of extracting the icon? Or must I declare the directory in another way?
I'm getting ready to check MSDN to see if I can something withing the FileInfo Class,
I would like to make a image in the form representing the icon and a label below it to represent name but is there a easy way to do this.
View 2 RepliesI need to obtain a list of desktop icons and add them to a ListView. I'm currently doing this:
[code]...
It points to the direct path the icons should be located under the user profile. However, for some reason I've yet to determine, not all of the icons are in this directory.