fbpx
Welcome, Guest
Username: Password: Remember me
This public forum is meant for questions and discussions about Visual FoxPro
  • Page:
  • 1

TOPIC: State of VFP in X#?

State of VFP in X#? 09 Nov 2019 15:53 #11668

  • LG's Avatar

  • LG

  • Topic Author


  • Posts: 3
  • I saw there's a list of supported command. Saw the "conclusions" from SW Fox.. But what is the current state of VFP in X#? Can i write pure VFP applications? If not, when would this be possible, any estimates on when a working Exporter would be publically available..?

    Thanks in advance for your replies.

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

    State of VFP in X#? 09 Nov 2019 17:53 #11671

  • lumberjack's Avatar

  • lumberjack


  • Posts: 683
  • Hi LG,

    LG wrote: I saw there's a list of supported command. Saw the "conclusions" from SW Fox.. But what is the current state of VFP in X#? Can i write pure VFP applications? If not, when would this be possible, any estimates on when a working Exporter would be publically available..?

    It all depends what you define as pure VFP commands.

    If you start with a new application, I would suggest you make use of what is available in .NET.

    The commands are basically all available, DBF support etc. VFP classes, DBC and Cursors not yet available. My gutfeel is that 90% of VFP is already supported
    ______________________
    Johan Nel
    George, South Africa

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

    State of VFP in X#? 10 Nov 2019 20:53 #11679

  • FoxProMatt's Avatar

  • FoxProMatt


  • Posts: 390
  • Hi LG.

    Maybe the X# Dev Team will give an update soon. I do know they were very busy prior to the Southwest Fox conference in preparing and they gave over a week of their time to travel to the conference and we greatly appreciate all that they did. It’s understandable that they may be slow in responding while they recover but I do believe you’ll hear from them soon.

    I can tell you that many FoxPro commands work but not all of the functions.

    I believe the first road block you would hit, besides some missing runtime functions, is that the native FoxPro SQL commands are not working yet. This means that, while you can call the USE command to open individual DBFs into Work Areas (Cursors) you cannot create a SQL Select command on the local Cursors. In my opinion this is one of the first things FoxPro people would find missing at this time.

    Anyway, let’s see how all the X# Dev Team responds to your question.

    In the meantime, I encourage you to download the current public version and get it working inside of Visual Studio. Create a new X# VFP Console app project, then one code startup method, call the USE command and then do a Scan/EndScan over the Cursor to print out a few fields to the console. That’s the first baby step that would give you some hands-on experience with it and get you ready for the next release which should have more FoxPro functionality in it.

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

    State of VFP in X#? 11 Nov 2019 00:33 #11681

  • Chris's Avatar

  • Chris


  • Posts: 1945
  • Guys,

    I do not think it is possible to give exact estimates right now, VFP support will be an ongoing development, like VO support (and other dialects supper) still is and will continue to be. Right now the compiler does support a lot of the VFP syntax, there's runtime support for it, too, so already VFP-like apps can be developed. But still of course a lot is missing as well, and every week or so more features will be added.
    XSharp Development Team
    chris(at)xsharp.eu

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

    State of VFP in X#? 11 Nov 2019 17:17 #11695

  • FoxProMatt's Avatar

  • FoxProMatt


  • Posts: 390
  • Robert started a FoxPro Compatibility list back in mid-October. I think it would be good to maintain a “Current State of VFP Compatibility” list so people can see where it is at any point.

    The only thing that is really needed is the “What isn’t implemented yet” list.

    Then, indicating the priority of attack on those missing things would be helpful.

    www.xsharp.info/itm-help/foxpro-compatibility-list

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

    Last edit: by FoxProMatt.

    State of VFP in X#? 11 Nov 2019 17:35 #11696

  • Kevin Clark's Avatar

  • Kevin Clark


  • Posts: 70
  • FoxProMatt_MattSlay wrote: I believe the first road block you would hit, besides some missing runtime functions, is that the native FoxPro SQL commands are not working yet. This means that, while you can call the USE command to open individual DBFs into Work Areas (Cursors) you cannot create a SQL Select command on the local Cursors. In my opinion this is one of the first things FoxPro people would find missing at this time.


    I agree with you on the importance of the internal SQL commands. In my VFP programs I've almost entirely switched to SQL commands, such as using UPDATE instead of REPLACE. A missing function here or there wouldn't matter much since you could just write a replacement yourself in most cases; but missing internal SQL functionality would be very time-consuming to get around.

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

    State of VFP in X#? 11 Nov 2019 19:49 #11697

  • FoxProMatt's Avatar

  • FoxProMatt


  • Posts: 390
  • Kevin Clark - I think the best thing FoxPro community could do is show their support of the X# project by joining the (paid) FOX membership program to show our willingness to support them and it gives us a voice in guiding what area of X# they work on next. Maybe VFP community can play the "squeaky wheel get the grease" card.

    More info here: www.xsharp.info/store

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

    State of VFP in X#? 11 Nov 2019 22:08 #11700

  • Kevin Clark's Avatar

  • Kevin Clark


  • Posts: 70
  • Matt, I agree with you on the importance of supporting this project. That's why my company signed up for the Friends of X# program as soon as I returned from SWFox. Of all the projects to update Visual Foxpro this is the first one I've seen that looks like it can become viable.

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

    State of VFP in X#? 12 Nov 2019 00:25 #11701

  • David Martin's Avatar

  • David Martin


  • Posts: 5
  • I also signed up for FOX to show support for getting FoxPro dialect going.

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

    State of VFP in X#? 12 Nov 2019 00:48 #11703

  • FoxProMatt's Avatar

  • FoxProMatt


  • Posts: 390
  • IvyLeague and Kevin Clark

    Great!!

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

    State of VFP in X#? 12 Nov 2019 04:51 #11705

  • lumberjack's Avatar

  • lumberjack


  • Posts: 683
  • FoxProMatt_MattSlay wrote: IvyLeague, Kevin Clark and Cecil

    Great!! Welcome aboard

    ______________________
    Johan Nel
    George, South Africa

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

    State of VFP in X#? 24 Nov 2019 14:46 #11877

  • cecilchamp's Avatar

  • cecilchamp


  • Posts: 49
  • I feel the same way, that XSharp is a viable alternative to VFP-32-bit and also can integrate developers into .NET a bit more easily than C#.

    Although I have completed three C# "academic" classes/courses in different colleges, not one instructor ever addressed how to access and display data. Every time I would ask them, I got blank stares. They were strictly academics, nothing more. They only demonstrated WinForms and controls, no data.

    This is a bit of a learning curve for me, but I am sure things will come together. Part of the l;earning curve is how to do FoxPro things in a language that isn't 100% compatible yet. It may never be 100% compatible, but at least there is some concrete progress in that direction.

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

    Last edit: by cecilchamp.

    State of VFP in X#? 25 Nov 2019 04:22 #11912

  • wriedmann's Avatar

  • wriedmann


  • Posts: 2280
  • Hi Cecil,

    Although I have completed three C# "academic" classes/courses in different colleges, not one instructor ever addressed how to access and display data. Every time I would ask them, I got blank stares. They were strictly academics, nothing more. They only demonstrated WinForms and controls, no data.


    Maybe this is a more common approach in the Xbase language: the importance of the data.
    Normally business applications (and that is from what I'm living) are centered about the data, and very often I have seen the same behavior as you describe.

    But in fact, both a Windows Forms application and a WPF application can deal with data very well, through the databinding facilities (they are more evolved in WPF, but they also work very well with Windows Forms).
    There should be samples around how to use databinding in Windows Forms and WPF with DBF databases - maybe I could put a few things together.

    Unfortunately these samples are not using the "command" language approach that is common to the VFP world, but the object oriented approach (common to languages like C#, Java, VO, ... ).

    Wolfgang
    Wolfgang Riedmann
    Meran, South Tyrol, Italy

    www.riedmann.it - docs.xsharp.it

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

    State of VFP in X#? 26 Nov 2019 00:01 #11937

  • cecilchamp's Avatar

  • cecilchamp


  • Posts: 49
  • Wolfgang, that would actually be very helpful. Thank you!

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

    State of VFP in X#? 26 Nov 2019 06:02 #11943

  • wriedmann's Avatar

  • wriedmann


  • Posts: 2280
  • Hi Cecil,
    I will put some things together the next days.
    Wolfgang
    Wolfgang Riedmann
    Meran, South Tyrol, Italy

    www.riedmann.it - docs.xsharp.it

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

    • Page:
    • 1