5,931 questions
0
votes
0
answers
19
views
VB.NET 3.5 OdbcDataAdapter.Fill causes OverflowException after moving from Windows 10 x86 to Windows 11 x64
I’m maintaining a legacy VB.NET 3.5 Windows Forms app that worked perfectly on Windows 10 32-bit using MySQL ODBC Connector 5.1/5.3.
Recently, we migrated to a Windows 11 64-bit machine. Without ...
1
vote
0
answers
54
views
IEventAggregator alternative in .NET Framework 3.5
The snippet of newer version of my code looks like this
public MainWindowViewModel()
{
ProcessedLotIDList = new List<string>();
_eventAggregator = IoC.Get<IEventAggregator>();
...
1
vote
0
answers
154
views
Visual Studio builds 1 project very long
I have Windows Forms project that takes over 2 minutes to build. It is the only project in the solution. Output window reaches the log message:
> C:\Program Files\Microsoft Visual
Studio\2022\...
0
votes
0
answers
61
views
PostgreSQL connection in Windows Forms
I'm working on a C# .Net 3.5 application with Windows Forms. Yes, I have to use something that old, because I'm writing for a Pocket PC 2003/Windows CE 4.20.0 (Build 14053).
I have two connections to ...
0
votes
0
answers
569
views
I get the error “The requested security protocol is not supported” even though tls is turned on
I am working on a soap webservice application written with .net 3.5 framework. An external service we use has changed and I updated it, but even though I opened everything related to TLS on a windows ...
1
vote
0
answers
74
views
Why doesn't App.exe.config update when using My.Settings.Save() or MySettings.Default.Save()? [duplicate]
I've been chasing my tail and several SO articles around App.exe.config files. Everything I read stipulates that it indeed should be included with my application, even for a WPF app.
So, when I copy ...
1
vote
2
answers
503
views
Creating a JWT Token using an RS256 Algorithm with a CNG Certificate in .NET 3.5
I'm currently limited to the Framework I can use and that is .NET 3.5.
I don't have much experience with using certificates and with the framework limitations I'm pretty stumped.
I have a certificate ...
0
votes
1
answer
103
views
.NET app call unmanged DLL, parameters contains strange characters
I am wring a .NET app to call an unmanaged DLL(Unicode).
Below is the header for the unmanaged DLL:
#pragma once
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
// Callback ...
0
votes
0
answers
45
views
Getting exception for getting instance of Worksheetpart using OpenXML
We are using openXml to generate spreadsheet,and I need to get worksheetpart to work on the worksheet .
Below is the class we are using to generate the SpreadSheetDocument instance.
public class ...
2
votes
0
answers
126
views
Changing .NET runtime at runtime
We have an old .NET 3.5 application deployed out to multiple remote systems. This application supports a plugin architecture that lets us download additional assemblies to the service whenever it ...
-1
votes
1
answer
127
views
Compiling DLL project that written in .NET Framework 3.5 on Visual Studio for Macos giving MSB3086 error
I took a project that compiles .dll file. Then opened project in MacOS Visual Studio. But it gives error that,
Error: Unknown MSBuild failure. Please try building the project again (project)
When I ...
-2
votes
1
answer
185
views
Find and Load microsoft.net compact framework 3.5
I have an older application on a computer that blew up and needed to have the operating system rebuilt. The application requires microsoft.net compact framework 3.5. Apparently 3.5 is no longer ...
0
votes
0
answers
380
views
Why is virtual memory usage is so different between .NET Framework and .NET Core
I am upgrading some old project using .NET Frameowrk 3.5 to the latest .NET 7.0, and found the result of a function, which is used to output the memory usage of the current process, is very strange.
...
-1
votes
1
answer
586
views
How to change and return value from within a function
I am given a code block (C#) and want to change and return a new value (e.g., 9999) in the variable gid. However, the new value is not being returned. The original value used in the function call has ...
3
votes
0
answers
69
views
Excel VBA Object Not Released as Expected When Using .NET 3.5 Hashtable
When I call the Add method of an instance of a .NET 3.5 System.Collections.Hashtable to add an instance of a VBA class, I cannot subsequently get the Hashtable to release the instance of the VBA class....