VFP and .NET Interop
New User - Need Licensed version
Gravatar is a globally recognized avatar based on your email address. New User - Need Licensed version
  Gregg B
  All
  May 30, 2017 @ 07:09am

I just bought "Web Service Proxy Generator for VFP". I un-installed the shareware version, but when I installed the purchased program (from the email link) it still said it was the shareware version. I need the real version because I want to make an automated project and the shareware screen interrupts the process.

Also, when I use the program, I get an error message saying that the assembly is built by a run time newer than the currently loaded run time. I am using .Net 4.1

Can you help me?

Gravatar is a globally recognized avatar based on your email address. re: New User - Need Licensed version
  Rick Strahl
  Gregg B
  May 30, 2017 @ 04:25pm

Hi Gregg,

Re: Installation and Shareware

Are you sure you installed the right file from the download link? Please uninstall the original version then re-install and make sure you're using the file that was downloaded from the registration link.

FWIW, I just downloaded and installed the registered version and I see no shareware prompts either in the Wizard, or the generated proxy output files. Make sure you also regenerate your proxies or update your dependencies that are generated by the proxy generator - those generated files and dependencies include some shareware blocks.

As to the .NET version issue - make sure that you use .NET 4 when you run your application - I suspect your application is somehow defaulting to .NET 2. Make sure when you create your proxy you specifically ask for V4:

LOCAL loService as WebStoreServiceProxy
loService = CREATEOBJECT("WebStoreServiceProxy","V4") &&

Notice the V4 that forces the .NET version.

Actually the recommended approach is to explicitly force the .NET Runtime on startup of your application:

*** in main PRG or startup form
DO wwDotnetBridge
GetwwDotnetBridge("V4")

This ensures the .NET runtime loaded is forced to 4 for the duration of the application since only one version of .NET can run at any one given time.

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: New User - Need Licensed version
  Gregg B
  Gregg B
  May 30, 2017 @ 07:36pm

OK, I got the proper version finally installed. I had to uninstall the trial version by hand (regedit, etc.) because windows wouldn't uninstall it. After that, Norton wouldn't let me install the real program because it said it wasn't trusted so I cut Norton off and installed it. The .Net version problem was solved by your suggestions (thanks!).

Now, I need to build XML files and the WS documentation suggests using an XML Schema Definition tool. What do you recommend that works best with Foxpro?

Gravatar is a globally recognized avatar based on your email address. re: New User - Need Licensed version
  Rick Strahl
  Gregg B
  May 31, 2017 @ 10:23am

What are the xml files for?

Gravatar is a globally recognized avatar based on your email address. re: New User - Need Licensed version
  Gregg B
  Rick Strahl
  May 31, 2017 @ 10:37am

I'm working on an online tool that processes online check payments. The data has to be sent back and forth in xml "packets". Information will be (like) name, bank name, account number, routing number, etc.

Working with a credit card / check processing company called Sage and their webservice is called 'authgatewayproxy'

Gravatar is a globally recognized avatar based on your email address. re: New User - Need Licensed version
  Rick Strahl
  Gregg B
  May 31, 2017 @ 12:08pm

I guess I'm not sure what you mean. Aren't you using the Web Service to send the data?

+++ Rick ---

© 1996-2017