Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
16 views

I'm playing with Visual Basic .Net 2005. I wanted to create a program that can write to the registry. This gives me an UnauthorizedAccessException: Dim myKey, softwareKey As Microsoft.Win32....
Thewafflication's user avatar
3 votes
1 answer
86 views

I have converted a legacy application from .NET 2 to .NET 4.8 and found that the FileInfo API behaves differently on the 2 platforms. .NET 2: new FileInfo("C:\a \b").FullName -> "C:\...
William's user avatar
  • 2,107
0 votes
0 answers
162 views

My application is hosted on IIS and it is previously working on SHA 1 and Auto Encryption and Validation method but suddenly it stops working on one server The same application is synced on other ...
Pratik Wakati's user avatar
0 votes
1 answer
481 views

I'm new to .NET and keep getting the following error when executing add-migration command in Visual Studio 2022. Error Details You must install or update .NET to run this application. App: C:\Users\...
TTR's user avatar
  • 1
1 vote
0 answers
29 views

In .NET 2 I have the following code, which works okay: public static T DeserializeStream<T>(this Stream xmlStream) { XmlSerializer serializer = new XmlSerializer(typeof(T)); using (...
Patrick's user avatar
  • 697
1 vote
1 answer
800 views

How can I make my program wait 1 Second and then doing something? Like in NET. Framework 4.8 with Task.Delay() but I'm using NET. Framework 2.0 for a project for my old Windows 2000 Laptop. Is there ...
user16567291's user avatar
1 vote
1 answer
493 views

I'm trying to pass an URL to an API using a .net 2.0 webclient (unable to upgrade). The webclient call only works if there are no slashes in the encoded value. Any idea why it is failing and how to ...
Display name's user avatar
0 votes
1 answer
345 views

I am not sure how to proceed with refreshing the data grid view after I update and insert values into my database. I know that I have to bind the database values to the other form so that they will ...
VinceG's user avatar
  • 85
0 votes
0 answers
352 views

so I have this refresh and populate function here private void Refresh() { MySqlCommand cmd = conn.CreateCommand(); String data, id, platenumber, brand, model, yearmodel, odometer; cmd....
VinceG's user avatar
  • 85
-1 votes
2 answers
144 views

I am trying to update my database but then this error about my syntax shows up MySql.Data.MySqlClient.MySqlException: 'You have an error in your SQL syntax; check the manual that corresponds to your ...
VinceG's user avatar
  • 85
0 votes
0 answers
277 views

I have a Datagrid view and 1 column is missing even though it is present inside the database this is my DGV and this is my table in the database i am unsure why the model column is missing but I am ...
VinceG's user avatar
  • 85
0 votes
1 answer
941 views

this is my data grid view I want to get the ID when a row is selected but when I select a row and click delete it doesn't seem to get the id of that row and goes for the else statement instead. here ...
VinceG's user avatar
  • 85
0 votes
1 answer
47 views

A service a subscribed to uses an api and provided this sample php bellow. I have an old aspnet script which i want to modify to do the same but as i am not a programmer and having hard time with it. ...
kattouf's user avatar
  • 59
1 vote
1 answer
373 views

I'm currently trying to learn a bit about .NET and get back into programming with C#. To do both I'm following this official tutorial on how to create a .NET standard class library. One of the first ...
Laporasus's user avatar
1 vote
1 answer
128 views

env: VS2017 v15.9.24, .net framework 2.0 c# console project. this is a very simple console project, no any reference, all codes are in program.cs: namespace ConsoleApp1 { class Program { ...
ahdung's user avatar
  • 409
0 votes
0 answers
20 views

I have an old Umbraco website (v4.0.1) that works on Windows Server 2012, IIS 8.5, .net2.0 classic. I now want to deploy the site onto a shared windows server running .net4.7 / .net3.5 in classic or ...
Bob the Builder's user avatar
8 votes
3 answers
490 views

On most of my APIs, I simply do authorization like this: [Authorize(Policy = "Foo")] public MyApi() I get this policy from a NuGet though and can't modify it. For some of my APIs, I don't always ...
user3715648's user avatar
  • 1,586
-1 votes
1 answer
360 views

I use Crystal Reports to get different reports. I am using asp.net 2.0 and crystal Report version 10 The problem is that some of the commodity names in the system are a combination of letters, numbers,...
mehran esmaily's user avatar
0 votes
2 answers
273 views

I am downloading a JSON in the following format (which I can not change): [ {"Id":183,"description":"blahblahblah"}, {"Id":184,"description":"blehblehbleh"}, {"Id":1000,"description":"and ...
Cleber Tavares Jr.'s user avatar
1 vote
1 answer
1k views

I am trying to do RSA/ECB/OAEPWithSHA1AndMGF1Padding with c# using BouncyCastle on .NET Framework 2.0. I've came down with this: IAsymmetricBlockCipher engine = new OaepEncoding(new RsaEngine(), new ...
Guapo's user avatar
  • 3,482
0 votes
1 answer
92 views

I have a WFA, and I need to know the permissions that the active user has in a specific folder. How can I use caspol to find the permissions?
jlnc's user avatar
  • 41
0 votes
1 answer
197 views

I have two .net projects in my solution.First project is .net 2.0 windows forms project and the second project is .net 4.5 windows forms project.I'm opening a windows form of my .net 4.5 project from ....
Sajith Dushmantha Samarathunga's user avatar
0 votes
0 answers
56 views

I have a panel and a timer which is helping me to open a form in an animated way. The panel contains a form. code is private void timer1_Tick(object sender, EventArgs e) { if (panel1....
Sourav Sarkar's user avatar
0 votes
1 answer
63 views

I need some help with my C# application. Nowadays it works fine but one of the new requirements from customer is to implement underlying Database (MS SQL or Oracle) using any user schema selectable ...
Alexander's user avatar
  • 1,347
0 votes
2 answers
62 views

I work in a place where the in-house clients all have old version of .NET so I need to get by without LINQ. I am trying to achieve something pretty simple. The list of my class looks like this: ...
SAR's user avatar
  • 310

1
2 3 4 5
52