1,984 questions

Sort by: Updated
0 answers

MySQL to C# Connection Error

Developer technologies | Windows Forms
Azure Database for MySQL
Azure Database for MySQL

An Azure managed MySQL database service for app development and deployment.

1,249 questions
SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories

14,660 questions
asked 2022-03-19T04:18:03.63+00:00
Mohamed Rafi N 106 Reputation points
0 answers

Login code working slowly

i am using the following code to check login details entered from textboxes but i realize that i have almost 130,000,982 usernames in my database so its kind of slowing the things . can the experts from your side suggest what should be the code to check…

Developer technologies | Windows Forms
Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other

A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.

5,845 questions
Developer technologies | C#
Developer technologies | C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.

11,580 questions
asked 2023-07-07T08:03:59.7066667+00:00
vijay kumar 100 Reputation points
4 answers One of the answers was accepted by the question author.

PROBLEMS WITH FTP -PASSIVEPORTRANG

Hello! I have a problem with the FTP protocol. I am transferring files to a domain via the command line. The company that rents the domain changed the operating system from CloudLinux 7 to Cloud Linux 9. And since then the transfer has not worked for me.…

Developer technologies | Windows Forms
asked 2025-11-12T06:54:10.71+00:00
TASA 20 Reputation points
edited an answer 2026-11-13T03:29:15.2966667+00:00
TASA 20 Reputation points
2 answers

Designer load encountered an error

Designer load encountered an error. Please ensure that the project can be built successfully.

Developer technologies | Windows Forms
asked 2026-11-12T08:19:01.4866667+00:00
Martin Deleu 0 Reputation points
edited an answer 2026-11-12T10:36:00.3966667+00:00
Nguyen Dam (WICLOUD CORPORATION) 1,420 Reputation points Microsoft External Staff Moderator
2 answers

Designer error on load

How to fix "The designer could not be shown for this file because none of the classes within it can be designed. The designer inspected the following classes in the file: Form1 --- The base class 'System.Void' cannot be designed."

Developer technologies | Windows Forms
asked 2026-11-07T16:58:40.07+00:00
Bill Rushmore 0 Reputation points
commented 2026-11-12T06:15:40.2033333+00:00
Gatlin Le (WICLOUD CORPORATION) 1,475 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

what is the best way to develop a computer service

what is the best to start developing a computer program that will eventually become a windows server. I will like this program to have a windows form during the development.

Developer technologies | Windows Forms
asked 2026-11-04T02:42:55.16+00:00
Encinas, Luis 20 Reputation points
accepted 2026-11-04T11:55:23.1466667+00:00
Encinas, Luis 20 Reputation points
2 answers

When I want to add images on the form it always come up with one error- Method "Llabel1_Click" not found

When I want to add images on the form it always come up with one error- Method "Llabel1_Click" not found.

Developer technologies | Windows Forms
asked 2026-10-24T03:26:22.86+00:00
Fidelia Nzeh 0 Reputation points
commented 2026-11-02T03:12:45.89+00:00
Harry Nguyen (WICLOUD CORPORATION) 690 Reputation points Microsoft External Staff Moderator
3 answers

error object reference not set to an instance of an object in vb

