Plex 2E

Expand all | Collapse all

Plex, C# and .NET

  • 1.  Plex, C# and .NET

    Posted Oct 07, 2015 09:22 AM

    I develop a Plex application in C++ and AS400, but I'm examine on move it to a SQL server with C# on  both client and server. Does anyone have any experience of Plex and .NET? We have questians in number of packages, how to handle new functions etc. Best regards Anette



  • 2.  Re: Plex, C# and .NET

    Posted Oct 07, 2015 09:40 AM

    Hi Anette -

     

    There are several experienced forum members using C# and SQL server :-) Just ask your questions. If you have a long list of questions feel free to contact me.

     

    Best regards

    Lorenz



  • 3.  Re: Plex, C# and .NET

    Posted Oct 07, 2015 10:03 AM

    Hi Lorenz,

     

    Thanks for your answer.

    We har just in the beginning of the test. So far we have a small model (OBSEC) up and running.

    One question is where are the settings stored (eg gridsettings as column orders). Is it possible to have personal settings as in C++ and its .ini file?

     

    Best regards

    Anette



  • 4.  Re: Plex, C# and .NET
    Best Answer

    Posted Oct 07, 2015 10:20 AM

    Hi Anette -

     

    Yes, the grid settings are stored in your user profile folder\AppData\Local\App\..........

    Configuration Plex Panels.jpg



  • 5.  Re: Plex, C# and .NET

    Posted Oct 09, 2015 02:16 AM

    Hi Lorenz,

    I found it and saw how it works.

    I'll come back with more questions soon.

     

    Best Regards

    Anette



  • 6.  Re: Plex, C# and .NET

    Posted Dec 18, 2015 06:39 AM

    Hi Anette

     

    Here is a great link for your qestions. Best Practices for .NET Development with PLEX?

     

    how are you getting on with C# and SQL server?

     

    regards



  • 7.  Re: Plex, C# and .NET

    Posted Jan 13, 2016 08:26 AM

    Hi,

    This document help a lot.

     

    Now we have decided to have WinC on the client and .NET on server.

     

    But now I've got a problem by connecting my second application.

    I have written the same in my .ini file, added my serverpgm.dll (where my serverfnc is) in the assembly list.

    But still the clientpgm doesn't find the serverfnc.

     

    Does anyone have any tip?

     

    Regards

    Anette



  • 8.  Re: Plex, C# and .NET

    Posted Jan 13, 2016 08:43 AM

    Hi Anette -

     

    Have you checked the log file that is written by the .NET dispatcher ? What does it say ?

     

    Best regards

    Lorenz



  • 9.  Re: Plex, C# and .NET

    Posted Jan 14, 2016 01:44 AM

    Hi,

     

    The fnc doesn't find the server fnc (INserverpgm.TB9GF).

    Then i looked in the INserverpgm.dll and the fnc is there.

    Then I looked in the .NET dispatcher, and I think I've done right.

    I even made a new environment (flintam) to see if thats help.

    I have 2 .exe files (application).

    This is my .inifile.

     

    [RemoteCSharp]

    ;Settings for the default C# .NET server

    ;System=localhost

    System=lassiapptest.scan.lan

    OpSys=WINCLR

    Protocol=WINTCPIP

    ;Port=1998

    ;Environment=Default

    Port=2006

    Environment=Flintam

    Timeout=60

    Client Encoding=Windows-1252

    Program=

    Path=

    Buffer Size=1

    Package=

     

    Best regards

    Anette



  • 10.  Re: Plex, C# and .NET

    Posted Jan 15, 2016 05:48 AM

    Now I saw that the two of the picture dosen't show the assembly list. Here it is.



  • 11.  Re: Plex, C# and .NET

    Posted Jan 15, 2016 11:32 AM

    Hi,

    Now I've got it all work.

    It was a missmatch between saving all settings and restart the listnerjob.

    After a few restart both applications worked fine.

     

    Best regards

    Anette Flodberg



  • 12.  Re: Plex, C# and .NET

    Posted Jan 04, 2016 03:12 PM

    Anette,

    Make sure you get the latest ptf level. We have had multiple fixes for screen placement and column settings at r7.1   (Build 26.005).  We have some additional fixes on top of the original ptf.

    Also, the created xaml has to have a  ob:ObPanelSettings.Save="True" > in it to save the information.

    Frame parent child is strange the way it works and I'm not sure that the developers have fixed the issue.  We have just decided to update the child xaml with the  ob:ObPanelSettings.Save="True" > and this seems to take care of the issue.

    But that is a pain since you have to do that after the function is generated.

    Our work in .net has been painful because CA did/does not have the .net generator working correctly (we submitted 82 support tickets in 2015) but it may help you and future .net developers.

    CMFirst has been helpful

    regards

    Andy



  • 13.  Re: Plex, C# and .NET

    Posted Jan 04, 2016 04:04 PM

    Andy

     

    you indicate 7.1 Build 26.005 -

     

    I have 7.2 Build 21.000  - I assume 7.2 should include all the 7.1 Ptf's but just confirming if you are still 7.1 or 7.2 ?

     

    Anette -

     

    for C# I am at Build r7.2   (Build 21.000)  with additional fixes supplied by CA -

    - there are outstanding issues with the Grid states applying state of last row  - awaiting fix

    - check boxes within grids do not work quite the same as C++ (even after a patch to make them closer)

    - editable grids have problems with select functions returning values - awaiting fix

    - work around for Function Commits using the comit triples



  • 14.  Re: Plex, C# and .NET

    Posted Jan 04, 2016 04:24 PM

    Wayne,

    We are at 7.1 with additional fixes and would probably move to 7.2 if CA could assure us that all fixes we have currently at 7.1 are in the 7.2 release.

     

    Oh and our server is IBM I DB2 -- not SQL server fyi Anette.



  • 15.  Re: Plex, C# and .NET

    Posted Jan 13, 2016 08:29 AM

    Hi,

    I have Plex 7,2 (build 21.000)

    We have decided to keep WinC on the client (as we have now).

     

    Regards

    Anette



  • 16.  Re: Plex, C# and .NET

    Posted Jan 13, 2016 08:49 AM

    Anette,

    Just to let you know, we are using .net to IBM I RPG server and have migrated all of our client functions to .net c#.

    Our client software is fairly extensive covering underwriting, claims, accounting, etc.  We still have some issues to address but the .net client functionality is being used in our production environment.

    Andy



  • 17.  Re: Plex, C# and .NET

    Posted Jan 13, 2016 09:04 AM

    Anette -

     

    Could you please tell us the reasons for not migrating to C# WPF client ?

     

    Thanks

     

    Lorenz



  • 18.  Re: Plex, C# and .NET

    Posted Feb 15, 2016 03:13 AM

    Hi anette.flodberg.1 - I second Lorenz request as your opinion matters