My background is Java, I am new to C# and the .NET-platform
I am about to transform a Windows7/VB6 application to a Windows10 C#.NET (or VB.net)-application.
I have downloaded ‘Visual Studio 2019’, using .NET version 4.8.
The application is a Standalone/Winforms-application, with roughly 6 forms (uses an SQL-server) .
The application is a classic CRUD-application; you store data, you update the data, you delete data and you have various ways of retrieving data (filtered on one or more fields)
I have not written that VB6-application myself, the program is written by enthusiasts back in the days to handle a burning situation - not so many best-practices are used.
I have 2 questions I would like to get your input on; the first is more abstract and the other is more specific. Either your input and advice - or good/thorough book(s), course online (getting a bit tired of courses leaving out bits and pieces though ...)
Best, i
I am about to transform a Windows7/VB6 application to a Windows10 C#.NET (or VB.net)-application.
I have downloaded ‘Visual Studio 2019’, using .NET version 4.8.
The application is a Standalone/Winforms-application, with roughly 6 forms (uses an SQL-server) .
The application is a classic CRUD-application; you store data, you update the data, you delete data and you have various ways of retrieving data (filtered on one or more fields)
I have not written that VB6-application myself, the program is written by enthusiasts back in the days to handle a burning situation - not so many best-practices are used.
I have 2 questions I would like to get your input on; the first is more abstract and the other is more specific. Either your input and advice - or good/thorough book(s), course online (getting a bit tired of courses leaving out bits and pieces though ...)
- I would like to use the OO-facilitates of the .NET framework, making the code readable/maintainable (structure and best-practices) handle the db-connection in the correct manner for all the involved forms (fetching the db-connection from a class or a property-file) , creating a package/module of functions/methods …
- The application has a ‘print’-functionality where a PDF is created using 'Crystal Report'( I think), So a PDF must be created here as well (and some tool/program where I can handle layout, I have done some work with Jasperreports back in the days for Java …) – So, what PDF functionality can I use now , is there something similar to Crystal report or Japserreports available ?
Best, i