I'm making a taskbar for something (I'll be creating similar to the windows taskbar).
I've managed to get all process objects that would be in the taskbar, how can I get the icon too?
Thanks if you can help! I'm using VB.net so all .net answers are great!
Does the technique in this answer help?
The VB equivalent would be:
Dim ico As Icon = Icon.ExtractAssociatedIcon(theProcess.MainModule.FileName)
Related
I would like to open webpage in VB form, however in ToolBox, there is missing WebBrowser. Could someone help me, where is the problem? I am creating project
In list of tools there is nothing with
Are you sure you are using the correct windows forms?
This is what I use
WebBrowser control is not available in .NET5 or later versions. As an alternative, you should use Webview2 control. See : How to use new WebBrowserControl in .Net 5
If your project only target windows, you can use WebBrowser control by creating a .NET Framework project.
Since you cannot use webview in win forms anymore. Please try this code :)
Dim webAddress As String = "http://www.example.com/" \
Process.Start(webAddress)
I have made my VB.NET program installer, the operations with the database works very well, but a new problem presented:
On the computer where I developed the program, resolutions of my forms are excellent as I set, I install the same program on another computer in my house... and this happends
The image on the left , is the computer where I Tested... And the image on the right, is the computed where i develop the program.
I cant see the "Hide window" button on the left... (All forms of my program have this issue)
How I can fix this? :O
The solution of this problem, was playing with the dock property! Thank you Chase Rocker for your help.
http://www.dotnetheaven.com/article/anchoring-and-docking-in-visual-basic-.net
I'm developing a project on the .NET platform(VB.NET), and noticed after nearly ready maybe a bug of Visual Studio 2010. When I click to open the Form2 through Form3 it appears behind the main Form1 and not in front it should usually be. I searched a lot in various foruns and found nothing about it.
For ease of understanding the problem I'm providing the download link containing the program and code.
Thanks in Advance
Add the following to Form 2 and Form 3 at the end of the load event
ME.BringToFront
Rob, it don't work and I found a kludge.
Follow the link:
https://social.msdn.microsoft.com/Forums/pt-BR/e5a74745-83a3-40e6-a558-c8aae4ac3938/form-abre-atrs-do-form-principal?forum=vsvbasicpt
Thanks
I know there must be some ways to show the progress of something in the task bar icon...
However i found there are some tutorials and librarys to accomplish this, I am not really satisfied with them...
Has anyone experience in doing this, can you reccomand a .dll, post some example code?
Thx
If you are on .NET 4, you can use the new namespace,
http://msdn.microsoft.com/en-us/library/system.windows.shell(VS.100).aspx
It comes from the WPF Shell Integration project,
http://archive.msdn.microsoft.com/WPFShell
I don't even know what this is called. But some Windows apps used to have a "?" near the X in upper right corner. You could click that and then click on something on the screen and get help.
Anyone know what that's called or (better) have any pointers to instructions on how to implement it?
Oh, and I'm using vb.net 2005.
It is called "What's This?" help.
Here is a Microsoft article on implementing it in Visual Basic. If you want another language, I hope this is enough of a pointer to get you there.
How To Implement "What's This?" Help in Visual Basic
In .NET you can turn it on by setting the boolean field "HelpButton" on a form control. See this link for more info. Additionally, there's an event that fires on clicking this button. Link here.
Hope that helps... Are you using .NET or something else?
It's called Context-sensitive help; that's about all I know.