Connectiing 10g Express Edition on XP to Visual Basic

I have written a VB6 application and want to connect it to Oracle 10g express edition running on XP home edition. Do I need to install any ODBC drivers or are they included in XP and/or oracle? Any help gratefully received and I dont mind installing 10g full edition if I have to. Thanks.

When you install Oracle XE , Oracle also install oracle ODBC driver for Oracle XE.
Also MS give MS ODBC driver for oracle, but it is good to use Oracle ODBC driver.
Also check
Oracle® Database Express Edition 2 Day Plus .NET Developer Guide

Similar Messages

  • Oracle Client 10g Express Edition (ADO, C++, Visual Studio 2008)

    OS: Windows XP SP2
    I made a test programm allowing to work with Oracle 10g Express Edition. Connection with server works, commands are followed, but at the exit from function wmain Visual Studio it buzzez (слышал такое, если нет, то посмотри по другому словарю?) for some time (around 5 minutes) and module mistake crt0dat.arises in __crtExitProcess. function.
    You can have a look at the mistake here: http://img365.imageshack.us/img365/2125/oravssi1.jpg
    Where the mistake can be?
    Connections with MSSQL и MySQL servers work without problems with the stated algorithm.
    #ifndef _WIN32_WINNT
         #define _WIN32_WINNT 0x0501
    #endif
    #include <Windows.h>
    #ifdef _DEBUG
         #define _CRTDBG_MAP_ALLOC
         #include <crtdbg.h>
    #else
         #define _RPTW0
         #define _RPTW1
         #define _CRT_ERROR 1
    #endif
    #import "c:\Program Files\Common Files\system\ado\msado15.dll" no_namespace rename("EOF", "EndOfFile")
    INT wmain(INT iArgC, PWCHAR pwcArgV[])
         // COM init
         if (S_OK != CoInitializeEx(NULL, COINIT_MULTITHREADED))
              _RPTW0(_CRT_ERROR, L"CoInitialize");
              return -1;
         // DB connect
         _ConnectionPtr pCnn;
         while (TRUE)
              if (S_OK != pCnn.CreateInstance(__uuidof(Connection)))
                   _RPTW0(_CRT_ERROR, L"pCnn.CreateInstance");
                   break;
              try
                   _bstr_t strCnn(L"DRIVER={Oracle in XEClient};dbq=PORTAL:1521/XE;uid=zorkey;pwd=******;");
                   pCnn->Open(strCnn, L"", L"", adConnectUnspecified);
              catch (_com_error& e)
                   _RPTW1(_CRT_ERROR, L"pCnn->Open (%s)", e.Description().GetBSTR());
              try
                   //pCnn->Execute(L"INSERT INTO ZORKEY_COMPUTER(COMPUTERID, COMPUTERNAME) VALUES(2, 'TEST')", NULL, adConnectUnspecified);
              catch (_com_error& e)
                   _RPTW1(_CRT_ERROR, L"pCnn->Execute (%s)", e.Description().GetBSTR());
              if (adStateOpen != pCnn->GetState())
                   break;
              break;
         // DB close
         if (NULL != pCnn)
              if (adStateClosed != pCnn->GetState())
                   pCnn->Close();
              pCnn.Release();
         CoUninitialize();
         return 0;
    }Formatted code can be seen at http://rafb.net/p/Rvz1wL74.html

    You are right. You should use OCCI 11g to work with VS2008. Download the compatible libraries from here: http://www.oracle.com/technology/tech/oci/occi/occidownloads.html

  • How to Connect Oracle Database 10g Express Edition ?

    From example
    http://www.oracle.com/technology/obe/hol08/dotnet/getstarted-c/getstarted_c_otn.htm
    using Oracle.DataAccess.Client; // ODP.NET Oracle managed provider
    using Oracle.DataAccess.Types;
    string oradb = "Data Source=ORCL;User Id=hr;Password=hr;";
    OracleConnection conn = new OracleConnection(oradb); // C#
    conn.Open(); <== Connect Error
    Error Message "ORA-12154: TNS:could not resolve the connect identifier specified"
    I used
    Visual Studio 2005
    Oracle Database 10g Express Edition
    setup "Oracle Developer Tools for Visual Studio .NET with ODAC 10.2.0.2.21"
    Best Regards,
    Edited by: user1949694 on 8 ก.ย. 2552, 9:20 น.

    I search "tnsnames.ora" in my computer. I found 3 file
    1. C:\oraclexe\app\product\10.2.0\server\hs\admin\tnsnames.ora
    2. C:\oraclexe\app\product\10.2.0\server\NETWORK\ADMIN\tnsnames
    3. C"\oraclexe\app/product\10.2.0\server\NETWORK\ADMIN\SAMPLE\tnsnames
    How to entry in your tnsnames.ora file File1, File2, File3
    How to called "ORCL"?
    Please Help Me Step by Step
    Thank You.
    : )

  • Problem upgrading Apex 2.1 to 3.2.1 in Oracle Database 10g Express Edition

    G'Day Apex gurus,
    I installed Oracle Database 10g Express edition in my Windows XP PC which comes with Apex 2.1 with no problems. Then I wanted to upgrade Apex 2.1 to 3.2.1 (Currently Apex download in OTN) following the document below:
    http://www.oracle.com/technology/products/database/application_express/html/3.1_and_xe.html
    I went to the steps:
    @apexins SYSAUX SYSAUX TEMP /i/
    Then to change the password for the admin account run apxchpwd.sql and when prompted enter a password for the ADMIN account.
    @apxchpwd
    with not problems
    Then I connected to SQL*Plus as SYS by:
    sqlplus /nolog
    CONNECT SYS as SYSDBA
    Enter password: xxxxxxxxxxx
    but when I tried to run:
    @APEX_HOME/apex/apxldimg.sql APEX_HOME
    where APEX_HOME is Apex3.2.1 in my case
    SQL> @Apex3.2.1/apex/apxldimg.sql Apex3.2.1 (I get the messages below)
    PL/SQL procedure successfully completed.
    old   1: create directory APEX_IMAGES as '&1/apex/images'
    new   1: create directory APEX_IMAGES as 'Apex3.2.1/apex/images'
    Directory created.
    declare
    *+
    ERROR at line 1:
    ORA-22288: file or LOB operation FILEOPEN failed
    The system cannot find the path specified.
    ORA-06512: at "SYS.DBMS_LOB", line 523
    ORA-06512: at "SYS.XMLTYPE", line 287
    ORA-06512: at line 15
    PL/SQL procedure successfully completed.
    PL/SQL procedure successfully completed.
    Commit complete.
    timing for: Load Images
    Elapsed: 00:00:00.17
    Directory dropped.
    Can anyone help me in how to trouble shout this?
    I tried to continue by following the steps document
    @APEX_HOME/apex/apxxepwd.sql password
    (where password is the password of the Application Express internal ADMIN account)
    but when I tried to login in:
    http://localhost:8080/apex/f?p=4550:1
    when I type the credentials
    system
    system
    systempassword
    nothing happens
    or even If I try:
    http://localhost:8080/apex/f?p=4550:10
    admin
    adminpassword
    nothing happens here too.
    I appreciate any help
    Kind regards
    Carlos

    My database version is 10.2.0.1.0 Oracle express.
    Operating system is Windows Vista.
    I started installing using the following commands.
    @ C:\temp\apex\apexins.sql
    it prompts me for the values of sysaux sysaux temp and c:\temp\apex\images\
    If I supply the value for images the sqlplus window closes after scrolling a lot of info.
    Enroute it also prompts me for a value for 9:
    I don't know what the input shall be.
    Then it again stops at enter value for version:
    I used 3.2.1.0
    The window scrols a while and closes.
    later I changed the password and ran the command.
    @c:\temp\apex\apxldimg.sql c:\temp
    but no success with installation.
    the output is as following.
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Nov 27 18:13:43 2009
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL> connect system/sairam as sysdba;
    Connected.
    SQL> @ c:\temp\apex\apxchpwd
    Enter a value below for the password for the Application Express ADMIN user.
    Enter a password for the ADMIN user []
    Session altered.
    ...changing password for ADMIN
    wwv_flow_security.g_security_group_id := 10;
    ERROR at line 3:
    ORA-06550: line 3, column 5:
    PLS-00201: identifier 'WWV_FLOW_SECURITY.G_SECURITY_GROUP_ID' must be declared
    ORA-06550: line 3, column 5:
    PL/SQL: Statement ignored
    ORA-06550: line 4, column 5:
    PLS-00201: identifier 'WWV_FLOW_SECURITY.G_USER' must be declared
    ORA-06550: line 4, column 5:
    PL/SQL: Statement ignored
    ORA-06550: line 5, column 5:
    PLS-00201: identifier 'WWV_FLOW_SECURITY.G_IMPORT_IN_PROGRESS' must be declared
    ORA-06550: line 5, column 5:
    PL/SQL: Statement ignored
    ORA-06550: line 8, column 23:
    PL/SQL: ORA-00942: table or view does not exist
    ORA-06550: line 7, column 15:
    PL/SQL: SQL Statement ignored
    ORA-06550: line 13, column 32:
    PLS-00364: loop index variable 'C1' use is invalid
    ORA-06550: line 12, column 9:
    PL/SQL: Statement ignored
    ORA-06550: line 19, column 5:
    PLS-00201: identifier 'WWV_FLOW_SECURITY.G_IMPORT_IN_PROGRESS' must be declared
    ORA-06550: line 19, column 5:
    PL/SQL: Statement ignored
    Commit complete.
    SQL> @c:\temp\apex\apxldimg.sql c:\temp
    PL/SQL procedure successfully completed.
    Directory created.
    if wwv_flow_utilities.db_version_is_at_least('11') then
    ERROR at line 32:
    ORA-06550: line 32, column 25:
    PLS-00302: component 'DB_VERSION_IS_AT_LEAST' must be declared
    ORA-06550: line 32, column 3:
    PL/SQL: Statement ignored
    PL/SQL procedure successfully completed.
    if wwv_flow_utilities.db_version_is_at_least('11') then --11g only
    ERROR at line 16:
    ORA-06550: line 16, column 25:
    PLS-00302: component 'DB_VERSION_IS_AT_LEAST' must be declared
    ORA-06550: line 16, column 3:
    PL/SQL: Statement ignored
    Commit complete.
    timing for: Load Images
    Elapsed: 00:00:00.32
    Directory dropped.
    SQL>
    Does this require XE 11 or anything else.
    This will happen even if I supply as following(closing of sqlplus in the begining).
    @ C:\temp\apex\apexins.sql sysaux sysaux temp c:\temp\apex\images\
    Any help.

  • How can i create a new database instance in oracle 10g express edition?

    hello everybody
    i'm a student
    i am developing a database application
    i'm using oracle 10g express edition
    to run my application i need to create another database instance
    but i didn't find any option for doing so in that product
    if there is pls tell me where it is?
    if not pls tell me how to manually create it?
    regards,
    Chaitanya

    Chaitanya Babu M wrote:
    yaa i'm sure about that .
    i want one more instance of database.Can you perhaps explain why? I have a fair share of production and development servers - and not a single one of them needs to run more than one database instance.
    So I'm interested in what requirement you are trying to satisfy by using two database instances on a single platform.
    Oh yeah - if you want to create a custom XE instance (different SID, different tablespace sizes, more/less PL/SQL stuff installed, hack standard), make a copy of your XE db creation script (in your XE's +$ORACLE_HOME/bin+ and called createdb.sh ) and modify that for your needs.
    PS. even with a different SID, only a single XE instance can be run at a time - you can however have 2 different ones defined and then use one at a time (e.g. testing international settings, init param differences, etc.)

  • 10g Express Edition on Windows 2008 Enterprise R2 x64 with Active Directory

    I have successfully installed the 10g Express Edition on Windows 2008 Ent. r2 x64 with Microsoft Active Directory Domain Controller but i could not be able to run http://127.0.0.1:8080/apex
    Although i have run the http://127.0.0.1:8080/apex on my another Windows 2008 R2 x64 ant WITHOUT Active Directory Domain Controller Role.
    i think its related with AD Domain server role of my server, because i run that on same config and operation without Active Directory Domain Controller role.
    Can anyone help about this issue?
    thanks in advance

    I have experienced the same problem - running 10g Express on a Win 2008 (32-bit). When not being a Domain controller, the install was fine. When installing after the server had been given the Domain Controller role (+the required DNS), it failed. NO FIREWALLS are involved on the server. Seems like Oracle Express has problems being installed in this kind of environment - independent of x32 or x64 bit OS.
    Edited by: 811504 on Nov 17, 2010 11:44 PM

  • Can't uninstall or reinstall oracle 10g express edition in w/server 2003

    Hi,
    I need help from all of you, i already install oracle 10g express edition in
    windows server 2003 in D drive. but i can't remove because the oracle not in
    the add remove program so i download the windows install clean up to remove
    but after remove it still in the all program i still can start and stop the
    database but can't go to the database home page.The error message (the install
    cannot proceed as service OracleServiceXE is present on the system. Remove the
    service , reboot the systemand retry the installation) can any one guide me to use
    command prompt to remove.
    My email address [email protected]
    Thanks

    Hi,
    Perform the following steps, this will solve your problem and can go with new installation. :-)
    (Only perform the steps 7.2 section and here is the link : http://download.oracle.com/docs/cd/B25329_01/doc/install.102/b25143/toc.htm#BABDJDCD
    Manually Removing Oracle Database XE
    If the deinstallation is interrupted, follow these steps to manually remove Oracle Database XE from your computer:
    Step 1: Stop the Oracle Database XE Services
    Step 2: Remove the Oracle Database XE Registry Editor Settings
    Step 3: Update the System Variable Path
    Step 4: Remove Oracle Database XE from the Start Menu and Desktop
    Step 5: Remove the Oracle Database XE Directories
    Step 6: Install and Run the Windows Installer CleanUp Utility
    7.2.1 Step 1: Stop the Oracle Database XE Services
    Follow these steps:
    1. Open the Windows Services utility: From the Start menu, select All Programs, then Administrative Tools, and then Services.
    2. If any of the following Oracle services exist and have the status Started, then select each of the services, and click Stop:
    OracleXE
    OracleXETNSListener
    OracleJobSchedulerXE
    OracleXEClrAgent
    OracleMTSRecoveryService
    3.
    Exit Services.
    See also the Microsoft online help for more information on stopping services.
    7.2.2 Step 2: Remove the Oracle Database XE Registry Editor Settings
    Follow these steps:
    1.
    Log on to Windows with Windows administrative privileges.
    2.
    Ensure that you followed the instructions under "Step 1: Stop the Oracle Database XE Services" to stop the Oracle Database XE services.
    3.
    Start the Registry Editor at a command prompt:
    SYSTEM_DRIVE:\> regedit
    4.
    Go to HKEY_CLASSES_ROOT.
    5.
    Delete the following keys:
    NEED TO CONFIRM THE XE-SPECIFIC ONES.
    6.
    Go to HKEY_CURRENT_USER\Software.
    7.
    Under Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start Menu\Programs, delete the Oracle Database 10g Express Edition key.
    8.
    Go to HKEY_LOCAL_MACHINE\SOFTWARE and search for the ORACLE group key.
    9.
    Expand the ORACLE group key and then delete the KEY_XE and OracleMTSRecoveryService keys.
    10.
    Go to HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI.
    11.
    Expand the ODBCINST.INI key and remove the Oracle in XE key.
    12.
    Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services.
    13.
    Delete the following keys:
    OracleServiceXE
    OracleXEClrAgent
    OracleXETNSListener
    14.
    Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application.
    15.
    Delete the Oracle.xe key.
    16.
    Exit the Registry Editor.
    17.
    Restart your computer.
    Thanks,
    Rams...
    Edited by: user10888288 on May 3, 2010 5:58 AM

  • Can't uninstall or reinstall oracle 10g express edition in windows server 2

    Hi,
    I need help from all of you, i already install oracle 10g express edition in windows server 2003 in D drive. but i can't remove because the oracle not in the add remove program so i download the windows install clean up to remove
    but after remove it still in the all program i still can start and stop the database but can't go to the database home page. can any one guide me to use command prompt to remove.
    Thanks

    Hi,
    I need help from all of you, i already install oracle 10g express edition in windows server 2003 in D drive. but i can't remove because the oracle not in the add remove program so i download the windows install clean up to remove
    but after remove it still in the all program i still can start and stop the database but can't go to the database home page. can any one guide me to use command prompt to remove.
    Thanks

  • Oracle 10G Express Edition No Oracle Spatial

    I have been test driving 10G Express Edition. I tried to create our schema in it only to find that the mdsys.sdo_geometry datatype is unknown. It looks like Oracle Spatial is not part of Express Edition. Can anyone confirm?
    SEVERE: Unsuccessful: create table ASSET_REFERENCE (ASSET_REFERENCE_ID number(19,0) not null, ASSET_NAME varchar2(256 char), ASSET_URI varchar2(256 char), SPATIAL_EXTENT mdsys.sdo_geometry, START_DATE timestamp, END_DATE timestamp, COORD_SYS_WKS varchar2(256 char), primary key (ASSET_REFERENCE_ID))
    [hibernatetool] Nov 21, 2005 7:56:50 PM org.hibernate.tool.hbm2ddl.SchemaExport create
    [hibernatetool] SEVERE: ORA-00902: invalid datatype

    Oracle Spatial is an option for Enterprise Edition. It is not even available for Standard Edition and Express Edition is a subset of Standard Edition
    Related - interMedia requires Java and that is not in Express. Although the Locator subset does not use Java, it is part of interMedia and therefore is also not in Express.
    We are asking Oracle to reconsider and add Locator, and possibly add Java as a post-install option.

  • Oracle 10g Express Edition presentation

    Hi everybody,
    I'm an Italian university student and I have to make a presentation about Oracle 10g Express Edition for an exam. The points of this presentation will be:
    - Portability
    - Compatibility with SQL92 standard
    - Interfaces
    - Installation and hardware resources
    - Costs and license
    - Security
    - Performance
    I'm very new in the Oracle world, can anyone help me or suggest sites where I can retrieve the information I need.
    Thanks

    Si offende qualcuno o semplicemente capisce meno gente? Penso più la seconda, ma mi sembra più "educato" usare l'inglese, in modo che tutti capiscano.
    Translation :
    I think it would be more correct using English, so that everyone can understand.
    Paolo

  • Oracle 10G EXPRESS EDITION  suitable for windows7

    hi to all
    can u  guys plz provide me the oracle 10g express edition  download link for windows7
    i had already downloaded one for windows7 but when i go to instal it i cant able to run it, and that to the downlOaded file says THE PUBLISHER OF THIS PROGRAM COULDN'T BE VERIFIED.
    SO CAN U PLZ PROVIDE ME LINK ASAP.
    THANKS IN ADVACE.

    yaa.i downloaded the oracleXEUNIV FILE.
    but the file dont have the .exe extension,and i cant able to run it.
    after i run the file
    the system says
    DO U WANT TO OPEN THE FILE
    i click on OPEN
    THEN is shows OPEN WITH INTERNET EXPLORER,ADOBE.........
    CAN U PLZ LET ME HOW TO INSATLL IT..

  • Oracle 10g Express Edition    Host , Port, ServiceId(SID)

    Hi
    I am trying to connect Oracle 10g Express Edition from Net Beans. But it is prompting for the following detials.
    Host , Port, ServiceId(SID).
    Please help me .
    Thanks in Advance.
    PurnachandraRao.

    Drop down to a command line. Enter the command 'lsnrctl status'. That will tell you all this information.
    Often it is 'localhost', port 1521, and always SID=XE

  • Oracle 10g Express Edition

    Hi All,
    A newbie quesion. I have Oracle 8i in my laptop, I want to install Oracle 10g Express edition, can i have both together ?
    Regards
    Ravi Kumar

    Yes, you can have as many Oracle homes as you require and as the host can hold, as long as you are careful and disciplined with the way you manage your ORACLE_HOME and PATH environment variables.
    ~ Madrid
    http://hrivera99.blogspot.com

  • Oracle 10g express edition can support forms 6i & reports

    I have installed oracle 10g express edition and installed forms 6i. while connecting forms 6i into ora 10g express edition it is not connecting in windown xp platform.
    It is showing only "dont send error". I want to know oracle 10g express edition can support forms & reports.
    Please give me solution.
    Thanks
    Govindarajan

    this is from metalink :(https://metalink.oracle.com/metalink/plsql/f?p=140:1:8190633972492825) for windows 2003
    Application Tier Certifications
    OS      Product      Server      Status      Addtl.      Info.      Components      Other      Issues
    2003      6.0.8.26.0 Patch 17      9.2      Desupported      Yes      Yes      N/A      N/A
    2003      6.0.8.26.0 Patch 17      10g      Desupported      Yes      Yes      N/A      N/ASeems you are right, but if you filter only certified version result is NONE!
    And anther link is prooving that:
    https://metalink.oracle.com/metalink/plsql/f?p=200:27:8190633972492825::::p27_id,p27_show_header,p27_show_help:609971.992,1,1
    Nice start to read is:
    http://www.oracle.com/technology/products/forms/htdocs/FormsSOD.html

  • Oracle 10g Express Edition Limitations

    hi,
    i want to know the limitations of Oracle 10g Express edition ,, yesterday i got a problem when reconfiguring SGA of one of our client's Oracle Express edition database. i was resizing it from 140MB to 800MB,, n got errors.. plz gimme some links which can state the limitations of memory usage for Oracle Express ed...
    Thanx
    Muhammad Umar Liaquat

    How about this link?
    http://download-uk.oracle.com/docs/cd/B25329_01/doc/install.102/b25143/toc.htm#BABIECJA
    And for comparison:
    http://www.oracle.com/database/product_editions.html
    C.

Maybe you are looking for

  • Preserving a field's value on changing the field access parameter?

    I have a form that has a number of fields that are set to "protected" and have calculation scripts on them. If the user selects a specific radio button option elsewhere, the form sets the .access parameter to "open" and disables the calculation so th

  • REP-3002: Error initializing printer

    Hello, This is my configuraton: Computer 1 : nt4, sp3, installed: Oracledatabase 7.3.4 Computer 2 : nt4, sp3, installed: Oracle WebDb, forms 6i, formserver 6i and reports 6i. Services WebDb and Listener are running. I've connected an HP LaserJet III

  • Report Formula Column

    Hi All, I need a help from you. I am working with reports. There I want to add 2 columns from two different groups from reports. It is like GroupA CF_1 GroupB col1 GroupC col2 GroupB and GroupC are linked by GroupA. Now I want to add col1 & col2 in C

  • Problem with starting j2ee stack

    We have Netweaver 2004s ABAP+J2EE (Add-in). ABAP stack starts ok, but j2ee stack not :(. dev_jcontrol: [Thr 6040] JControlExecuteBootstrap: execute bootstrap process [bootstrap] [Thr 6040] INFO: Invalid property value [javaVMPath=C:\j2sdk1.4.2_09] [T

  • Is there a way to import a Logic project into Mainstage?

    I've seen some posts on how to import individual tracks, but I am hoping there is some kind of "smart" import feature in Mainstage 3 that will import all the tracks at once.