Visual Foxpro and java

Hi all,
I just have a quick question. I have a stand alone Visual Foxpro project, which I am converting it to a web application and I am using java servlets. I was wondering can I have a java class that after getting the info from the servlet class "passes the info to foxpro class" or "calls a method from a foxpro class"?
I appreciate your reply,
Thanks.

If the FoxPro class is a .dll you should be able to. Google "JACOB Project"

Similar Messages

  • How open a report with Viewer 2008 without using Visual Studio and Java

    Hi,
    There is a way to open a report (with parameters) save in a web server with Crystal Report Viewer 2008 without using Visual Studio or Java ?
    I've an asp page and i want to open this report using some command (I know asp, vbscript and html)
    In the past it was very easy because we use CR 9, but now it's already many days im looking for a solution but seem impossible.
    I know the craxdrt.dll is not included with Crystal Reports 2008.
    It seem me i can use OpenDocument, but i'm not sure. Someone has some easy example to help me ?
    Remember i have only Crystal report viewer 2008 on the server and on the clients.
    Thanks in advance

    If you are looking to create a web application or view report through a web server using only Crystal Reports then you do have to either use Java, or .NET.
    If you have Crystal Reports server or Business Objects Enterprise you can use OpenDocument to view managed reports but this does require one of our server products.
    Trevor.

  • Visual FoxPro and WebHelp

    Is it possible to create WebHelp for a Visual FoxPro application?

    WebHelp is really for running from a server so it is best suited to web apps.
    CHMs are now really for local installation and thus suited to locally installed applications.
    Both can be run locally or from a server but there are issues when not run as above.
    I believe Visual FoxPro only generates apps for client installation so CHMs would be the way to go.
    See www.grainge.org for RoboHelp and Authoring tips

  • Visual Foxpro and Parallels

    I'm a total Macbook newbie and a VFP developer. The reason for purchasing the Macbook is to determine whether our Visual Foxpro application will run in Parallels on a Mac. Obviously, this is a marketing opportunity for us that we want to take advantage of if everything works properly.
    I've got Parallels installed on my Macbook but I haven't had a chance to install VFP yet. Just thought I'd check to see if anyone else has tried this.

    This may not be an immediate answer to your question, but you might want to post as well on the Parallels Desktop for Mac support forum. I did do a quick search for "foxpro" on the forum and only hit a couple of posts, so at the moment there isn't a lot there but it still might be worth a shot posting. The folks who hang out on that form (I do there and here) are generally pretty helpful (OK, I hope I'm helpful .
    -- Bob
    Intel Mini 1.66 GHz, Mac Pro 2.66 GHz   Mac OS X (10.4.8)  
    Vista and XP running under Parallels

  • Java.sql.SQLException: [Microsoft][ODBC Visual FoxPro Driver]Syntax error

    Hi all,
    I am able to INSERT and SELECT records from FoxPRo database successfully.
    The driver is Sun JDBC-ODBC bridge
    The DELETE statement throws no exception.
    I've tried to execute PACK after the DELETE call and got following exception:
    java.sql.SQLException: [Microsoft][ODBC Visual FoxPro Driver]File must be opened exclusively.So I tried USE MYTABLE EXCLUSIVE in a Statement before calling PACK and got the exception:
    java.sql.SQLException: [Microsoft][ODBC Visual FoxPro Driver]Syntax error or access violationI've also tried inserting the USE MYTABLE EXCLUSIVE before calling DELETE but got the same exception above.
    The ODBC DSN for MYTABLE is setup as:
    - Free Tables (not database)
    - Null (checked)
    - Deleted (checked)
    - Fetch data in background (checked)
    I am not able to issue any of the following commands to FoxPro using java
    OPEN - To open a table
    CLOSE - To close a table
    USE - To open a table for uer either in exclusive mode or shared mode
    The exception being generated is :
    java.sql.SQLException: [Microsoft][ODBC Visual FoxPro Driver]Syntax error or access violationThe help file of the Microsoft Visual Foxpro Driver states that the driver has support for the above commands.I a not able to get the way to issue the above commands to the driver using java.
    In setting up the ODBC DSN I saw no "read only" setting.
    In the Visual Foxpro table, I saw no READ ONLY settings.And also, there are no delete permission grants and there is no user database sesssion concept.
    I've tried all of the above with DSN mapped to a database(NOT free tables) and setting AUTO-COMMIT OFF and AUTO-COMMIT ON.But in vain. The same exceptions as those stated above persisted.
    Environment:
    Microsoft Windows XP Professional
    JDK version "1.4.2_09"
    Microsoft Visual Foxpro 06.00.8167
    Microsoft Visual Foxpro Driver 6.01.8629.01
    Don't know what else to try.
    Can anybody please help me.
    Thanks in advance
    Archana

    java.sql.SQLException: [Microsoft][ODBC Visual FoxPro Driver]File must be opened exclusively.
    In the Visual Foxpro table, I saw no READ ONLY settings.And also, there are
    no delete permission grants and there is no user database sesssion concept.
    The ODBC DSN for MYTABLE is setup as:
    - Free Tables (not database)
    - Null (checked)
    - Deleted (checked)If you're using Visual Foxpro database(.DBC), you should see "Exclusive" option too. You can try check it, but I don't know whether your issue will disappear.

  • How to show all view tab (Main Report and all Sub Report) in Visual FoxPro 9

    I use ActiveX from Crystal Report Developer XI for viewer in Visual FoxPro 9 and I already know how to show Main Report by using command:
    oRptRun=createobject("CrystalRuntime.Application")
    oRptView=thisform.oleRptViewer
    oRptOpen=oRptRun.OpenReport('MyReport.rpt')
    oRptView.ReportSource=oRptOpen
    oRptView.ViewReport
    Inside the MyReport.rpt there is two subreport name :
    1. MySubReport1
    2. MySubReport2
    My Question is :
    How to show all view tab (Main Report and all Sub Report) at the 1st time we call ViewReport?
    I try to using command :
    oRptRun=createobject("CrystalRuntime.Application")
    oRptView=thisform.oleRptViewer
    oRptOpen=oRptRun.OpenReport('MyReport.rpt')
    oRptSub=oRptOpen.OpenSubreport("MySubReport1")
    oRptSub=oRptOpen.OpenSubreport("MySubReport2")
    oRptView.ReportSource=oRptOpen
    oRptView.ViewReport
    but only show Main Report (view tab name : Preview)?
    Did I miss any command before I call oRptView.ViewReport?

    Your right, there is only one tab to view the report.
    To open the subreports you will need to click on them in the main report. I don't know of a way to open them programmatically like you are doing here
    http://diamond.businessobjects.com/robhorne</a>

  • Integrate Crystal Reports version 11.5 and Visual FoxPro

    Post Author: landc50
    CA Forum: General
    I have developed several softwares in Visual FoxPro while using Crystal Reports Version 7 as the major reporting tool.   It was easy to invoike Crystal reports from my applications, simply by adding the Crystal OCX onto the VFP form. 
    Now --- I have added the ActiveXReportViewer from version 11.5 onto my VFP form.    Looks ok but it I am not sure how to invoke the reports in Maximized mode.   Seems like it will only show the report the same size as the object I placed on my VFP form.
    I need to know how to do this yesterday.   I must implement a new system and I do not want to revert back to Crystal reports version 7.   Any help would be appreciated. 

    Post Author: The Donger
    CA Forum: General
    Hi,
    I would recommend you have an empty form and drop the viewer on that form.  Set the form's state to Maximize. 
    Good luck,
    Brian

  • Crystal XI Reports and Visual Foxpro Tables

    Post Author: Pamela Vincent
    CA Forum: Data Connectivity and SQL
    I have installed XI and tried to add an ODBC connection for a database package written in Visual Foxpro 9.0
    In online help there appears to be a Foxpro option in the connection info diagrams, but I don't get all of the choices when working through the process myself.
    I had no problems connecting and using Crystal 8.5 previously so I'm at a loss as to why I can't get it to work.
    Any suggestions would be appreciated.

    Not just the runtime - where would you get it without breaking licensing? You have to have a valid copy of CR 2008 and install it. No worries about unistalling CR 10.5 - .NET 2008 will automatically use the latest files.
    Re. Oracle support. That is correct. The crdb_oracle.dll does not ship with any versions of CR that bundle with .NET. You could go ODBC or OLE DB though.
    Not sure what you mean;
    Can the CRRuntime_12.x be bundle to VS 2008 just like the Basic version does?
    But as I mentioned above, you must obtain a copy of CR 2008. A 30 day eval is available from here;
    http://www.sap.com/solutions/sapbusinessobjects/sme/freetrials/index.epx
    To obtain a non eval copy, call sales; 866-681-3435
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • Visual Age for Java 3.0 and EJBs

     

    Michael,
    We are also seeing problems with EJB development using the VAJ integration kit
    for Weblogic 4.5.1 and Visual Age Java 3.0.2. The rest of the integration,
    JSPs, Servlets, etc. appear to work just fine using the 4.5.1 integration kit
    and Visual Age Java 3.0.2. However, with EJBs we are finding the deployment
    tools to break into the VAJ debugger.
    Comments (all welcome)
    john
    Michael Girdley wrote:
    We plan to release an integration kit for VisualAge soon. Please check our
    web site regularly for information on the availability of this kit.
    Thanks,
    Michael
    Michael Girdley
    Product Manager, WebLogic Server & Express
    BEA Systems Inc
    Vladimir Goncharov <[email protected]> wrote in message
    news:[email protected]...
    I'm getting Exception, when trying to create Initial context from withinthe
    VisualAge for Java 3.0, the same compiled class by Visual Age for Java 3.0
    works fine when run from the command line using JDK.2.2
    My understanding is that client program may run on JDK 1.1.7 and above and
    IBM using IBM JDK 1.1.8 which compatible with the SUN one
    Please help.
    Here is the classpath that VisualAge is using
    C:\weblogic\classes;
    C:\weblogic\lib\weblogicaux.jar;
    C:\IBMVJava\ide\Program\lib\;
    C:\IBMVJava\ide\Program\lib\classes.zip;
    Here is the Exception thrown by Weblogic
    weblogic.utils.AssertionError: ***** ASSERTION FAILED
    ****[ java.lang.InternalError: (Ex02) An error has occurred. ]
    java.lang.Throwable(java.lang.String)
    java.lang.Error(java.lang.String)
    weblogic.utils.NestedError(java.lang.String)
    weblogic.utils.AssertionError(java.lang.String)
    java.lang.Object
    weblogic.kernel.Kernel.getInstanceDynamically(java.lang.String,
    java.lang.Class [], java.lang.Object [])
    weblogic.logging.LogManager weblogic.kernel.Kernel.getLogManager()
    weblogic.logging.LogOutputStream(java.lang.String)
    weblogic.common.internal.LogOutputStream(java.lang.String)
    weblogic.t3.services.ConfigClient()
    java.lang.Objectjava.lang.reflect.Constructor.newInstance(java.lang.Object
    java.lang.Object
    weblogic.kernel.Kernel.getInstanceDynamically(java.lang.String,
    java.lang.Class [], java.lang.Object [])
    weblogic.t3.services.ConfigDef weblogic.kernel.Kernel.getConfig()
    void weblogic.kernel.Kernel.ensureInitialized()
    weblogic.rjvm.RJVM weblogic.rjvm.ServerURL.findOrCreateRJVM()
    javax.naming.Context
    weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(weblogic.jnd
    i.Environment, java.lang.String)
    javax.naming.Context
    weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(java.util.Ha
    shtable)
    javax.naming.Context
    weblogic.jndi.WLInitialContextFactory.getInitialContext(java.util.Hashtable)
    javax.naming.Context
    javax.naming.spi.NamingManager.getInitialContext(java.util.Hashtable)
    javax.naming.Context javax.naming.InitialContext.getDefaultInitCtx()
    void javax.naming.InitialContext.init(java.util.Hashtable)
    javax.naming.InitialContext(java.util.Hashtable)
    javax.naming.Context com.vlad.ejb.client.ClientTest.getInitialContext()
    void com.vlad.ejb.client.ClientTest.main(java.lang.String [])
    weblogic.utils.AssertionError: ***** ASSERTION FAILED
    ****[ weblogic.utils.AssertionError: ***** ASSERTION FAILED
    ****[ java.lang.InternalError: (Ex02) An error has occurred. ] ]
    java.lang.Throwable(java.lang.String)
    java.lang.Error(java.lang.String)
    weblogic.utils.NestedError(java.lang.String)
    weblogic.utils.AssertionError(java.lang.String)
    java.lang.Object
    weblogic.kernel.Kernel.getInstanceDynamically(java.lang.String,
    java.lang.Class [], java.lang.Object [])
    weblogic.t3.services.ConfigDef weblogic.kernel.Kernel.getConfig()
    void weblogic.kernel.Kernel.ensureInitialized()
    weblogic.rjvm.RJVM weblogic.rjvm.ServerURL.findOrCreateRJVM()
    javax.naming.Context
    weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(weblogic.jnd
    i.Environment, java.lang.String)
    javax.naming.Context
    weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(java.util.Ha
    shtable)
    javax.naming.Context
    weblogic.jndi.WLInitialContextFactory.getInitialContext(java.util.Hashtable)
    javax.naming.Context
    javax.naming.spi.NamingManager.getInitialContext(java.util.Hashtable)
    javax.naming.Context javax.naming.InitialContext.getDefaultInitCtx()
    void javax.naming.InitialContext.init(java.util.Hashtable)
    javax.naming.InitialContext(java.util.Hashtable)
    javax.naming.Context com.vlad.ejb.client.ClientTest.getInitialContext()
    void com.vlad.ejb.client.ClientTest.main(java.lang.String [])
    John N. Alegre
    Javelin Solutions
    [email protected]

  • JSP and Microsoft Visual FoxPro Database

    Hi!
    I am developing a website in JSP, this is placed on a linux server. I want to connect to the FoxPro databasefiles(*.dbf) on another server.
    How can i do this?
    I've tried this connectionstring, but it only works on my local machine that runs on Windows XP:
    Connection c = DriverManager.getConnection("jdbc:odbc:Driver={Microsoft Visual FoxPro Driver};UID=;PWD=;SourceDB=" + db + ";SourceType=DBF;Exclusive=No;BackgroundFetch=Yes;Collate=Machine;Null=Yes;Deleted=Yes;");
    This connection string is not usable on the server where the JSP-page runs.

    Hi!
    I am developing a website in JSP, this is placed on a
    linux server. I want to connect to the FoxPro
    databasefiles(*.dbf) on another server.
    How can i do this?
    I've tried this connectionstring, but it only works
    on my local machine that runs on Windows XP:
    Connection c =
    DriverManager.getConnection("jdbc:odbc:Driver={Microso
    ft Visual FoxPro Driver};UID=;PWD=;SourceDB=" + db +
    ";SourceType=DBF;Exclusive=No;BackgroundFetch=Yes;Coll
    ate=Machine;Null=Yes;Deleted=Yes;");The above is a JDBC related question it belongs to the JDBC forum.
    List of forums: http://forum.java.sun.com/index.jspa?tab=java
    This connection string is not usable on the server
    where the JSP-page runs.JDBC connection has nothing to do with the presence of JSPs, it will work just fine whether JSPs exist or not.
    I encourage you to read this http://www.catb.org/~esr/faqs/smart-questions.html#forum at your leisure.

  • Visual FoxPro stored procedure problem

    I search this forum and I found people who got the same as I do, but can't find any answer/solution.
    I tried to call Visual FoxPro stored procedure, without argument and result,
    CallableStatement cs = con.prepareCall ("call strproc ()");
    cs.execute();
    but I always received an exception Exception : java.sql.SQLException: [Microsoft][ODBC Visual FoxPro Driver]Syntax error or access violation
    Can anybody help me.

    Try with,
    CallableStatement cs = con.prepareCall ("{call strproc ()}");
    cs.execute(); // or cs.executeUpdate();
    Sudha

  • Visual Foxpro Connection

    Hii there,
    I'm going to connect a foxpro database using jdbc(DSN Connection).
    My code is as follows.
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection con=DriverManager.getConnection("jdbc:odbc:<DSN name>");
    but an exception is occuring:
    java.sql.SQLException: [Microsoft][ODBC Visual FoxPro Driver]Cannot open file c:\program files\microsoft visual studio\vfp98\filename.dbc
    is there any problem with code??
    plz help...

    I don't know about that specific error message, but I want to warn you that the ODBC-JDBC bridge is an unstable and broken piece of code. You should try to use another approach, unless you absolutely need to use it.

  • Applet connects to Visual FoxPro table

    Dear All,
    I have difficulties to connect my applet to a free table creatd with MS Visual FoxPro. I tried to use a third party driver, no success. Now I try to use jdbc:odbc to talk to it. I would like to read/write/update the table from the applet. Anybody has experience with such a case? jdbc:odbc supports? foxpro connections? or do I have to use other drivers?
    Thanks alot

    Hi,
    Thanks, but I think I have another problem, or I just got lost. I try to fix this since 2 days, I wanna ship the stuff, no luck. I did signed the applet, imported the certificate, become trusted (I imported my self_signed cert - Am I able to access files on the system, or I need a proper cert?) then applet start, and here is the message --Error occured during connection access denied (java.io.FilePermission d:\own\javaprojects read)
    Error occured during resultset creation null
    I got lost, no more ideas, really, if you have some hints would be great to hear them
    Have a great weekend

  • Windows 8.1 - Office 2013 - Visual FoxPro - excel data connection problems

    Hi i have an excel document with existing data links to a foxpro database. these links worked on windows 8 with office 2013 but since getting windows 8.1 the links no longer work.
    After much searching i have found i need to installed VFPOLEDBSetup.msi
    This does not fix the issue. The ODBC Data sources located Control Panel\All Control Panel Items\Administrative Tools still have no reference to FoxPro and within excel if i select from other sources and the other/advanced i can see the Microsoft OLE DB
    provider for visual fox pro but it crashes excel.
    in Windows 8 ODBC Data sources located Control Panel\All Control Panel Items\Administrative Tools i have listed two items Visual FoxPro Database and Visual FoxPro Tables but both these are missing in Windows 8.1.
    What do i need to do to correct other than not to use Windows 8.1
    Many Thanks

    Hello,
    Thank you for your question.
    I am trying to involve someone familiar with this topic to further look at this issue.
    Thanks,
    George Zhao
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click "[email protected]"

  • I need to know the right tools and java technology

    Please help,I need to know the right tools and java technology to support what I need.
    I had background programming in Assembly,C++,Visual Basic,SAP/ABAP 4.
    All I can say, programming is about logic, now we are very helped building program using objects.
    I'm very interest to SAP tech, where all screens, programs, reports are resides on tables, this is the real dynamic!
    CUrrently I'm eager to do the same technic with java. I'm new to java....
    What I know the J2EE is the core for me to start is it right? I was very interest with the Client-Server Tech. How can I impelemet this with Java?
    I'm a bit confuse with so many java solutions. There is Java Applets, Swing, Java AWT, JavaBeans, etc...
    I don't know what is the best if I want my Presentation/Client Application will run within browser (not standard html, using like windows gui). What should I do to make business logic objects, how to invoke it within the gui. how to make installation package whenever clients connect to the http server.
    if you have a pointer to do it please let me know.... I'm very appreciate all your response...
    Best regards,
    Lucky Pangemanan

    I'd say - don't get carried away with the heavyweight frameworks. Don't use EJB if Hibernate and/or Tomcat will do the job. There's a danger of winding up using a bulldozer to crack a wallnut.
    What people mean by "J2EE" varies a fair bit.
    Start with Tomcat, which has the virtue of being free. Try some JSPs and servlets.
    Use Applets to do client side presentation only if you must; Applets create an installation overhead on end-users, and some of them can't cope, while others may not have the necessary installation permissions on their office machines. They are pretty rarely needed, IMNSHO, most client-side behaviour is better handled with html and JavaScript.

Maybe you are looking for

  • Can not update iphoto always got error messege

    I tried many times to update iphoto the update file size is 1.2 GB but no way . always the down load reach near to 400 MB and got error messege. can anybody help me to resolve this issue. Thx

  • Dynamic excel filename Receiver Mail adapter

    Hi all, May i know what is the way to dynamically set the file name of attachment in receiver mail adapter. Can we do using DynamicConfiguraion??? If yes how? Thanks In Advance, H.L.Babu

  • How do I export character styles as XML?

    I have a load of InDesign CS4 files. They contain paragraph styles, but do not appear to have any explicit character styles, though do contain content that is rendered as italic, bold, superscript content etc. I have associated the paragraph styles w

  • How many storage unit type per Material code

    Dear ERP Expert we are running SAP ECC 6.0 with decentralized Warehouse Management System (WHP). In material master data of WHP, view Warehouse Mgmt 2, there is the "Palletization data" box, with the following column: Loading equipment quantity 1 Uni

  • Auto add marker to each clip?

    Is there an way to (easily) add a marker (preferably numbered) to the in-point of each clip in my timeline?