Search found 80 matches

by VR
Wed Feb 28, 2024 9:10 am
Forum: Product
Topic: Native image generation
Replies: 4
Views: 493

Re: Native image generation

NGen helps to reduce the start time of the application. Here's a blogpost from microsoft and a tutorial from devexpress: https://devblogs.microsoft.com/dotnet/an-easy-solution-for-improving-app-launch-performance/ https://docs.devexpress.com/GeneralInformation/400286/build-deploy/reduce-application-...
by VR
Fri Nov 24, 2023 9:43 am
Forum: 3rd party products
Topic: Poorer performance compared to VO to X# when using the bBrowser
Replies: 4
Views: 1819

Re: Poorer performance compared to VO to X# when using the bBrowser

One benefit of using dotnet is, that you can use a Performance Profiler... Visual Studio has one, which is quite good. https://learn.microsoft.com/en-us/visualstudio/profiling/beginners-guide-to-performance-profiling?view=vs-2022 I personally use DotTrace and DotMemory from JetBains. They are payed ...
by VR
Tue Nov 07, 2023 11:25 am
Forum: Deutsches Forum
Topic: Welche Version von Visual Studio ist für 2.18 zu empfehlen
Replies: 11
Views: 2774

Re: Welche Version von Visual Studio ist für 2.18 zu empfehlen

I remember an issue, that I created some time ago regarding the Winforms Designer in VS 2022 and 32Bit component libraries... https://github.com/X-Sharp/XSharpPublic/issues/959 So the combination of VS2022 (which is 64bit) + Winforms Designer + Components imported from a 32Bit assembly doesn't work....
by VR
Wed Oct 11, 2023 8:38 am
Forum: Product
Topic: How to get an array with XML tags within only 1 node
Replies: 6
Views: 2039

Re: How to get an array with XML tags within only 1 node

Hi...

The "one-liner" for this operation is

Code: Select all

var posElements = doc.Root.Element("Zoom200")?.Elements("pos").Select(e => e.Value).ToArray() ?? Array.Empty<string>();
ChatGPT tends to write code in a more verbose way.
by VR
Tue Oct 10, 2023 8:03 am
Forum: Product
Topic: How to get an array with XML tags within only 1 node
Replies: 6
Views: 2039

Re: How to get an array with XML tags within only 1 node

Hi Dick var posElements = zoomElement.Elements("pos").Select(e => e.Value.ToArray()); e.Value is a string -> e.Value.ToArray() gives you every char of the string as array. Try this instead: var posElements = zoomElement.Elements("pos").Select(e => e.Value).ToArray(); Volkmar
by VR
Mon Oct 09, 2023 10:32 am
Forum: Product
Topic: How to get an array with XML tags within only 1 node
Replies: 6
Views: 2039

Re: How to get an array with XML tags within only 1 node

Hi, this is how ChatGPT would do it... using System; using System.Linq; using System.Xml.Linq; class Program { static void Main() { // Load the XML data from your file or string string xmlData = @"<?xml version=""1.0"" encoding=""utf-8"" standalone="...
by VR
Thu Aug 24, 2023 7:30 am
Forum: Welcome
Topic: X# Newbie
Replies: 4
Views: 1887

X# Newbie

Here's a GitHub Repo with some x# Examples, that show how to use dotnet classes.

​​​​​​​https://github.com/InfomindsAg/XSharpExamples
by VR
Mon Aug 07, 2023 5:03 pm
Forum: Chit-Chat
Topic: .NET Open source report engine and designers... what are XSHARP developers usin
Replies: 4
Views: 2150

.NET Open source report engine and designers... what are XSHARP developers usin

Hi,

there is FastReport, which has a payed and an open source offering. https://opensource.fast-report.com/

Volkmar
by VR
Wed May 03, 2023 7:55 am
Forum: Examples
Topic: ChatGPT integration examples?
Replies: 33
Views: 8720

ChatGPT integration examples?

<r>Hi Robert...<br/> <br/> I don't think, that you can "train" ChatGPT. OpenAI announced recently, that they will offer Plugins to allow ChatGPT to access new information. <br/> <br/> An interesting alternative project is GPT4All (<URL url="https://github.com/nomic-ai/gpt4all">https://github.com/nom...
by VR
Sat Mar 11, 2023 7:49 am
Forum: Product
Topic: Overwriting hidden methods: X# vs VO
Replies: 4
Views: 1048

Overwriting hidden methods: X# vs VO

Instead of removing the Hidden Modifier, you could consider replacing it with the Proteced modifier.

Protected methods can be overridden but are only visible to class and all inherited classes but as hidden methods, they can not be called from other classes.

Volkmar