Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6752951
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T13:06:15+00:00 2026-05-26T13:06:15+00:00

My company is trying to use a 3rd party PDF generator from within VFoxpro

  • 0

My company is trying to use a 3rd party PDF generator from within VFoxpro 9.0. They supplied us with a .dll COM file and method documentation, but they don’t support Foxpro so they can’t help with this.

I registered the DLL and load the COM, and it succeeds – after I createobject() intellisense prompts me with the list of methods, so I know it is importing them correctly. But, when I try calling any of the methods I get a popup window which simply says “syntax error.”, which is of very little help. I tried calling one method which takes no arguments, in case the problem was passing conventions, but that one also returns “syntax error”. Is there anything more I need to do besides create an object and use it for method calls?

I am not really a foxpro guy, but I have tried this same thing using different COMs, like Excel.Application, and they work as I would expect them to. Is there any reason a COM might be incompatible with Foxpro, or require some other manipulation to get it to work?

Thanks very much for any suggestions.


OK, after a day and a half I found the problem.

I was typing a=createobject("library.class") and then = a.method(), and it was returning “syntax error”. It turns out that if I call the variable anything but a it works! It appears there is some sort of bug in foxpro so that it is not parsing this correctly when the variable name is a. If I use b, x, anotherName, or anything else it works. If I type ?a it confirms that a is an (object), and as I said intellisense is recognizing all the method names and types. I can’t wait to get back to java.

So thanks, no other answers are needed, but I will leave this up in case it can help some other poor soul.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T13:06:15+00:00Added an answer on May 26, 2026 at 1:06 pm

    See the answer I typed in above – variables cannot be called “a”. Sorry for not entering it as an answer so this could be closed.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to copy a war file from my company's Nexus repository to
I am trying to use QueryStrings from my C# file in my ASPX file:
I am trying to get the likes from a company pages (coca-cola) I used
I'm trying to use an FtpWebRequest to get the size of a file on
I'm trying to use the sencha sdk to generate my minified file. I have
I am trying to use the .tooltip() that I found from the following: Jquery-ui
I'm a total newbie trying to use Python to analyze my company's log files.
I am trying to use Jquery Multiselect plugin from Beautiful site and MVC3 together
I'm trying to redirect people to a PDF after they've submitted the form correctly,
I'm trying to use the DynDNS API to validate user-supplied DynDNS credentials, and the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.