How does one connect to an Oracle Database using OO4O as sysdba using VB 6?

Hi,
Can any one give suggestion to connect an Oracle Database using OO4O as sysdba using VB 6.0. Generally it supports only database, userid/password only.
For Eg:
Option Explicit
Dim m_oraSession As Object
Dim m_oraDatabase As Object
Private Sub Command1_Click()
Set m_oraSession = CreateObject("OracleInProcServer.XOraSession")
Set m_oraDatabase = m_oraSession.DBOpenDatabase("Database", "user/password", 0&)
MsgBox "Connected to " & m_oraDatabase.Connect & "@" & m_oraDatabase.DatabaseName
End Sub
Private Sub Form_Unload(Cancel As Integer)
Set m_oraDatabase = Nothing
Set m_oraSession = Nothing
End Sub
Thanks & Regards,
Kishore.P
E-Mail: [email protected]

You can't connect AS SYSDBA with OO4O.

Similar Messages

  • How sql developer connects to a oracle database

    hi,
    I wonder how sql developer connects to a oracle database. does it use oracle client like Toad?
    How does it make the connection with oracle server?
    Sameera

    924164 wrote:
    hi,
    I wonder how sql developer connects to a oracle database. does it use oracle client like Toad?
    How does it make the connection with oracle server?
    SameeraWelcome to OTN
    From Left side Tab click on (+) New Connection. Then at the window give a connection name,User name,Password.
    Then provide Host Name, Port and SID
    Click on Test button and then save or connect.
    Hope this will help you

  • Sorry if tis is naive.  I have just bought my first iPad Retina Display.  I have WiFi at home but it has taken ages for me to connect as I needed all sorts of codes, passwords, detauils etc.   How does one connect to the web (Google) when one is out and a

    Sorry if this is a bit naive.  I have just bought my first iPad (Retina Display).  I have WiFi at home but it has taken me ages to get on-line as I needed all sorts of codes, passwords, numbers etc.
    How does one connect to the web (Google) when one is out and about?
    Thanks

    haha, You're welcome
    Maybe these links will be useful
    ipad manual/user guide
    http://manuals.info.apple.com/en_US/ipad_user_guide.pdf
    ipad support page
    http://www.apple.com/support/ipad/
    ipad assistant
    http://www.apple.com/support/ipad/assistant/

  • How can I connect to an oracle database remotely using telnet in DIAdem?

    I need to query an oracle database on a remote server and store the result back in DIAdem. Does anyone know how to telnet through diadem and return the result?

    DIAdem provides you with tools to connect to databases using SQL. Specifically, you can use SQL_Connect to open a connection to a database through a DSN (Data Source Name). The DSN has to be configured on the local machine (Control Panel -> Administrative Tools - > Data Sources) and has to point to the remote Database. You can map a network drive in the local machine so you can browse to your remote Database. The DSN will provide the link between DIAdem and the remote Database.
    If your communication has to be throught telnet, then I suggest you try to use an ActiveX control. VBScript doesn't support Telnet natively, but it does support ActiveX controls. You can create one from Visual Basic or try to find a telnet client that has one already.
    Best Re
    gards,

  • How do i connect to the oracle database

    I just downloaded oracle 9i from your website. I wanted to know how do I receive or create my own username and password so I can access the oracle database.

    Hi,
    Two user accounts are automatically created with the database:
    SYS (default password: CHANGE_ON_INSTALL)
    SYSTEM (default password: MANAGER)
    (More info at : http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/server.920/a96521/dba.htm#852)
    Both these accounts are database adminstrators. You can use either of these to connect to your database and create more users.
    To create new users use this SQL command after connecting to your database
    SQL> CREATE USER <username> IDENTIFIED BY <password>
    SQL> GRANT CREATE SESSION TO <username>
    For more information on creating users refer to http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/server.920/a96521/users.htm#16513
    Hope this helps.
    Sujatha.

  • How does one connect time capule in an existing wireless environemnt?

    I hope i am reading all of the instructions incorrectly... but I am considering getting time capsule and see 2 major problems. It seems that:
    *Time capsul is apparently desiged to run as the local router, with hard wire access to the internet, but
    * I live in an apartment complex that provides wi-fi to all the units -- the hub is *not* accessible to the individual users
    * all of the instructuons seem to imply that i must hard wire the TC to the incoming signal ... oops
    plus...
    *at least one set of work-around instruction I found instructs me to connect the TC directly to my computer via the ethernet port, but
    * the new Mac Book Pros do not have an ethernet port, oops again
    is the TC eveb usable in such circumstances?

    The TC is not designed to work with wifi internet.
    So you are quite correct.. nor do you want to use wifi for your building as a link to the TC.. it is possible to join the TC to the wireless network.. but that would mean all packets to the TC go via the building wifi and I suspect they will throttle it or control it some way.
    So you have no choice but to find an alternative.
    1. You can use a thunderbolt to ethernet adapter on any MBP or MBA without an ethernet port.. they are much cheaper now.
    2. You can use a USB to ethernet adapter which I would now avoid since the thunderbolt one is $10 more.
    3. You can use a secondary wireless USB on the MBP.. USB wireless dongles that are compatible with Mac OS are readily available and fairly cheap.. kind of ugly but smaller ones are pretty small little bump on the side.
    4. You can buy an airport express. The express is the only apple router that can act as a bridge.. but you can find non-apple wireless bridges readily enough. The express (or bridge) will convert the wireless to ethernet, so you can plug it into the TC and you can then pickup both internet and TC connection via the wireless.. BUTT .. big fat ugly BUTT.. your building will not be handing out public IP addresses and anything you do to route the one address to many will result in double NAT.. this is standard issue.. it may or may not be important to you.
    5. If you need to have a public IP address and there are lots of reasons why you might.. ranging from vpn to work to playing games on line.. all of which is impossible on cheap nasty building wifi.. which is good for email and light browsing.. you will need to buy your very own internet connection.. of whatever type is allowed.. hard wire ones being best but otherwise buy your own 3G / 4G connection.. use the building internet for bulk or cheap usage.. use your better direct internet for real internet.

  • Ping - How does one connect with Facebook?

    I see the message to connect with Facebook but do not see a link or instructions. Can someone show me how?

    I got ping earlier today, and i was asked to connect to facebook. i tried and after multiple attempts it still wasnt working, it would never load. Eventually, i found out that the apple servers were overloaded with people trying to upload photos and connect to facebook. Then i got the message (U.S. members are not allowed to connect at this time) or something along those lines. Now its completely gone. I believe apple will get their servers up and running overnight and give the capability back to everyone in a day or two. For now, you will just have to live with twitter and facebook.

  • How can I  connect to SQL server database thru local network by using JSP?

    I'm currently doing a project by using JSP..And I need to display record from the SQL Server database in our school's local network. May I know how can I do that? How can I write the code so that I can able to access the SQL Server databsase Throught school's network by using JSP? Please tell me step by step how can I do that. I'm using Tomcat 4.1 as Web Server. And I had J2SE and J2EE installed in my computer.

    first you have to establish a ODBC DSN on your computer,
    that connects to the database...you can do that from your control pannel.
    i assume that the TOMCAT server is residing on your computer....(if the webserver is in other computer then you would have to create a System DSN on the data sources ODBC option in the settings>control pannel of that machine)
    then you can use that DSN name to connect to the data base from the class file....for further assistance on how to create the class that access the tutorials in sun site.
    regards
    G

  • Connecting to Non-Oracle Databases

    How can we connect to Non-oracle databases like MS-SQL server using Developer Forms and reports?
    can any body please provide steps to do this.

    HI
    to connect to Non-Oracle Database u have to use OCA ,,,u have to define ODBC data source for the database <source1> u want to connect. to connect from the forms or reports
    user name/password@ODBC:source1.
    hope this help u
    try to look for the developer help

  • New to using Firefox with MAC: How does one save a single jpeg image from the web (as in a right click on a pc?)

    New to using Firefox with MAC: How does one save a single jpeg from the internet, similar to using the right mouse click on a pc?

    If your question comes about because you have a single button mouse, it's time to visit your local computer store and get a ''real'' mouse for that MAC. I don't "get" Apple, they sell their hardware for almost twice what a comparable PC would sell for - and then they leave out what is probably the most important time saving control, the right-button.
    See this for setting the hidden pref for context menus in Firefox, for Mac's.
    http://kb.mozillazine.org/Ui.click_hold_context_menus
    type '''about:config''' in the URL bar and hit Enter
    Pref Name = '''ui.click_hold_context_menus'''
    Double-click to Toggle to '''True'''

  • How does one sync contacts

    How does one sync contacts and calender from Outlook to [hone 4s using ver 12

    Despite Apple's poor track record in web services, they are definitely pushing everyone to iCloud. It started back in ML with Notes and continues to Mavericks with Contacts and Calendars. I made the fortuitous decision to migrate my Contacts and Calendars to iCloud about a week before installing Mavericks - I'd have been very annoyed to discover this new iCloud requirement after the fact.
    I find this solution sub-optimal, but Macworld suggests installing Mavericks Server and activating the Contacts and Calendar syncing services as a work around to keep your data out of iCloud.
    http://www.macworld.com/article/2061183/itunes-ios-syncing-gone-solve-it-with-se rver-.html

  • How to connect Java to oracle Database Express Edition?

    Anyone can help me?
    How to connect JAVA TO ORACLE DATABASE EXPRESS EDITION?

    I suggest you to read this article:
    http://wiki.oracle.com/page/JDBC
    Regards,
    Ricky

  • How to view current connections to an Oracle database?

    Howdy all.
    Can/Will anybody tell me how to view the current connections to an Oracle database? I would like to be able to see what connections are happening, what username the connection is under, what the hostname is (the machine the connection is coming from), and also what SQL or PL/SQL is currenlty being executed (if any).
    wally

    select username,osuser,sql_address,sql_hash_value,logon_time,machine,terminal,program from v$session;
      1  select sql_text,piece from v$sqltext sq, v$session se
      2  where sq.hash_value = se.sql_hash_value
      3  and sq.address = se.sql_address
      4  and se.username = 'SCOTT'
      5* order by piece
    SQL> /
    SQL_TEXT                                                              PIECE
    select dummy from dual                                                    0

  • How does one access their images in their libraries in Desktop Adobe Photoshop that are connected to their Mobile Adobe Shape?

    So
    I have Adobe Shape on my iphone, and in my Creative Cloud on the web it can access the images ive made. BUT, these images wont show up in my library on Photoshop on my computer and i cant seem to save them from the creative cloud on the web.
    How does one get from A to B?
    Thankyou
    Victoria

    Hi Victoria and welcome to the forum.
    I had to Google Shape but it looks interesting, and dies use the CC Libraries.  I am a big fan of CC Libraries, but have only used them between apps on the same machine.  So it is just a matter of see how they work between different systems
    Illustrator Help | Creative Cloud libraries - collaborate, sync, and share assets
    In my experience, I simply drag an asset onto the Library in one app, and it is there in my other apps.  But I have to make sure I am looking at the same library name on both computers.  Now I have been confused over syncing before, but I suspect that if you open the Application Manager and click on the little Cog icon, and in the Files tab make sure Sync is checked.  Otherwise you might as well read the help files.
    Sync digital assets in Adobe files and apps | Creative Cloud Libraries
    Good luck

  • How does one prevent a column in a database from being visable to end users

    I have a password column I would like to hide by default from any one with query access. How does one do this?

    If you're on 10G you can use encryption.
    First create a wallet en create the master encryption key with:
    alter system set encryption key identified by "<secretpwd>";
    Then you can encrypt a column in a table with the command:
    alter table <tablename> modify <column> encrypt;
    If the wallet is open you can query the column. If the wallet is closed you cannot query the column ....
    Grtx

Maybe you are looking for

  • How can i run an OS command in a stored procedure?

    Hi, I'm creating a stored procedure in which I need to copy a file from one directory to another. I know that in Forms, this can be done with the "host" function, but it doesn't work in the stored procedure. I read something in a forum about using th

  • Bbc wants me to install flash player. What do I do?

    I wanted to watch Wimbledon in the garden with my ipad mini. The bbc site wants me to install flash. Whereas I am used to that with my old .pC I am not sure about Apple add ons.  Please advise as I would rather be safe!

  • HT2500 How to send photos as jpegs.

    How to send photos in jpeg formats?  Read info which suggested exporting files to folder on desktop and attaching to email.  files still open to photo instead of sending file name.jpeg. Help

  • Library folders

    how can i subdivide my itunes library into multiple folders so i can easily remove/replace large groups of songs on my ipod? please help pc   Windows XP  

  • Please help with this bapi

    Hi Experts! I am trying to use 'BAPI_OUTB_DELIVERY_CONFIRM_DEC' for posting goods issue but could not succeed. I am getting the message 615 (Delivery item is not or only partially packed) when I test the same in SE37. However the same delivery, if I