![]() ![]() That greatly simplified the code changes needed to change the DAO statements. I wrote a utility that generated these classes from the Access tables used in the old application ( I would be happy to share this method ). This was made easier than it would otherwise have been by the use of a class oriented representation of each of the database tables complete with all of the data access logic. Also, there needed to be a change from DAO to System.Data Dataset usage. Depending on the VB to C# conversion some syntax may not be done properly such as arrays may or may not be changed from () to usage but that is trivial (time consuming, but trivial). I decided at the start to completely rewrite the UI (WPF made more sense to me than Winforms) and transfer as much of the back end logic as possible which was actually relatively easy (not simple, but easy). Not all of the original VB6 forms and classes made it through to the end, but the majority of them did. I then passed the output of that to C-Sharpener, an open source. My methodology has been to use the VS2008 VB6 to VB.Net converter to do the initial conversion. To make matters more complicated, I am converting the resulting project to C# and WPF. There are actually several large applications that will ultimately be ported. ![]() I am finishing up the first stage of a large migration from vb6 to. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |