Re: XSharp - latest version sample console application using VFP syntax.

2019-10-24 Thread Stephen Russell
Sounds dangerous, finding gaps between X#-C# and VFP with respect to filesystem functionality. If the Line of Business is really decorating the UI, will that still work? On Thu, Oct 24, 2019 at 10:26 AM Johan Nel wrote: > Hi Alan, > > On 2019/10/24 12:57, Alan Bourke wrote: > > Again I appear t

Re: XSharp - latest version sample console application using VFP syntax.

2019-10-24 Thread Johan Nel
Hi Alan, On 2019/10/24 12:57, Alan Bourke wrote: Again I appear to be failing in getting across what I am talking about. I have lots of PRG files with classes and libraries that have no UI and usually no database interactions. They do line of business calculations, they do filesystem based th

Re: OLE iDispatch Exception

2019-10-24 Thread Ted Roche
Maybe wrap it in a TRY... CATCH and retry? Make sure to have a counter/time check so that if network is REALLY down, you don't get stuck in a loop: TRY, wait a few seconds on failure, repeat, give up after a couple of attempts. On Thu, Oct 24, 2019 at 7:39 AM Chris Davis wrote: > Thanks Andy &

Re: XSharp - latest version sample console application using VFP syntax.

2019-10-24 Thread Stephen Russell
Thank you for the explanation of the underlying concept of the core functionality presented via X#. My current codebase when I write C# code is usually MVC in nature and I use a good deal of lambda syntax nowadays. On Wed, Oct 23, 2019 at 4:59 PM Johan Nel wrote: > Hi Stephen, > > On 2019/10/23

RE: OLE iDispatch Exception

2019-10-24 Thread Chris Davis
Thanks Andy & Tracy, I had misread it, I thought VFP couldn't find the msxml3.dll resource!!! Reading it again as the control can't find the URL resource now makes a lot of sense. -Original Message- From: ProfoxTech On Behalf Of AndyHC Sent: Thursday, 24 October 2019 11:34 To: profoxt

Re: OLE iDispatch Exception

2019-10-24 Thread Tracy Pearson
I agree with that assessment. I have begun to change my code to use the Chilkat ActiveX control. There is a lot more detail and a way to parse the information returned by the control in code. https://www.chilkatsoft.com/ The bundle is worth the price. Tracy On October 24, 2019 3:34:22 AM MST, A

Re: XSharp - latest version sample console application using VFP syntax.

2019-10-24 Thread Alan Bourke
Again I appear to be failing in getting across what I am talking about. I have lots of PRG files with classes and libraries that have no UI and usually no database interactions. They do line of business calculations, they do filesystem based things. Rather than rewrite them completely in C# it m

Re: OLE iDispatch Exception

2019-10-24 Thread AndyHC
Your internet connection is [briefly] down? On 24-Oct-2019 2:50 PM, Chris Davis wrote: The following code works most of the time but occasionally it throws the following OLE error when .send is called, any ideas? lcURL=www.bbc.co.uk && not the real url oHTTP = CreateObje

Re: XSharp - latest version sample console application using VFP syntax.

2019-10-24 Thread Johan Nel
On 2019/10/24 10:15, Alan Bourke wrote: On Wed, 23 Oct 2019, at 4:55 PM, Stephen Russell wrote: Interesting comment there, " quick conversions of VFP function libraries" Matt Slay have shared a VFP-Toolkit for .NET that was developed about 10 years ago.  Bringing those into X# is a mere referen

Re: XSharp - latest version sample console application using VFP syntax.

2019-10-24 Thread Johan Nel
Hi Paul, On 2019/10/23 19:48, Paul Hill wrote: On Wed, 23 Oct 2019 at 15:45, Alan Bourke wrote: For my own use case I would see a lot of value in quick conversions of VFP function libraries that don't necessarily interact with data, of which I have a lot. It would be interesting to see how

OLE iDispatch Exception

2019-10-24 Thread Chris Davis
The following code works most of the time but occasionally it throws the following OLE error when .send is called, any ideas? lcURL=www.bbc.co.uk && not the real url oHTTP = CreateObject("msxml2.xmlhttp") oHTTP.open("GET",lcurl,.f.) oHTTP.send() OLE IDispatch exception c

Re: XSharp - latest version sample console application using VFP syntax.

2019-10-24 Thread Alan Bourke
On Wed, 23 Oct 2019, at 4:55 PM, Stephen Russell wrote: > Interesting comment there, " quick conversions of VFP function libraries" > I have to ask what functionality from VFP that you wanted in .NET? String > manipulation, data manipulation or something else? More accurately I meant 'libraries