How to get VB 6.0
How and where do I get Visual Basic 6.0? Is it free or do I need to buy it? Can you give me a download link or a file?
Win32_BIOS version
Hello I'm using this code to get the BIOS version: Dim Search2 As New ManagementObjectSearcher(New SelectQuery("Win32_BIOS")) For Each Info2 As ManagementObject In Search2.Get If Info2("SMBIOSBIOSVersion") IsNot Nothing…
WMI Availability is always nothing/null?
Hello I'm using this code to get the Availability of system disks, but Availability is always nothing/null: Searcher As New ManagementObjectSearcher(New SelectQuery("Win32_DiskDrive")) For Each MyDisk As ManagementObject In…
Exception messages in en-US only
Hello I've placed an exception sender in my VB.net app which in case of exceptions, will send them to me to check, seems on localized systems, the messages are not in en-US and I get them like this: Exception Message: Erro genérico em GDI+. Root…
How can I remove an item from the items obtained from the main File Explorer menu (IContextMenu) and add a new item along with an icon?
Based on the answer already given (previous question), I wanted to customize the resulting items so that some of them are not visible and add a few of my own items so that I can do something from the click event on the custom item. If possible, please…

Retrieve health information e.g. SMART, remaining live, reallocated sectors etc for all types of HDD, SSD, NvME etc
Any suggestions on reliable solutions to retrieve health information e.g. SMART, remaining live, reallocated sectors etc for all types of HDD, SSD, NvME etc Tried smartmontools but doesn't work for a lot of NvME drives as get…
Loop through and read adapters
Hello Because WMI Win32_VideoController AdapterRAM property cannot read more than 4GB of memory, I'm going to read Keys here: HKLM\SYSTEM\ControlSet001\Control\Class{4d36e968-e325-11ce-bfc1-08002be10318} There's 2 samples in PowerShell posted on…

What Is the Best Way to Display the Native Windows Explorer Context Menu for Files in VB.NET?
What Is the Best Way to Display the Native Windows Explorer Context Menu for Files in VB.NET?I'm developing a VB.NET application and aiming to replicate the native context menu of Windows Explorer (the menu shown when you right-click a file in Windows…


Where can I download VB6 runtime?
I can find the update but not the product itself.. Any assistance would be greatly appreciated.
DWMWA_USE_IMMERSIVE_DARK_MODE won't update
Hi Using this code to switch to dark and light mode for my .Net Framework 4.8 app only, but they won't apply until the form is resized, I can do: Me.Width = Me.Width + 1 Me.Width = Me.Width - 1 But that's not the way to go, the code, Windows 10 21H2, any…
When using IO.File.Copy in a vb.net application which is sheduled using the sheduled tasks is resetting (or removing?) permissions to that file
Hi all, I have following code snippet: IO.File.Copy(SourceFilePath, DestinationFilePath, OverWrite) It can be any file on any network drive on the network. However, my application is sheduled using the sheduled tasks MMC addon ON A DIFFERENT SERVER. My…
How to extract values of characters used with Shift key using MapVirtualKeyEx API?
I use the MapVirtualKeyEx api to extract characters from the virtual keys on the keyboard. Here is the code in VB. Const MAPVK_VK_TO_CHAR = 2 Dim keyblayoutID As Integer = GetKeyboardLayout(0) For nb As Integer = 0 To 255 Dim ScanCode As UInteger =…
How do I prevent Visual Studio from automatically adding unneeded includes in VB modules
I often copy modules from one project to another and often times Visual Studio will add several includes at the top of the class. When surveying through source code I find unnecessary includes have been added. If an include is needed I want compilation…
Help. Decompile EXE back to VB source code?
Last January, I fell victim to some RansomWare. :( I managed to recover most of what I lost from backups, but one program I wrote was up to v4.0.5 and the only source code I was able to recover was from a months-old backup of v4.0.3. Is there a way…

Why does this statement take so much longer on a faster machine?
I am using VS2022 and Basic. I am finding that when the compiled EXE is run on an old APP Server with old Visual C++ Redistributables that this statement runs acceptably fast, but if I run the same EXE on a new APP Server with current Visual C++…

All pages not showing How to fix it?
All forms have the same problem
INSTANCES OF THIIS ERROR
HOW TO SOLVE THE "INSTANCES OF THIS ERROR" IN MY VB.NET PROJECT?
"BC30560 'Padding; is ambiguous in the namespace 'System.Windows.Forms'" suddenly appearing on an app that was working last week.
I'm creating a Windows Forms app in VB .net 6.0 and suddenly after reopening and trying to edit the app one of my designers won't open or run. This isn't the first time I've had issues with dotnet apps in Visual Studio and Visual Basic. I was working…
vb6 compiled application recently appear hanging for a moment when switching back and fro
I have a vb6 compiled application that recently appear hanging for a moment when switching between different software. That slow down my tasks. Not sure if others have the same problem. I am running window 11. How that can be fixed?
Some imported namespaces have a disabled (greyed) check mark
Using VS Community 2022, I have a VB Windows Forms Project. In Project, Properties, References, I see about a dozen namespaces with a check mark indicating they are imported into my project. So far so good. Three of them (System.Drawing,…