Welcome, Guest
Username: Password: Remember me
Welcome to the XSharp forum!

Tell us and our members who you are, what you like and why you became a member of this site.
We welcome all new members and hope to see you around a lot!
  • Page:
  • 1

TOPIC:

dependence GUI and database? 11 Nov 2021 12:31 #20355

  • kitz
  • kitz's Avatar
  • Topic Author


  • Posts: 82
  • Hi!
    Maybe a silly question, but I am not sure about this:
    1. If I move from VO to X# a program with VO GUI and SQLClasses then I have to use still VO GUI and VOSQLclasses to avoid major changes.
    Correct?
    2. Is there a way to use .net dataset with VO GUI? Or do I have move to winforms or wpf to be able to use datasets?
    BR Kurt

    Please Log in or Create an account to join the conversation.

    dependence GUI and database? 11 Nov 2021 18:00 #20361

    • Chris
    • Chris's Avatar


  • Posts: 3652
  • Hi Kurt,

    You can use anything you want in .Net, but the main problem is that if your code is using the standard classes and methods from the VO SDK, then of course you cannot "simply" move to .Net classes, which have different method names etc, without adjusting your code. An option would be to write a wrapper class though, which "translates" one system to the other...
    XSharp Development Team
    chris(at)xsharp.eu

    Please Log in or Create an account to join the conversation.

    Last edit: by Chris.

    dependence GUI and database? 11 Nov 2021 22:26 #20364

    • robert
    • robert's Avatar


  • Posts: 3178
  • Kurt,

    kitz wrote: Hi!
    Maybe a silly question, but I am not sure about this:
    1. If I move from VO to X# a program with VO GUI and SQLClasses then I have to use still VO GUI and VOSQLclasses to avoid major changes.
    Correct?
    2. Is there a way to use .net dataset with VO GUI? Or do I have move to winforms or wpf to be able to use datasets?
    BR Kurt


    1) Yes
    2) We are working on an RDD that will take an Ado.Net datatable/ dataset as data source. The RDD will also allow you to write back data to the SQL backend. You can use that with VO GUI Windows.

    Robert
    XSharp Development Team
    The Netherlands

    Please Log in or Create an account to join the conversation.

    dependence GUI and database? 12 Nov 2021 13:06 #20370

    • kitz
    • kitz's Avatar
    • Topic Author


  • Posts: 82
  • Hello Robert,
    sounds good!
    BR Kurt

    Please Log in or Create an account to join the conversation.

    dependence GUI and database? 13 Nov 2021 07:46 #20388

    • info@task.si's Avatar


  • Posts: 26
  • Hi Robert !

    RDD in X# for ADO.net ? Do you have any time frame ?
    Will this RDD working like VO2Ado ( defining AdoRecordSet ......, using skip() for record moving etc.) ?

    TIA, Andrej

    Please Log in or Create an account to join the conversation.

    dependence GUI and database? 13 Nov 2021 10:30 #20389

    • wriedmann
    • wriedmann's Avatar


  • Posts: 3191
  • Wolfgang Riedmann
    Meran, South Tyrol, Italy

    www.riedmann.it - docs.xsharp.it

    Please Log in or Create an account to join the conversation.

    dependence GUI and database? 13 Nov 2021 12:18 #20390

    • info@task.si's Avatar


  • Posts: 26
  • Thanks Wolfgang. I forgot it , unless I read those articles in August.
    This means long term schedule (Xanthi) , I suppose in a one year ....

    Best regards to all, Andrej

    Please Log in or Create an account to join the conversation.

    dependence GUI and database? 13 Nov 2021 16:47 #20394

    • wriedmann
    • wriedmann's Avatar


  • Posts: 3191
  • Hi Andrej,
    personally I think we will see the first usable code in a few months - of course faster for FoX members.
    Personally yesterday I have ordered an ADS license for my second largest customer (my largest customer is using ADS for years now), because I think a migration of his large DBF based application to a SQL based database is a lot of work for me (I'm using many functionalities of positional databases like DBFs).
    Wolfgang
    Wolfgang Riedmann
    Meran, South Tyrol, Italy

    www.riedmann.it - docs.xsharp.it

    Please Log in or Create an account to join the conversation.

    dependence GUI and database? 30 Nov 2021 13:21 #20637

    • Stavros Spanos
    • Stavros Spanos's Avatar


  • Posts: 63
  • Hello to everybody.
    I use VOSQLclasses to my migrated VO2XS projects, but it seems to have a problem with this approach.
    For example the following sample Code
    oConn := SqlConnection{  }
    oConn:Connect( myDataSource, myUsername, myPassword )
    generates a Login Timeout expired error from the ODBC SQL Server Driver.
    Of course the same code establish a connection to the Database using the DataSource, at Visual Objects.
    I Checked the platform target (is x86).
    This code is tested at the latest XSharp Cahors 2.9a as well as the previous XSharp Cahors 2.8c.
    My IDE is Visual Studio 2017

    Please Log in or Create an account to join the conversation.

    Last edit: by Stavros Spanos.
    • Page:
    • 1