2,892 questions with Developer technologies | VB tags

Sort by: Updated
3 answers

Value cannot be null. Parameter name: format visual studio 2022

I can create new and work in projects, I can save them and send them to my instructor and they can open them, but whenever I try to open one of my own projects again I get this: at System.String.FormatHelper(IFormatProvider provider, String format,…

Developer technologies | VB
asked 2022-02-27T00:29:55.197+00:00
John Rinaldo 1 Reputation point
commented 2025-06-25T22:14:19.5233333+00:00
Will Howard 0 Reputation points
1 answer

Request for Assistance with App Service Performance – High Time in ManagedPipelineHandler

Experiencing performance issues with an Azure App Service. Analysis revealed 4 slow request(s) where the module consuming the most time is: ManagedPipelineHandler (57.1%) The diagnostic message indicates: "To troubleshoot performance issues or to…

Developer technologies | VB
asked 2025-06-24T02:31:34.4266667+00:00
SK Tang 0 Reputation points
answered 2025-06-24T02:36:41.5266667+00:00
mudinaman143 0 Reputation points
1 answer One of the answers was accepted by the question author.

Get-StorageReliabilityCounter equivalent

Hi, These ps commands work fine, but I'm trying to get the StorageReliabilityCounter values in WinForms, and there's not a single working sample out there, do I need both MSFT_Disk and MSFT_DiskToStorageReliabilityCounter classes? If so, how to connect…

Developer technologies | VB
asked 2025-06-20T15:24:56.1333333+00:00
StewartBW 1,830 Reputation points
commented 2025-06-21T18:54:03.2766667+00:00
StewartBW 1,830 Reputation points
2 answers

Can we get Visual basic 6.0 download for the product itself ?

We have couple of visual basic 6.0 applications being used in our organization. Is the download of Visual basic 6.0 still available ?

Developer technologies | VB
asked 2025-06-20T12:07:41.7133333+00:00
Madhuri Amrutavakkula 0 Reputation points
answered 2025-06-20T14:23:08.7933333+00:00
Castorix31 90,686 Reputation points
1 answer One of the answers was accepted by the question author.

Get free/used size of a whole disk

Hi On systems with multiple HDD/SSD disks, I need to get the total size and free or used size of the disk which system drive is in. Using MySearcher As New ManagementObjectSearcher("root\Microsoft\Windows\Storage", "SELECT * FROM…

Developer technologies | VB
asked 2025-06-17T13:37:52.99+00:00
StewartBW 1,830 Reputation points
commented 2025-06-20T02:11:29.9566667+00:00
StewartBW 1,830 Reputation points
0 answers

VBA: Word Application.WindowSize event does not work on Mac

I have implemented Word Application.WindowSize event, according to…

Developer technologies | VB
asked 2025-06-18T14:50:18.08+00:00
Eugene Z 20 Reputation points
0 answers

VBA: Saving Excel file does not work on Mac, if the destination is in local OneDrive folder

Summary: writing Excel workbook fails, if the destination is under OneDrive, only on Mac, and only if the destination file does not already exist. I have a test routine that reads and writes Excel files (see the end of the post). The source and…

Developer technologies | VB
asked 2025-06-18T14:36:50.9366667+00:00
Eugene Z 20 Reputation points
0 answers

VBA vs OneDrive: is it possible to use "Copy Link"s to work with files/folders?

VBA Word "Documents.Open" and "Document.SaveAs2" works with local files; but when OneDrive is present - they can also work with network path,…

Developer technologies | VB
asked 2025-06-18T14:10:11.63+00:00
Eugene Z 20 Reputation points
0 answers

When creating an Outlook email through VBA in Excel, this now results in error 287; more specifically on getting a string value from .HTMLbody. This problem now appears when we moved to the 365 version. Any thoughts?

The goal is to create an email, using the contents of an Excel sheet. The email should contain the Outlook signature (text and pictures) of the user that is working with the Excel sheet at that time (that can vary). So first the signature is supposed to…

Developer technologies | VB
asked 2025-06-17T17:08:55.49+00:00
Gerard_Logistic 0 Reputation points
0 answers

VBA: Copy and Paste with a TextBox do not work on Mac

VBA for Word; but there is no coding involved. Create a UserForm. Add a TextBox. Run it. On Windows - you can Copy and Paste to/from the TextBox - vs the Clipboard. On MacOS - you cannot. (at least, it never worked for me - please post if it works for…

Developer technologies | VB
asked 2025-06-17T13:28:21.35+00:00
Eugene Z 20 Reputation points
0 answers

Conflict in official documents

Hi Here mentioned: https://learn.microsoft.com/en-us/dotnet/desktop/winforms/high-dpi-support-in-windows-forms?view=netframeworkdesktop-4.8 In previous versions of the .NET Framework, you used the manifest to add high DPI support. This approach is no…

Developer technologies | VB
asked 2025-06-16T19:36:50.1533333+00:00
StewartBW 1,830 Reputation points
2 answers

p/invoke usage

Hi Anyone can confirm if my p/invoke definition and usage is correct? <DllImport("dwmapi.dll", CharSet:=CharSet.Unicode)> Private Function DwmSetWindowAttribute(ByVal hwnd As IntPtr, ByVal attribute As UInteger, ByRef pvAttribute As…

Developer technologies | VB
asked 2025-06-15T09:20:08.06+00:00
StewartBW 1,830 Reputation points
edited an answer 2025-06-15T15:12:23.4766667+00:00
RLWA32 49,551 Reputation points
1 answer One of the answers was accepted by the question author.

Close service handle

Hi, I'm using this code to change the service start type, I think not possible in .NET 4.8 natively? <DllImport("advapi32.dll", SetLastError:=True, CharSet:=CharSet.Unicode)> Private Shared Function ChangeServiceConfig(<[In]()>…

Developer technologies | VB
asked 2025-06-14T13:12:50.3866667+00:00
StewartBW 1,830 Reputation points
commented 2025-06-15T09:05:09.6233333+00:00
RLWA32 49,551 Reputation points
1 answer One of the answers was accepted by the question author.

Before calling Service.Stop

Hi experts, Using MyService As New ServiceController("BlahService") If MyService.CanStop = True AndAlso MyService.Status = ServiceControllerStatus.Running Then MyService.Stop() MyService.Close() End Using Is my usage correct? I mean before…

Developer technologies | VB
asked 2025-06-14T14:41:11.9066667+00:00
StewartBW 1,830 Reputation points
accepted 2025-06-14T14:52:08.5333333+00:00
StewartBW 1,830 Reputation points
1 answer

Button.Image issue with high dpi

Hi experts, WinForms .NET Framework 4.8 app, Button.Image property is not handled correctly when the app runs in 100% dpi or larger dpis. The image is only shown correctly in dpi 150% (app is also designed in dpi 150%) Monitor is 4K and default dpi is…

Developer technologies | VB
asked 2025-06-09T20:05:21.6+00:00
StewartBW 1,830 Reputation points
answered 2025-06-12T07:21:49.0533333+00:00
Castorix31 90,686 Reputation points
0 answers

How do i install a click-once application from the browser

For many years I have been developing and updating an application in VB.Net using 'click-once' in VS. I have only been able to install it using FireFox. Recently (since about a week ago) I have been unable to install or upgrade the application. There…

Developer technologies | VB
asked 2025-06-12T05:19:50.35+00:00
Harry Meadows 0 Reputation points
2 answers

Why Microsoft.net uses 100% of my gpu?

High gpu and cpu usage. This trigger only when i plugged in and use the internet. How can i fix this?

Developer technologies | VB
asked 2023-01-19T08:12:53.5233333+00:00
Arnold 0 Reputation points
edited a comment 2025-06-12T00:02:52.88+00:00
William Springer 0 Reputation points
2 answers One of the answers was accepted by the question author.

Detect Target CPU

Hi experts, I asked AI to write a code to detect different PE executable types, ie x64 x86 Itanium Arm etc... Here's the code which seems to be fine with one exception, for processor neutral apps (like if in Visual Studio we select Target CPU: Any CPU)…

Developer technologies | VB
asked 2025-06-09T13:34:03.0666667+00:00
StewartBW 1,830 Reputation points
commented 2025-06-11T18:03:49.1166667+00:00
StewartBW 1,830 Reputation points
1 answer

Connect VB6 IDE to TFS

Developer technologies | VB
asked 2020-12-23T17:26:41.117+00:00
udi kiany 1 Reputation point
commented 2025-06-10T18:52:40.6333333+00:00
Martin Krohn 0 Reputation points
1 answer

High CPU usage for Classic ASP application - 99% and above

Hello, I need help on understanding how to avoid 99% and above CPU usage? Based web suggestion checked multiple things like DB server, long running query, application new deployment. However not found any help within, could you please help on…

Developer technologies | VB
asked 2025-06-10T16:42:48.5933333+00:00
Shivani Vyas 0 Reputation points
answered 2025-06-10T18:50:44.45+00:00
Jose Benjamin Solis Nolasco 3,506 Reputation points