icon not showing in taskbar when windows form minimized - vb.net

I have a winforms application on Windows 7 64 bit with Visual Studio 2019
I have created other apps that do not have this issue
icon not showing in taskbar when windows form minimized
The main difference with this app is I am using a button on one form to minimize the form
Both project forms are configured the same Control Box = False Maximize = False Form Border = Fixed3D
I am not using ico in the title bar that should be obvious based on the forms configuration.
What I have tried is Project > Project Properties > Resources and add an ico 256 x 256 to the Resources folder that has a png file already added. This png is used in a Picture Box.
That did not fix the issue. Next I tried to go to the Application and add the ico in the appropriate place.
I also deleted the ico from the Resources folder and just added it to the project. No Luck with that.
The question is what setting am I missing?
OR How do I get the ico to show in the taskbar

Related

Replacing Webbrowser control with Listview - does Listview offer all features as Webbrowser?

I'm currently using Webrowser control on my form for navigating to paths on my PC. Everything is perfect - you can drag/drop files, cut/copy/paste them, navigate through folders, create new ones, files and icons are shown - as in Windows Explorer. Only problem I have is windows system security settings (PC at office). I keep getting Windows security alert "Do you want to allow files from this website to run on your computer?".
I wish to create Explorer on my own, so I started dealing with Listview. It's hard for my level of vb.net knowledge so before I proceed further I need to know this:
Can I show files + folders from desired path in Listview (like "C:\Myprograms\SomeFolder\") with all icons ?
Can I navigate in Listview - like when I have a folder in Listview and double click it to view It's contents
And can I drag/drop files in It and cut/copy/paste files, which will ultimately change my folders on PC ?
I'm asking this because I allready started and I've bumped into many problems - folder icons not showing (using different methods), folders and files not showing together in Listview, cut/copy/paste issues etc.
I just want to know If It's even possible. Thanks for response in advance.

vb desktop icon different from application icon

I am trying to set the icon of my application. I set the icon once before by changing the property of the form and the property of the project. Now I am trying to change the icon to a different one. The icons of the form and the application have been successfully changed, but when I copy the application to the desktop, the desktop icon still remains the previous one. Can anyone please tell me how to change the desktop icon?
Thanks,
Kai
If you change the icon properly on the form it should get visible in the Taskbar immediately as soon as you start your application.
However even if you did change the project icon properly and therefore your executable has the correct (new) icon (check that in your \bin-folder) you can get the wrong (old) icon from the desktop because you system might retrieve it from the icon cache.
Please check the following link to understand that topic and to see how you can enforce windows to renew its icon cache.
Win 7--: http://www.winability.com/repair-windows-desktop-icon-cache/
Win 8++: http://www.winability.com/how-to-erase-icon-thumbnail-cache-windows-8/

Switching between Phone/Windows XAML editor preview in VS2013?

I have a universal app for Windows and Phone in VS2013, and I have a page in the shared project of the solution.
When creating pages in the Windows project, the XAML preview window shows a tablet.
When creating pages in the Phone project, the XAML preview window shows a phone.
When creating pages in the shared project, the XAML preview window shows a... tablet.
As I try to put more pages in the shared project, I'd like to have a quick way to sanity-check my UI on both form factors without having to actually run the project. Sadly, there is no option in the Device panel to switch between preview devices.
How can I preview the XAML of a shared project page in the phone without actually running the project?
You don't need to run the project.
There is an easy way to switch between the different design views using the dropdown that is present above the xaml code of the shared project as shown below.
Step 1: Locate the dropdown
Step 2: Click on the dropdown arrow
Step 3: Change the Project to .WindowsPhone
Step 4: Change it back whenever required.
Hope it helps
In your XAML View. Above the XAML code in the top tool bar you can find a dropdown that will let you switch between YourApp.Windows and YourApp.WindowsPhone. This way you can easily switch views.
Hope it helps.

Change Icon on Task Bar for VB.net

I have a program in vb.net which is ready to be published.
Its a small detail, but I'd like to change the icon on both the published app shortcut on my desktop, but more importantly on my taskbar (like where the chrome circle shows up).
Is there any way to accomplish this?
To change the main icon for your application, go to the "Application" tab under the project property page, and change the "Icon:" combo box.

How to make a custom tile in Windows 8 from an old program?

I've got an old Visual Studio 6-made program, and when I install it on Windows 8, it has a default tile. Problem is, it's the smaller tile and the name of the program is too long to fit in comfortably, plus the icon is resized and looks bad.
Is there a way to create a custom Windows 8 tile that's got a different size and icon, without actually creating a specific Windows 8 program? I'd like to be able to do this with batch files as well if possible.
Metro apps in Windows 8 have the full experience of creating live tiles, secondary tiles, wide tiles, etc. Only Metro apps can customize their tiles, not desktop apps. The tile APIs exist only in WinRT for Metro apps.
For a desktop app like you have (the "old Visual Studio 6-made program" that is not Metro), you can try this: http://msdn.microsoft.com/en-us/library/windows/desktop/cc144119(v=vs.85).aspx. Make sure to click on the other topics in the left sidebar too.
Edit:
This method can change the icon for older applications. Since the icon is what is used in the start menu, this is a way to give older apps a more attractive static icon in the new start menu.
Whilst live tiles are not supported for desktop applciations in Windows 8, you can improve the appearence of the icons by ensuring your Icon resource has sizes for 48px, 64px, 96px and 128px
To create the tile, right click on the executable (.exe, .com, .bat, etc), then left click on "Pin to Start".
To resize the tile, right click on the tile and select the size you want.
To move the tile, drag and drop to where you want it.
If you want to change the name, make a shortcut, change the shortcut name to what you want, then pin that to start.