Help you connect ODBC in Windows 7 64 bit with Office 2010 32-bit.

Hello

Many moons ago, I wrote an application in Java that configured XP machines after sysprep would be deployed. I am currently all our workstations to Windows 7 migration and was check my application always worked and interrogates the correct registry keys etc.

As it turns out however I don't even go there as I think the application is unable to connect to the driver ODBC Microsoft Access in Windows 7 64 bit with Office 2010 32-bit. Here is the code that I have always used and no longer works. I hope someone can tell me how to change the command works on Windows 7 64 bit. If I navigate to C:\Windows\SysWow64\OBDCad32.exe all the drivers I need are there I think, but if I open ODBC in Administrative Tools tab drivers is empty but for SQL. Anyway I have to shut up and here is the code I used to use:

public IOMakeConnection()
{
DM = new DisplayMessage();
ioed = new IOEncryptDecrypt();
URL = "jdbc:odbc:DRIVER = Microsoft Access Driver (*.mdb); DBQ ="+ GetExtension() + 'Config.mdb; UID = admin; Pwd = password';

VR;
{
Class.forName ("sun.jdbc.odbc.JdbcOdbcDriver");
connection = DriverManager.getConnection (url);
}

catch (System.Exception e)
{
System.out.println ("" + e);
errorObtainingPath();
}
}

The exception is always thrown as my little app that requires the path of the database always loads.

Thanks in advance,

Cheers Kris

C:\windows\system32\cmd.exe /C CD\ & SET CLASSPATH = C:\SCAConfigurationUtility & CD C:\SCAConfigurationUtility & SCAConfigurationUtility JAVAW

Well, there is a call to javaw there; because there is no path, it will use the 'java by default'; I don't have no idea how a java version becomes the default java but I would not be surprised if this is the last installation.

You can force a specific runtime to use by replacing the "javaw" with the full path to the runtime javaw executable you want to use in this particular case (its in the bin directory). It's basic shell btw stuff, it has nothing to do with Java.

Tags: Java