Cannot view or edit form. getting an error message 'error object reference not set to an instance of an object' at StreamJsonRpc.JsonRpc.d__156`1.MoveNext()

Developer technologies | Windows Forms
asked 2026-10-12T15:11:45.8166667+00:00
Johnny's Laptop 5 Reputation points
commented 2026-10-20T01:44:18.89+00:00
Nguyen Dam (WICLOUD CORPORATION) 1,420 Reputation points Microsoft External Staff Moderator
1 answer

WinForm in Visual Studio 2026 - changing name of a control causes designer to fail

Just migrated to VS 2026. When creating a new form, there is no issues and controls can be added fine. However, when you change the name of a control, the designer throws a wobbly as not all references are renamed in the designer code. I need to…

Developer technologies | Windows Forms
asked 2025-11-13T11:26:52.5733333+00:00
Lowe,Ivan 10 Reputation points
edited a comment 2026-10-17T13:20:35.4733333+00:00
Nah 0 Reputation points
3 answers

Designer load encountered an error. Please ensure that the project can be built successfully.

Trying to create a new WinForms project in Microsoft Visual Studio Community 2022 (64-bit) and get this error.

Developer technologies | Windows Forms
asked 2026-09-22T02:04:47.2633333+00:00
Randall Price 10 Reputation points
commented 2026-09-29T02:56:15.9833333+00:00
Danny Nguyen (WICLOUD CORPORATION) 8,985 Reputation points Microsoft External Staff Moderator
2 answers

VS 2026 will not show form designer after creating a new VB Windows Forms App targeting .NET 10 Framework

I am trying to create a new Visual Basic Windows Forms App for .NET 10.0 in Visual Studio 18.9.2. Once the new project is created, I cannot get a Form Designer opened. I have found a number of possible solutions to this on the web, but nothing I try has…

Developer technologies | Windows Forms
asked 2026-09-08T15:06:41.3833333+00:00
Mike Larson 0 Reputation points
commented 2026-09-17T01:52:24.9266667+00:00
Jay Pham (WICLOUD CORPORATION) 4,760 Reputation points Microsoft External Staff Moderator
6 answers

Windows Forms Application Icon suddenly shows as default icon or does not update color after KB5051989 update

Hi, Our C# Windows Forms Application icon (in the taskbar) suddenly shows as default icon or sometimes doesn't update its color (based on the customization) after installing the KB5051989 update. This has been working for 15 years, and the issue just…

Developer technologies | Windows Forms
asked 2025-03-06T08:36:12.63+00:00
Emmanuel Guballa 25 Reputation points
answered 2026-09-04T17:13:44.1233333+00:00
Ossowski, Marek 0 Reputation points
2 answers

Visual Studio Forms Designer: The given key 'reader' was not present in the dictionary.

I get the following error when trying to save a control after changing a property in the Forms Designer: Visual Studio Forms Designer: The given key 'reader' was not present in the dictionary. What causes this error? I have two minimal user controls…

Developer technologies | Windows Forms
asked 2026-08-27T00:25:03.55+00:00
Michael Pettigrew 0 Reputation points
commented 2026-09-03T02:01:01.11+00:00
Taki Ly (WICLOUD CORPORATION) 5,805 Reputation points Microsoft External Staff Moderator
3 answers

Smart App Control blocks WinForms / WPF sample applications from running

When Smart App Control is enabled on Windows, I am unable to run WinForms or WPF sample applications from Microsoft Visual Studio. After enabling Smart App Control and attempting to run the project, Visual Studio shows the following error. Smart App…

Developer technologies | Windows Forms
asked 2026-04-27T06:20:47.45+00:00
Yuvaraj Masilamani 0 Reputation points
commented 2026-08-25T12:57:57.3+00:00
Yuvaraj Masilamani 0 Reputation points
1 answer

I used to have 3D buttons but not in 2026

I used to use 3D buttons. These had a kind of drop shaddow effect so they would visualy go up and down. What I have now is just a flat button. On a visual basic forum I was told to Right click on project and select properties In application general, I am…

Developer technologies | Windows Forms
asked 2026-08-06T11:45:56.3433333+00:00
Desmond O'Toole 16 Reputation points
commented 2026-08-14T03:04:17.67+00:00
Taki Ly (WICLOUD CORPORATION) 5,805 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

Can I use both "Designer" and "DesignerAttribute" in a Winforms UserControl?

I am trying to create a Winforms UserControl that will act as a container for other controls AND use its own Designer. I have used the following Microsoft examples: ControlDesigner…

Developer technologies | Windows Forms
asked 2026-07-30T13:27:04.12+00:00
Jeffrey Gaines 80 Reputation points
accepted 2026-08-03T07:39:35.6333333+00:00
Jeffrey Gaines 80 Reputation points
2 answers

"Could not load file or assembly" error in Visual Studio designer.

I am getting a "Could not load file or assembly" error in the Visual Studio designer for a WinForms app, when the file in question (a custom DLL) most definitely exists, and in the directory that it is supposed to be.

Developer technologies | Windows Forms
asked 2026-07-20T23:08:48.16+00:00
McDonald, Gregor 0 Reputation points
commented 2026-07-28T02:08:33.5633333+00:00
Nancy Vo (WICLOUD CORPORATION) 8,160 Reputation points Microsoft External Staff Moderator
1 answer

Overload resolution failed because no accessible 'Image' is most specific for these arguments

My app has a bunch of buttons. The images on the button were added by importing an image to the Resources. I added a TableAdapter through the DataSet Designer. Now when I go to open the Form Designer it fails to load with this error:The designer cannot…

Developer technologies | Windows Forms
asked 2026-07-18T15:41:30.97+00:00
James Buss 136 Reputation points
commented 2026-07-27T09:02:54.4533333+00:00
Jay Pham (WICLOUD CORPORATION) 4,760 Reputation points Microsoft External Staff Moderator
3 answers One of the answers was accepted by the question author.

Sequence contains no elements

I'm using Visual Studio 2026 writing in VBasic. 3 times recently I have received the above error and I don't know what's wrong nor how to fix it. It happens when copying and renaming controls. There's no help, and VS doesn't allow me to do further…

Developer technologies | Windows Forms
asked 2026-07-19T11:17:22.09+00:00
Rob Sandham 25 Reputation points
commented 2026-07-21T10:04:00.2633333+00:00
Danny Nguyen (WICLOUD CORPORATION) 8,985 Reputation points Microsoft External Staff Moderator
2 answers

How to fix f:\recovery\windowsre\winre.wim\system32\logfiles\srt\srttrail.txt

Hello, iv tried watching a bunch of videos and looking all over the internet but i just cant figure out what is wrong with it. i think my windows is installed onto my C: but I'm not even completely sure. the error code is:…

Developer technologies | Windows Forms
asked 2025-10-25T00:22:05.02+00:00
Dale 0 Reputation points
answered 2026-07-17T10:59:34.8+00:00
Josh Moreno 0 Reputation points