Using JDBC with Visual Studio J++ doesn't work.

G'day all,
I am trying to create an applet that extracts data from an Access 2000 database, which is then displayed to the applet. Currently I am using Visual Studio J++ 6.0 as my development platform.
I am having trouble trying to connect to my Access 2000 database, and I'm searching for some example code on how to do this.
I'm pretty much a Java newbie, so all my attempts have failed. Also since all the example code I have is for a JDK implementation I'm not sure if my J++ complier is throwing an error on the basis that the code is not Misro$oft.
Does anyone know where I can source code for such a solution, for connection to an Access 2000 database under a J++ 6.0 compiler?
Any details would be greatly appreciated.

Ripperjack,
You're limited by the lack of support for the java standard in Microsoft's J++ 6.0's VM. I tried to get JDBC to work for a while in J++ and was unable to. I finally broke down and wrote the thing using ADO. The ADO interface is very intuative for ADO programmers and in fact the syntax is similar to JDBC.
Later I regretted using J++ because I wanted to make the code portable and relieve my reliance on the Microsoft libraries. I rewrote some of my applications using JDK 2 and JDBC, and am currently rewriting the rest. You can use the ODBC-JDBC bridge with JDK 2 and get to that Access database.
-Ryan

Similar Messages

  • Azure websites continues deployment using visual studio online doesn't work

    Hello!
    I have an issue with continues deployment in Azure. I have two subscriptions for my project. I created the team project in Subscription 1 & done the automatic deployment using GITContinuesDeployment. Everything is fine but while I changed the subscription
    I can't do the automatic deployment since the Team project can't be find. The question is how can I do the deployment? I get the following error:
    An attempted http request against URI https://management.core.windows.net/....../publishxml returned an error: (404) Not Found.
     Exception Message: One or more errors occurred. (type AggregateException)
    Exception Stack Trace:    at Microsoft.TeamFoundation.Deployment.Workflow.Activities.RestApiAsyncCodeActivity`1.ProcessAggregateException(AsyncCodeActivityContext context, AggregateException ag)
       at Microsoft.TeamFoundation.Deployment.Workflow.Activities.RestApiAsyncCodeActivity`1.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
       at System.Activities.AsyncCodeActivity`1.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)
       at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
    Inner Exception Details:
    Exception Message: One or more errors occurred. (type AggregateException)
    Exception Stack Trace:    at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
       at System.Threading.Tasks.Task`1.InnerInvoke()
       at System.Threading.Tasks.Task.Execute()
    Inner Exception Details:
    Exception Message: An attempted http request against URI https://management.core.windows.net/.../publishxm
    If I check Azure website also in Subscription 2, I can't find the Team project also from Subscription 1 even If I can see the subscription 1& 2 under services in Visual studio online 
    returned an error: (404) Not Found. (type HttpRequestWithUriException)
    Exception Stack Trace:    at Microsoft.TeamFoundation.Deployment.Workflow.Activities.GetAzureWebsitePublishProfile.<>c__DisplayClass2.<GetApiTask>b__0(Task`1 returnTask)
       at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
       at System.Threading.Tasks.Task.Execute()
    Does anyone have the solution for that?
    Regards,
    Maryam

    Note that the better forum to directly reach the Visual Studio Online experts is
    here. A forum admin may be able to move the post to the right place.

  • Firefox 3.6.4 visual studio debug doesn't work

    I'm developping a web application in silverlight. I've never having a problem with silverlight or firefox since 1years.
    But 2 days ago i download FF 3.6.4 and then i can't debug my web app anymore ! I've spend 4hours to reset my setting in visual studio, try older project etc. Then i try to put IE as standard web browser, then it works with IE ! The same for chrome !
    Firefox is loved by developpers, if they can not debug their application, they will move to another browser, even they got dozen awesome plugin :(
    == This happened ==
    Every time Firefox opened
    == I start debuging my web application (silverlight)

    Check [http://forums.silverlight.net/forums/t/188434.aspx]. 3.6.4's new plugin model causes the problem but there is a workaround for now.

  • Visual studio 2013 doesn't work after win10 installation

    errors in EditorPackage loading, can't apply settings, i can't even see the code - it says: no exports were found that match the constraint.

    Hi refaedi1,
    In addition to what Noel suggested, regarding the error message, please also take a check of the following blog:
    Fix Visual Studio Error “No exports were found that match the constraint”
    Just delete or rename this folder:
    %AppData%\..\Local\Microsoft\VisualStudio\11.0\ComponentModelCache
    or
    %AppData%\..\Local\Microsoft\VPDExpress\11.0\ComponentModelCache
    For Visual Studio 2013, change the version number:
    %AppData%\..\Local\Microsoft\VisualStudio\12.0\ComponentModelCache
    Restart Visual Studio.
    Best regards
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • How do I use Qt and OpenGL with Visual Studio

    Hi! I mainly want to program in C++ and I want to use Qt and OpenGL with Visual Studio.
    I am currently revising C++ and later on i am going to start reading Qt and OpenGL. I have a background of
    Embedded firmware design(C and Assembly).
    The Visual Studio Version I have is 2013 ultimate. How do I use Qt and OpenGL with Visual Studio?
    Thanks
    Alexandros

    Hi ClassicalGuitar,
    The forum supports VS setup and installation. And your issue is not about the forum. I will move the thread to off-topic forum. Thanks for your understanding.
    Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

  • How do I use infopath 2013 with visual studio 2013 to modify forms with code?

    Dear all,
    I am using sharepoint online and infopath 2013, I wonder how do I edit infopath 2013 forms with visual studio? When I try to edit form code it says  I need visual studio 2012 and some other tools, I installed them and visual studio 2013, I wonder how
    do I get rid of the message and start coding? Can someone provide a detailed procedure of doing so? I am having trouble with creating multiple items with single infopath form with repeating table on sharepoint online. Thanks.
    Timothy

    Hi,
    According to your post, my understanding is that you want to create InfoPath form with code using Visual Studio.
    More information about develop InfoPath form with Visual Studio:
    http://msdn.microsoft.com/en-us/library/office/ee526362(v=office.15).aspx
    http://msdn.microsoft.com/en-us/library/office/aa942693.aspx  
    For the second question, I suggest you can create another post , it will be easier for others to focus on one question in one thread.
    Best regards

  • Using Crystal Reports with Visual Studio 2008

    I have bin using visual studio 2008 for a while. I have just started using Crystal Report (which came with Visual studio) . I have an Access database connected with 3 tables, the first two table has two test fields and one index field, the third table has two text fields and two index field (of which one relates too one of the other tables).
    I have generated a crystal report on one of the tables using the wizard. I have then placed the crystalreportviewer in a form (as a test). When I run the resulting form, all I get is the column heading label but no fields being displayed. There is data in the table. All I need to know is how do is make sure that the reports are accessing the data in the table, through the datasets???.

    Hi,
    [Here|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/webcontent/uuid/80774579-b086-2b10-db91-ed58c4dda375 [original link is broken]] is the specific samples for you or [here|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/9043bbbc-ae66-2b10-ce96-b48f9e25a450]
    And [here|http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_dg_12_en.chm] is the link for the dev library.
    Hope this will work!!
    Amit

  • Type of license to be purchased for Visual Studio 2013 to be used with Visual Studio Online Subscription

    Dear Sir/Madam,
    For commercial use, I have subscribed for Visual Studio Online. To work with .NET code on my local machine, what type of Visual Studio license do I need to purchase/install locally. It gives me two options to download on home page. 1) Visual Studio
    2013 Community Edition 2) Visual Studio 2013 Ultimate Edition
    I am more interested to that can I use "Visual Studio 2013 Community Edition" with VS Online subscription for commercial use? If not then what type of Visual Studio edition do I need to purchase to use with VS Online subscription?
    Thank you
    Uday

    Hi,
     For Best answer to your question, i would suggest you contact a Support Professional from the Microsoft Billing Department.
     You can create a free Support ticket for the same here :
    http://azure.microsoft.com/en-in/support/options/
     Or you can also contact a Microsoft Licensing Specialist : 1-800-426-9400, Monday through Friday, 6:00 A.M. to 6:00 P.M. (Pacific Time)
    Regards,
    Nithin Rathnakar.

  • Using Excel with Visual C++ 6.0 (need a graph control that behaves as much like the one in CVI as possible)

    I hate to beat this to death but I was unable to find a
    clear answer to this question.  Does NI provide Excel control from within
    Visual C++ 6.0? 
    I read that NI supports the ANSI-C library only for Visual C++ 6.0 users:
    Thread : "Re: Benifits of using measurment
    studio for VC++ 6.0?"
    NI REP : drohacek
    Quote  : "we made the decision to support Visual
    C++ 6.0 users only through the ANSI-C interface and not through the Measurement
    Studio MFC-based class libraries."
    If there is a suggested way of controlling Excel from within Measurement Studio
    for Visual C++ 6.0 then I’d love to know it. 
    If not, can a plain statement be made basically stating that if you want
    to control Excel you can’t use a Visual C++ 6.0 environment even with Measurement
    Studio support?
    With .NET of course you can just decide to have Excel support added during
    project creation.  CVI can act as an ActiveX server and easily control
    Excel just by building off the examples shipped with CVI.  I see that
    there is support, using the Measurement Studio for Visual C++ 6.0 Project Wizard,
    for taking existing CVI projects and converting them to Visual C++ 6.0 projects
    or for calling CVI libraries from a .dll from within Visual C++ 6.0.  I suppose I could do the work
    in CVI and then convert the project but I'm so deeply tied into all my MFC calls that I don't see
    how I can cleanly include the CVI libraries into my existing VC++ 6.0 projects.
    What I'm really after here is a visual graph control like the one in CVI that I
    can use from Visual C++ 6.0.  I purchased a 3rd party graph control for use
    in VC++ 6.0 that works well but isn't really visual.  I mean you can't
    enter any values in it until you run the program and fill it out programmatically. 
    Then you can see which columns are two narrow, quit the program, adjust the
    column width of your now empty control, and repeat, until you get the thing
    looking the way you want.  If I could call into Excel from within Visual
    C++ 6.0  the way I do from within .NET
    then I could use Excel to hold the table and just read in the values into my table
    control at run time.  Basically I'd use Excel as a visual development tool
    for all my tables.
    I do all my coding from within CVI and Measurement Studio for Visual C++
    6.0.  I'd use CVI for everything if I didn't depend so heavily on certain
    outside controlled C++ .dll's.  Could you please suggest then what I can
    do to get Excel support for Visual C++ 6.0?
    Last question :
    Is there any plan to ever have a NI table control like the CVI table control for
    use in Visual Studio?  One that you can
    completely set up before you do any compiling? 
    I imagine that the way Microsoft sets up their environment makes this idea impossible.  Otherwise someone would
    have come up with a truly “visual” table control before now.
    Thanks,
    Grant
    Grant M. Johnson
    Project Engineer
    LECO Corporation

    Hello Grant
    You can most certainly use Excel with VC++ 6.0. Measurement Studio won't provided you with any classes to talk to Excel in VC++ 6.0. This is because Excel allows control via Automation and you can use its automation API to do anything you need with Excel. This is what CVI uses as well.
    You can see this MSDN article on how to set this up. This mentions VC.NET, but it should work the same way.
    Here is one that talks about VC 6.0 and Excel.
    Here is a code project article about this.
    Even with .NET, you have to do thru the Excel Automation support. Excel started shipping with Primary Interop Assemblies (PIA) which are .NET wrappers about the Excel Automation object model. C++ Automation is definetely not as nice as .NET, BTW
    See this document for more information about the Excel object model.
    I would not recommend using the CVI Excel libraries if all you want to use them for is Excel automation. You will end up creating un-necessary dependencies and go through extra layers that way. You can make calls straight to Excel from VC++ without requiring CVI.
    One quick observation about your excel approach. If you decide to use Excel as your table, you might be requiring everyone who uses your application to have Excel installed on their machines. Just wanted to make sure this was acceptable to you.
    Have you looked at the Datagrid Activex control, which is one of the common controls that ships with Visual Studio? You can add it to Visual Studio by right-clicking and picking it from the list of installed activex control. If you have not already, you should check it out.
    Microsoft has made significant improvements in the number of controls they provide with .NET. They have a Datagrid control that seems to be what you need.
    Measurement Studio did add some high level classes for Excel and Word Automation that simplify some common tasks, but these exists for VS 2003 C++ and VS 2005 C++, not for VC 6.0. Underneath, we end up using the same Excel automation classes, so you can easily setup something similar for VC 6.0. Plus you can find alot of references online on how to use the Excel Automation object model with C++.
    We currently have no plans in Measurement Studio to create a table control unfortunately. I am assuming when you said graph, you actually meant table, since Measurement Studio already  provides a ActiveX graph controls for VC++ 6.0 that is very similar to the CVI graph.
    On a side note, VC++ 6.0 is really really old. Have you considered upgrading?
    To summarize
    - Yes, you can use Excel with Vc++ 6.0 without mstudio.
    - Try using the Datagrid Activex control if you just need a table.
    - Measurement Studio provides high-level excel and word classes for VC++ 6.0
    - Measurement Studio provides a graph control for VC++ 6.0 which is very similar to the CVI graph.
    - Measuremnt Studio does not have a table control.
    - VC++ 6.0 is really really old. Have you considered upgrading?
    Bilal Durrani
    NI

  • SharePoint Connection not available with Visual Studio 2013

    I've installed Visual Studio 2013 in my SharePoint 2010 environment. When I try to add the existing SharePoint Connections I've used in Visual Studio 2010 there is always the same error: Remote SharePoint site connections are not supported. The SharePoint
    site is located at the same server, I'm able to access the Central Administration with Visual Studio 2013, but I can't access my development SharePoint Web Application.
    I'm sure I do have access to the configuration database, in Visual Studio 2010 I'm able to delete and add SharePoint Connections without any problems. The URL of the development SharePoint connection (like sp1.sharepoint.contoso.com) is not named like
    the URL of the Central Administration (like servername:5000). The port of my development SharePoint is 80, but I can't access with servername:80 too. My account is in the group of the local administrators, Visual Studio is started as Administrator
    and my account is a SharePoint farm administrator and additionally a site collection administrator of all site collections in my SharePoint web application.
    Any idea what's wrong with this SharePoint connections?
    Thanks in advance. Georg

    Can you try the following workaround and see if it helps? First try adding host entry for your server name and if that works change it to sp1.sharepoint.contoso.com.
    SharePoint
    2013 Visual Studio Project Error – “Cannot connect to the targeted site”
    I understand your situation is different than the one mentioned in the blog but given you seem to have all the permission so may be you try and see if the error is because of above issue. Actually if above does not work (assuming your are on your development
    environment), try adding your account to DB Owner on your site collection database as mentioned here.
    http://www.sharemuch.com/2010/03/19/resolving-vs-2010-solution-deployment-issues-for-sharepoint-2010-projects/
    Amit

  • Crystal Report Dll problem with Visual Studio 2005

    I am using Crystal Reports with Visual Studio 2005. At one time there were two different version of Crystal Decision Dll in Global Assembly Cache (GAC). So I uninstalled both the versions and then only installed 10.2.3600.
    I am facing the following error when building my application in visual studio.
    The type 'CrystalDecisions.CrystalReports.Engine.ReportDocument' exists in both 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\arms website\301a5b02\e03ad7d9\assembly\dl3\c30f5560\00f92427_3857ca01\CrystalDecisions.CrystalReports.Engine.DLL'
    and
    'c:\WINDOWS\assembly\GAC_MSIL\CrystalDecisions.CrystalReports.Engine\10.2.3600.0__692fbea5521e1304\CrystalDecisions.CrystalReports.Engine.dll'
    I have only installed it in .Net Framework. For some reason it appears in the temp folder. I cannot delete it and when I renamed it after the next compile it came back again.
    I would appreciate any help.

    Thanks for the tip.
    I installed CR XI R2 with SP2 and 2.1
    There are few reports in the system they use to run fine but now when I try to run them I get the following error:
    Failed to open the connection. Details: [Database Vendor Code: 4060 ] Failed to open the connection. C:\DOCUME1\SSheikh\LOCALS1\Temp\ZGA370 {71BFCD35-F652-48C8-896D-B93229A4D2C2}.rpt Details: [Database Vendor Code: 4060 ]
    I understand that these reports run ok independently and on production machine as well; however when I try to run them from my development machine I get the above error.
    I would appreciate help to resolve this. The code of the report is with report developer and I need to know what settings do I need to change where to be able to run the reports. Also I use my machine for deployment of application on the production server.
    Thanks.

  • Integrating Crystal Report 2008 Developer with Visual Studio 2008 Standard

    I have Crystal Reports 2008 Developer version 12.0.0.683 on my computer. I also have Visual Studio 2008 Standard. I know the standard edition of VS 2008 does not have the bundled crystal reports, but since I bought the full version of CR 2008 separately, I figure I should be able to use CR within VS 2008. The problem I am facing is integrating Crystal Reports with Visual Studio, so I can create reports from within visual studio.
    Crystal Reports was installed first and then Visual Studio. As per suggestions on this and other forums, I repaired my installation of Crystal Reports, but that did not help. I then ran Visual Studio integration manager, but when I run it, it only detects Visual Studio as the currently installed IDE, but does not detect CR 2008. I downloaded service pack 2 for CR, but have not installed it yet. I do not want to install it if it is not going to help. I would also like to avoid uninstalling my copy of CR if at all possible.
    I am a newbie at development in visual studio. Any help will be highly appreciated.
    Thanks,
    Rajib

    Don't want to go against what Jason said as it may be correct - if we go strictly by the documentation provided (sorry Jason, Dan says...). However, here is something to try;
    Uninstall CR. Look for any left overs; c:\program files\business objects\... and delete all of that.
    Look in the registry for HKLM\software\business objects and remove the business objects entry.
    Download CR 2008 from here:
    http://www.sap.com/solutions/sapbusinessobjects/sme/freetrials/index.epx
    That is a trial version and I believe it is already at SP 1. Use your keycode to install. Once this is done, you should have the ability to use CR in .NET. I'd recommend you do apply sp 2 now also.
    Ludek
    Follow us on Twitter
    http://twitter.com/SAPCRNetSup

  • Crystal Reports Bundeled With Visual Studio 2008

    We are currently using the version of Crystal Reports that comes with Visual Studio 2008.  Many reports have 5-10 sub reports.
    We are running a ASP.NET application and this application passes to the reports a XSD File as the data source. It can take up to 5 minutes sometimes for a report to process.
    A couple of questions.
    1. Is there a concurrent user limit (I have read 3 or 5)
    2. Do the reports get queued up if more than 3 users are running a report?
    3. If we have sub reports does each report count as a "user" for example if we have one user on the machine and they run the report that has 10 sub reports, would that be hitting a user limit?
    3. Would upgrading to the 2008 version help us at all?
    Any other recommendations?
    Thank in advance!

    1. Is there a concurrent user limit (I have read 3 or 5)
    concurrent user limit is 3
    2. Do the reports get queued up if more than 3 users are running a report?
    + Yes. If you go to the Event viewer, you should be bale to see messages along the lines of; license not found, waiting x seconds+
    3. If we have sub reports does each report count as a "user" for example if we have one user on the machine and they run the report that has 10 sub reports, would that be hitting a user limit?
    + There are two distinct counts. Users, and print jobs. The print engine, can process 3 concurrent users. A print job, consists not only of the report, but also it's subreports. A page through is a print job. A search through the report is a print job. Print job limit is set in the registry and by default it is set to 70. The upshot of this is; if you have one report and one subreport in the detail section and the detail section has 100 records, you will run 1001 print jobs.
    4. Would upgrading to the 2008 version help us at all?
    Probably not. The same structure exists in CR 2008. Now, you say that you pass an XSD file to the report. Are you actually passing and XSD or a Dataset?_
    Finally, remember that if you have 10 subreport in a report, you are running 11 print jobs right there. If one or more of those subreports are in the detail section, the number of print jobs increases accordingly.
    For more information see the article [Crystal Reports Maximum Report Processing Jobs Limit  v2.doc|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f053713e-3e3d-2c10-2a81-f79259e54023]
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Edited by: Ludek Uher on Dec 16, 2009 10:06 AM

  • Report to find out clients with Visual Studio Deployments

    Hi,
    Can anyone write a query for getting list of clients with Visual Studio installed?

    Hi Ananya
    Please try the below one.
    If you want to exclude any of other components you can then using NOT LIKE
    Select
         sys.Netbios_Name0,
         sys.User_Domain0,
         sys.User_Name0,
         sys.Operating_System_Name_and0,
         arp.DisplayName0,
         ARP.Version0
    FROM
         v_R_System sys
         JOIN v_Add_Remove_Programs arp ON sys.ResourceID = arp.ResourceID
    WHERE
        Displayname0 like '%Visual Studio%'
        AND DisplayName0 NOT LIKE 'Hotfix for %'
        AND DisplayName0 NOT LIKE 'Security Update for %'
        AND DisplayName0 NOT LIKE 'Update %'

  • Connect to oracle database with visual studio 2005

    Hi, i have a oracle database called orcl (10.2). I am trying to connect with this database with visual studio 2005. I do this:
    In Server Explorer, right click in Data Connection and click in add connection.
    I choose oracle database and oracle provider.
    In server name I write the name of my computer, and i write the user and pass of the data base (sys or system) but it gives me this error: "ora-12514 listener doesnt know the asket for service in the description one of connection" (translated of Spanish)
    what i have to write in server name? host, host:port, LISTENER,.... what?
    Thanks

    Sometimes, you can check names using from the command line:
    $> tnsping <orcl>
    TNS Ping Utility for 32-bit Windows: Version 8.1.7.0.0 - Production on 10-ENE-20
    06 09:01:04
    (c) Copyright 1997 Oracle Corporation. All rights reserved.
    Attempting to contact (ADDRESS=(PROTOCOL=TCP)(HOST=server1)(PORT=1521))
    Realizado correctamente (0 mseg)
    $>

Maybe you are looking for