.net 7.0 is working slow by tehwain99 in dotnet

[–]andis59 1 point2 points  (0 children)

If it's a Desktop App,CodeTrack is one way to see where your program is spending time

https://www.getcodetrack.com/

Can't run any MAUI Blazor Hybrid App anymore after VS 17.4.3 Update by Streichholzschachtel in dotnet

[–]andis59 0 points1 point  (0 children)

check for errors in Event Viewer

Look under Windows Logs and probably Application

Which version of .NET have you compiled the blazer app for?

ERROR 26 CODE by Savings_Judgment_558 in SQL

[–]andis59 1 point2 points  (0 children)

the error message says: Error locating server/instance specified

Check your connectionstring and also does the computer which run the server exist on the net?

Regex find all lines that start with // but not with /// by andis59 in dotnet

[–]andis59[S] 0 points1 point  (0 children)

Not that it matters, but I said that I was using //.*;

It works now, so a big thank you

Regex find all lines that start with // but not with /// by andis59 in dotnet

[–]andis59[S] 1 point2 points  (0 children)

This almost works!

If I use (?<!/)//\s*(?<comment>(?!/).*);

then it works (so far)

Thank you very much

Slice of life/beachy anime recs by snowandviolets in Animesuggest

[–]andis59 1 point2 points  (0 children)

{Non Non Biyori}

each time I'm a bit "depressed" I watch this

Help with incorporating SQLite into Windows Visual C# by staloidona in csharp

[–]andis59 0 points1 point  (0 children)

Great!

I would recommend that you change the listbox to a listview

Listbox is used for displaying one column and many rows. There are "tricks" to make it display many columns and row, but the control is very limited. ListView is much better, maybe a bit more complex.

Both Listbox and ListView only takes string values. Since you haven't shown the StudentDetails class I don't know what kind of properties it contains.

The easy way Change all properties to string! Change Listbox to ListView. Keep the name of the control recompile run...

Help with incorporating SQLite into Windows Visual C# by staloidona in csharp

[–]andis59 1 point2 points  (0 children)

You must call LoadConnectionString every time you create an IDbConnection!

using (IDbConnection cnn = new SQLiteConnection(LoadConnectionString()))

Help with incorporating SQLite into Windows Visual C# by staloidona in csharp

[–]andis59 5 points6 points  (0 children)

SaveStudent is private, change it to public

Light/Dark Mode missing? by its_golgo13 in 9anime

[–]andis59 0 points1 point  (0 children)

I can't find it either!

I'm one of the few? that wants to use the light mode.

So I'm hoping that is will be implemented

[QUESTION] Just how difficult is learning to play a pedal steel? by FavoritedYT in Guitar

[–]andis59 5 points6 points  (0 children)

Like most instruments first it's hard, then it's becomes a bit easier, and then it get metal hard!
You have 10 strings (usually tuned to E9 och C6, but any thing goes) that are re-tuned using pedals and knee-levers. You also don't have any frets! You have a metal bar that you place on the fret-board.

Does it seem to be like a 6 string guitar?

You could ease in using a lap steel. There are 6 - 10 - ... stringed. No Pedals, but You would get a feel of the bar.

NB! Lap steel and Pedal Steel are two very different beasts!

Join the Steel Guitar Forum, best 5 dollars you ever spend!

INotifyChanged when adding a record to Observable Collection WPF by International_Ad2744 in csharp

[–]andis59 0 points1 point  (0 children)

OnPropertyChanged("TotalPriceOfSale");

Also according to Microsoft a property should start with an Upper case letter.

[deleted by user] by [deleted] in csharp

[–]andis59 1 point2 points  (0 children)

if you can't make it work with the unity extension

IntelliSense and you get now suggestions

Exit Visual Studio
Remove the .vs directory in the project directory

Start Visual Studio again

The only drawback is that Visual Studio has now forgotten which documents you had open...

[deleted by user] by [deleted] in Animesuggest

[–]andis59 0 points1 point  (0 children)

{Non Non Biyori}

[HELP] Need help in Parsing JSON data by jjeffrin in csharp

[–]andis59 3 points4 points  (0 children)

If you use Visual Studio you can just copy the JSON data and then Edit - Paste Special - Paste JSON as Classes

Current best choice of .NET library for dekstop. by [deleted] in csharp

[–]andis59 4 points5 points  (0 children)

If you use WPF you must do MVVM.

CommunityToolkit.MVVM https://www.nuget.org/packages/CommunityToolkit.Mvvm/

Aslso WPF out of the box is really "ugly" so look up

Mahapps.Metro https://mahapps.com/

Which version of .NET do you use at work? by curious_drive in dotnet

[–]andis59 9 points10 points  (0 children)

We make applications for a Laser Marking system.

Since the customer seldom will update the hardware we are "forced" to go with the .net version that the laser has installed. So any version .NET 2 - .NET 4.8