Similar Questions

  • How much home computers can load you Windows 7 on I know office 2010 is three

    How much home computers can load you Windows 7 on I know office 2010 is three

    Each Windows product key is good for a single computer. You can buy an additional product key for each additional PC you want to install Windows 7 on.

    In short: 1 hit = 1 computer.

    J W Stuart: http://www.pagestart.com

  • I have baught a new portable computer and you want to install windows vista (32-bit) on a bootable partition that it will be possible to do it with windows 7 (64-bit)

    I have baught a new portable computer and you want to install windows vista (32-bit) on a bootable partition that it will be possible to do it with windows 7 (64-bit)

    the laptop contained Home Basic windows 7 (64-bit) and I want to install windows vista Home premium (32 bit) on a bootable partition that it will be possible to do or tell me the parallel method to move a certain 32-bit operating system...

    I do not understand your question. If the laptop can run Windows Vista, it can probably run Windows 7 too.

    To run Windows 7 64-bit, the processor must be a minimum Core 2 Duo.

    System requirements:

    * 1 gigahertz (GHz) or faster 32-bit (x 86) or 64-bit (x 64) processor

    * 1 gigabyte (GB) of RAM (32-bit) or 2 GB RAM (64-bit)

    * 16 GB of disk space available (32-bit) or 20 GB (64-bit)

    * Peripheral figure DirectX 9 with WDDM 1.0 or higher driver

  • Need help to connect the old Windows XP to new wireless router, please

    Hello
    I have an old desktop running Windows XP Edition family 2002 version, which has been connected to a Netgear WG311 802.11 wireless router g. I was unable to connect to other computers, so I replaced the Netgear with an E1200 Linksys wireless router. Now, all other computers find the Linksys router, but the older Windows XP desktop will not (because I don't use it to configure the router?).  How to connect your old computer to Windows XP to the new router, please? Thank you very much for your help.
    Walt

    Hello
    I have an old desktop running Windows XP Edition family 2002 version, which has been connected to a Netgear WG311 802.11 wireless router g. I was unable to connect to other computers, so I replaced the Netgear with an E1200 Linksys wireless router. Now, all other computers find the Linksys router, but the older Windows XP desktop will not (because I don't use it to configure the router?).  How to connect your old computer to Windows XP to the new router, please? Thank you very much for your help.
    Walt

    The problem is probably that the Linksys E1200 is a wireless-N Router and your former Office no doubt has a wireless adapter that is only capable of wireless-G (or perhaps Wireless G and B).

    Are adapters wireless in your other computers wireless - n?  If so, it perhaps is the reason why they could not connect to your old G of Netgear wireless router.

    You can get a new wireless-N for the office adapter or configure the E1200 wireless g available.

  • DRC stops working when you connect to a Windows XP computer

    Help! I use windows 8 pro for use (especially) Remote Desktop connection and whenever I connect to a Windows XP computer it does it very well, but when I connect it shows the office, then remote desktop connection has stopped working.

    I tested the same Windows XP machine on my brothers (also running Windows 8 Pro) computer I log in I can use the machine very well.
    What is the cause of all this!

    Hi Nicolas,.

    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the TechNet Forums.

    http://social.technet.Microsoft.com/forums/Windows/en-us/home?category=w8itpro&filter=AllTypes&sort=lastpostdesc

    Let us know the status of the issue. If you need help, please after return. We will be happy to help you.

  • Windows XP Service Pack 3 computer has been inactive since March-April. Now when you connect download message "windows needs to be activated. By clicking on activate gives 'already activated' and then returns to the login window

    Can start safe mode, but not with the networking.  After you have started a review of the Application Event Viewer save mode I see 1009 ID event for each attempt to start normally.

    How to activate Windows XP
    http://support.Microsoft.com/kb/307890/en-us

    See the section titled: "how to activate Windows XP by phone.
    Also, make sure that you do not confuse the product key numbers and letters
    (number 8 for the letter B, etc.)

    Blank page to activate Windows in the wizard of Windows Product Activation
    http://support.Microsoft.com/kb/314935

    How to contact a Microsoft Product Activation Center:
    http://support.Microsoft.com/default.aspx/KB/950929/en=us

    Microsoft Activation centers worldwide telephone numbers:
    http://www.Microsoft.com/licensing/existing-customers/activation-centers.aspx
    (This site is for activating Volume License, but if you call, they will help you)

    The phone number is not working:
    Microsoft Wordwide contacts: http://www.microsoft.com/worldwide/default.aspx

    Once Windows activated / Genuine Advantage Notifications:
    http://www.Microsoft.com/downloads/en/details.aspx?displaylang=en&FamilyID=afd45b36-3d77-4259-801c-d31a9a90cdcf
    (This tool will confirm that the copy of Windows installed on your PC is genuine and authorized)

    J W Stuart: Http://www.pagestart.com

  • When you try to install windows 7 64 bit, he asked me to remove the disc and start over, but it does not help. Help, please.

    So I have a 32-bit windows system 7 and I'm trying to upgrade to a windows 7 64-bit system.

    I have an installation disc, and my pc should be able to handle 64-bit.

    However, when I insert the disc (yes my drive is started first in the BIOS)

    The installation program starts,

    I have chosen the language,

    Accept the terms and choose to upgrade.

    He then gives a compatibility report:

    "the computer has started using the windows installation disc remove the installation disc and restart your computer so that windows starts normally.

    When I restart my pc while the disc nothing happens and when I restart my pc with the drive the process repeats.

    I'm looking for for a long time on the internet and I can't find all the solutions that work for me.

    Please give detailed answers, all help its appreciated.

    Boot from the Windows 7 DVD
    Click Install now
    Accept the license agreement
    When the option is displayed to select a type of installation, click (Custom advanced)
    Select the disk partition where you want to install Windows 7 click Next.

    You will receive the following warning:
    The partition you have selected may contain files from a previous Installation of Windows. If so, these files and folders will be moved to a folder named Windows.old. You will be able to access the information in Windows.old, but you will be able to use your previous version of Windows.
    (At all costs, do NOT click on anything in Format, deletion or Partition name.) So even do a custom installation, your personal files are still kept. Click OK

    The installation program will now begin installation. During installation, your computer will be restarted several times.

    After the first reboot, set the BIOS to boot from the hard drive.

    Once the installation is complete, you can complete the Out of Box experience as the choice of your laptop, create a username, password, your time zone. You can then proceed to download the latest updates for Windows and reinstall your applications and drivers.

    You can then retrieve your personal files from the Windows.old folder and reinstall all of your applications and drivers.

    http://notebooks.com/2010/11/09/how-to-recover-documents-music-and-email-after-upgrading-with-the-Windows-old-folder/

  • Error when you try to update Windows 7 64 bit - code error 0x8000FFFF

    Been upgraded Windows 7 very well since the purchase, but in the last few days I've met the above error code. I ran through most of the potential solutions (check the registry keys, checking the services running, disable AV software, rename the folder to download etc.), but nothing seems to help. Currently, I'm stuck with Windows 7 could not update from this point.

    HI -.

    Running "Run the Fix It" in aggressive mode seems to have done the trick. One thing to note - I also disabled Acronis True Image Backup Nonstop, who had run up to this point. If this makes a difference or not, I'm not sure. Whatever it is, the updates seem to work fine now.

    Thank you very much

    It's very interesting as the How to reset the Windows Update components? page specifically mentions that it is not expected for Windows 7 when I visit with my Windows 7 system:

    Advanced System

    This article applies to a different version of Windows than the one you are using. Content of this article is not relevant to you. Visit the Windows 7 Solution Center

    And, applies to , at the bottom of the page, do not include Windows 7.

    I have the feeling that the information on this page is incorrect according to the directives of Windows 7, which is not surprising.
    That said, it seems that Acronis was the culprit that caused the problem to update.

    A Acronis True Image Backup Nonstop running during the previous update was successful?
    MowGreen Services consumer safety update

  • Get the error access denied when you try to install Windows 7-64 bit Okidata IBM-ML321 of windows update. Error reported in the newspaper like 80070005

    Can install printer drivers which are in 'standard list of printers', but when I try to install a local printer and choose update windows for the Okidata IBM-ML321 on Windows 7-64 bit driver, it errors when you try to install.

    Hi David,

    I suggest you scan the computer antivirus using the Microsoft Safety Scanner.

    Microsoft safety scanner will help us to get rid of software viruses, spyware and other malicious software.

    The Microsoft Security Scanner is a downloadable security tool for free which allows analysis at the application and helps remove viruses, spyware and other malware. It works with your current antivirus software.

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    Note:

    1) the Microsoft Safety Scanner expires 10 days after being downloaded. To restart a scan with the latest definitions of anti-malware, download and run the Microsoft Safety Scanner again.

    2) if you run the virus scan of the program which is infected with the virus will be deleted. Therefore, reinstall the program. Also, if files and folders are affected by the virus, while they might even get deleted.

    Hope this information helps. Answer the post with an up-to-date issue report to help you further.

  • Are you able to download Windows and Mac applications with creative cloud?

    I'm not sure that 1 subscription, you can download for Windows and Mac, or if you buy CC for each of them individually?

    Thank you.

    The short answer is Yes.

    With a subscription, you can install and activate Cloud applications on up to two computers: Win/Win, Mac/mac or Win/Mac.

    http://www.Adobe.com/au/products/creativecloud/FAQ.html

    "Yes, as a member of the creative cloud, you get many benefits that you don't get when you buy a product traditional shrinkwrapped.

    • Expanding membership that provides access to the latest Adobe products, services, features and workflow as soon as they are available. You no longer have to wait for 12, 18 or 24 months for all the latest innovations.
    • Versions of Access to the Mac OS and Windows® desktop applications and the ability to install them on your main computer and a backup computer. So, if you have a Mac at home and a PC at work, you can install your applications on both as long as they do not work at the same time. See the page of the product license agreements for more information. »
  • How do you download Adobe for Windows 7 64 bit

    Anyone know how to download Adobe for Windows 7 64 bit.

    What Adobe?

    Reader?

    http://www.Adobe.com/support/downloads/product.jsp?platform=Windows&product=10

    Flash?

    http://get.Adobe.com/flashplayer/

  • Is Windows 8 Pro and Microsoft Office 2010 license Transferrable to new PC (during the withdrawal of the old PC)

    Hello

    I had bought Windows 8 Pro as part of the upgrade offer in 2012.

    My current desktop PC gives signs of imminent failure. So I intend to mount my own PC and all ignoring the old one.

    My question is if I can transfer the current licence to the new office.

    What is the procedure for the transfer of the Windows 8 Pro and Microsoft Office license to new PC?

    Thank you and best regards,

    UNNI

    Yes, you can transfer the two as long as they are copies of the retail sale and do not come pre-installed on the machine.

    To waive the license of the machine, you can just format the machine or uninstall the license of Windows 8.

    To proceed to reinstall Windows 8 on the new computer and restart phone.

    Please note:

    To install a Windows 8 upgrade version, you must already have Windows 7, Windows Vista, or Windows XP installed on your PC.

    If you have formatted the drive until the upgrade of Windows 8 version has been installed, you will not be able to use your upgrade product key to activate Windows 8. To activate Windows 8, you will need to install your previous version of Windows, and then reinstall Windows 8. Help with the activation process, contact technical support.

    You can reinstall of Office 2010 and also reactivate by phone:

    Microsoft Office Activation number:
    http://support.Microsoft.com/kb/950929

  • Overview of Windows 7 with Office 2010

    I have Office 2010 and running Windows 7, I can use the overview of the find pane to view spreadsheets, Powerpoint and PDF files. But I can not view Word files. I uninstalled Word 2010, but I have Word 2003 is installed.

    You have to have Office 2010 installed for the preview pane of the function? I realize that Adobe is not part of Office 2010, but I don't know why I'm having such a problem, the visualization of the doc and docx files.

    Hello

    Post your question in the office 2010 Forums: http://answers.microsoft.com/en-us/office/forum/office_2010?tab=all

    Thank you.

  • After you download Home premium Windows 7 32 bit of digitalriver, my screen went black! __Please help me. Thank you.

    Is my computer screen went BLACK after downloading the window & home premium 32-bit digitalriver.
    Please help, thanks.

    Wrong forum. Post here for assistance: http://social.answers.microsoft.com/Forums/en-US/w7install/threads ~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft

  • When you connect to other windows user does not profile load

    The user profile does not load

    http://support.Microsoft.com/kb/947215

    http://social.answers.Microsoft.com/forums/en-us/vistasecurity/thread/11D0F686-BED4-4E59-96E9-6802A2EF3A3E

Maybe you are looking for