Home » Other » General » Oracle & Vb Connectivity
Oracle & Vb Connectivity [message #102224] Fri, 29 March 2002 20:13 Go to next message
Vikas Kale
Messages: 8
Registered: March 2002
Junior Member
I am a beginer for Oracle and Visual Basic. I have oracle 8.1.7 loaded on my NT Server, I want to connect vb & oracle client on my node. How can I connect Oracle Client and Visual Basic for Node. What are the Software required to be loaded onto my Node.
plz help:Starting Oracle Service from VBApplication? [message #102354 is a reply to message #102224] Tue, 07 May 2002 04:15 Go to previous messageGo to next message
vipresh
Messages: 1
Registered: May 2002
Junior Member
:we have a software developed Using Oracle and Vb6.0
But the problem is evry time before starting the application we have to start Oracle service manually
which has been created by us.

Is ther a way to start Oracle service from Vb
If yes plz help me as fast as possible.
Oracle & Vb Connectivity [message #102521 is a reply to message #102224] Mon, 08 July 2002 02:26 Go to previous messageGo to next message
nawaz
Messages: 1
Registered: July 2002
Junior Member
can u guide me about , that how vb6 can be connected with oracle sql(plus).
Re: Oracle & Vb Connectivity [message #102667 is a reply to message #102224] Mon, 19 August 2002 22:40 Go to previous messageGo to next message
Ruby Gupta
Messages: 1
Registered: August 2002
Junior Member
How can we connect VB to Oracle and how we can create Tables in Oracle using VB?
Re: Oracle & Vb Connectivity [message #102689 is a reply to message #102667] Tue, 27 August 2002 09:00 Go to previous messageGo to next message
v.sivanageswararao
Messages: 1
Registered: August 2002
Junior Member
how to connect vbto oracle
how many object available for this connectivity
Re: Oracle & Vb Connectivity [message #102711 is a reply to message #102667] Sat, 07 September 2002 02:05 Go to previous messageGo to next message
Jenny M Patel
Messages: 1
Registered: September 2002
Junior Member
I want to learn how toconnect from VB to oracle and some others related to this topic
Re: Oracle & Vb Connectivity [message #102835 is a reply to message #102667] Thu, 17 October 2002 02:19 Go to previous messageGo to next message
jignesh mistry
Messages: 1
Registered: October 2002
Junior Member
How do we connect oracle to visual basics 6.0
Re: Oracle & Vb Connectivity [message #102946 is a reply to message #102667] Thu, 19 December 2002 04:38 Go to previous messageGo to next message
zahfic
Messages: 1
Registered: December 2002
Junior Member
How to updated fields take into the next form?
Re: Oracle & Vb Connectivity [message #102959 is a reply to message #102224] Tue, 24 December 2002 00:53 Go to previous messageGo to next message
poordhendu singh chauhan
Messages: 1
Registered: December 2002
Junior Member
plz i want to vb to oracle connectivity through adodb
code.
Re: Oracle & Vb Connectivity [message #102988 is a reply to message #102224] Mon, 06 January 2003 00:14 Go to previous messageGo to next message
Samir Ahmed
Messages: 1
Registered: January 2003
Junior Member
thank you for replying;
Re: Oracle & Vb Connectivity [message #103116 is a reply to message #102224] Mon, 10 February 2003 05:25 Go to previous messageGo to next message
Shailendra Katiyar
Messages: 1
Registered: February 2003
Junior Member
send me a guide notes for oracle batabase and vb connectivity for a simple program which uses vb as frontend and oracle as backend.
Re: Oracle & Vb Connectivity [message #103230 is a reply to message #102667] Tue, 11 March 2003 01:14 Go to previous messageGo to next message
pulkit sharma
Messages: 1
Registered: March 2003
Junior Member
prepare a dsn in control panel
enter name and passwords etc
then click ok
now come to vb add ado control thru components and then
select its properties select ther dsn property and u will find ur dsn there then came to authenticartion part add usernanme and password then came to the recordsource part select the 2-adcmdtable now close the property window run the form u r now connectefd to ur oracle server

reply me if its work
Re: Oracle & Vb Connectivity [message #103623 is a reply to message #102224] Mon, 02 February 2004 19:58 Go to previous messageGo to next message
Muhammad Ikhlaque
Messages: 1
Registered: February 2004
Junior Member
hi

I am beginer of vb and Oracle and I dont't know how to connect vb with oracle plz help me I am using Oracle 9i database & vb 6.0 in Windows 2000 Porfessional Environment
Re: Oracle & Vb Connectivity [message #103721 is a reply to message #102521] Thu, 26 February 2004 03:17 Go to previous messageGo to next message
jitender
Messages: 2
Registered: February 2004
Junior Member
tell me about vb oracle connectivity
Re: Oracle & Vb Connectivity [message #103767 is a reply to message #102835] Tue, 09 March 2004 23:01 Go to previous messageGo to next message
dheeraj tandon
Messages: 2
Registered: March 2004
Junior Member
hi,

How I create a database in Oracle 8.0i. When I create a database in Oracle 8.0i than how I connect that databse with the VB 6.0.

dheeraj
Re: Oracle & Vb Connectivity [message #103848 is a reply to message #102959] Thu, 08 April 2004 19:47 Go to previous messageGo to next message
eilison
Messages: 22
Registered: August 2003
Junior Member
sample code of VB-Oralce_ADO can be found in microsoft website, www.microsoft.com msdn.microsoft.com

similar sample code may also be found in oracle website, otn.oracle.com

but in my experience, stuff about this from microsoft are more comprehensive.

hope it helps
eilison
eilisonl@yahoo.com
Re: Oracle & Vb Connectivity [message #103850 is a reply to message #102959] Thu, 08 April 2004 23:07 Go to previous messageGo to next message
eilison
Messages: 22
Registered: August 2003
Junior Member
OLE DB vs. ODBC

ODBC has been and remains a very important and successful data access standard. The ODBC technology and third-party market have matured to a point where ODBC is an ideal technology for accessing SQL databases. On the other hand, OLE DB has an improved architecture that provides a significant advantage over ODBC because providersno longer have to implement a SQL relational engine to expose data. An integral part of OLE DB is an OLE DB provider that enables OLE DB consumers to talk to ODBC drivers.
With ODBC, services such as cursoring and query processing need to be implemented by each ODBC driver writer. This represents overhead and possible inconsistency for both for the ODBC driver author and their end users. With OLE DB, reusable service components handle the processing chores for a variety of data providers.
OLE DB simplifies the process of writing data providers, which means they should be developed faster and be of a higher quality. It also reduces the number of components installed on data consumer machines.
Use the following tips to guide your choice of which technology to use:
If you are accessing standard relational databases from a non-OLE environment, ODBC is the best choice.
If you want to expose a data interface to nontabular data or use data from a source that does not support SQL, OLE DB is the best choice.
If you are programming in a COM environment, OLE DB is the best choice.
If you want to build interoperable database components, OLE DB is the only choice.
Technical differences between ODBC and OLE DB are summarized in the following table.

ODBC OLE DB

Data access API Database component APIs
C-level API COM API
SQL-based tabular data All tabular and multidimensional data
SQL-based standard COM-based standard
Native providers provide all features Component architecture allows reusable components to provide common features

Special Features and Benefits of OLE DB
As application developers move to solutions designed as reusable components, OLE DB enables business-centered components to behave and communicate like mini-databases, both as data consumers of other data sources and as providers. This capability is the basis for new, simpler ways to build applications based on components.
Access to all your corporate data regardless of storage format or location
This capability extends across corporate data as well as Internet data, and across all types of data providers beyond SQL databases.
Simplified programming model for corporate developers
When a developer uses a tool or language that supports OLE DB, different data sources can behave as a single, homogeneous source. From ADO, developers can create business applications that link many data sources.
Interoperable data-centered components
Business components can excrete data change events, consume OLE DB data, and provide OLE DB data. In this way, business components can perform very complex processing and synchronize with other components while exposing simple, table-like interfaces.
Components that act as virtual tables for quicker application development
Most graphical development tools automate loading OLE DB result sets from queries directly into user-interface controls. This technique is called data binding. Without OLE DB, more programming is required to access the result set and load the user-interface controls. Additionally, OLE DB supports events, or callback interfaces, which allow these controls to be more responsive and efficient.
Integration with the Microsoft suite of application development products and technologies
OLE DB is a useful technology in its own right, but it becomes even more compelling as the broad suite of Microsoft enterprise tools and technologies integrate and extend one another's capabilities.
Full integration with ODBC
OLE DB data consumer tools and languages have full access to all ODBC drivers and ODBC-based data.

ADO vs. DAO or RDO

ADO is now the standard data access language for Microsoft tools. The current versions of Internet Information Server, Internet Explorer, Visual Basic, Visual InterDev? Visual C++, and Microsoft Visual J++? have all been written to use ADO as their primary data access language.
Among the many benefits of ADO is a common language for accessing data. Whatever tool you are using, you can use the same code to query and manipulate data. This allows for much greater and easier code reuse across applications than was possible in the past.
Therefore, if you are designing an application now, you should use ADO, unless there are features you need that are not available in ADO but are available in one of the alternative technologies. Be sure to look at the features that are available through the ADO Extensions for Data Definition Language and Security (ADOX) library and the Jet and Replication Objects (JRO) library for features that were previously available only through DAO.
If you are using DAO or RDO, you should still think about how to move over to ADO when it supersedes these. That way, when the time comes, you will have an easier job migrating to ADO.
Following are scenarios in which you might still want to use DAO:
You have an existing application that uses DAO with Microsoft Jet, and you want to convert the application to use ODBC data to achieve better performance.
You need to create specific user and group PIDs when managing security access in a Microsoft Jet database.
You need security control over Microsoft Access objects stored in a Microsoft Jet database.
You need to lock a table exclusively in a Microsoft Jet database.
You need to retrieve implicit permissions on objects, in addition to explicit permissions.
You need to identify indexes that result from the creation of a foreign key in a relationship.
Following are scenarios in which you might still want to use RDO:
You are developing in Visual Basic 5.0, and you want to take advantage of binding controls with RDO.
ADO, DAO, RDO Feature Comparison
To help you decide which technology to use and also to determine if ADO meets your needs today, the following table presents a list of major features found in ADO, DAO, and RDO. ("X" indicates that the feature is present.)

Feature ADO 2.6 DAO 3.6 RDO 2.0
Asynchronous connect X ?X
Queries run asynchronously X ?X
Batch updates and error handling X X X
Disconnected recordsets X ?X
Events X ?X
Integration with data binding in Visual Basic 6.0 X ??br>Integration with Visual Basic/Visual C++ Transact-SQL Debugger ??X
Data shaping X ??br>Persistent recordsets (as binary or XML) X ??br>Distributed transactions X ?X
Thread-safe X X X
Free-threaded X ??br>In/out/return value parameters X X X
Independently created objects X X1 X
Queries as methods X ?X
Multiple recordsets returned X X X
Efficient Microsoft Jet database access X2 X ?br>
1   DDL objects
2   Using the OLE DB Provider for Microsoft Jet
Re: Oracle & Vb Connectivity [message #104214 is a reply to message #103116] Sat, 21 August 2004 20:55 Go to previous messageGo to next message
Mohammad Azgar
Messages: 1
Registered: August 2004
Junior Member
I would like to know about connectivity of Oracle and VB or Access and vb/java
oracle vb connectivity problem [message #104394 is a reply to message #102224] Thu, 07 October 2004 08:17 Go to previous messageGo to next message
dipak
Messages: 4
Registered: October 2004
Junior Member
hi all
plz help me out as i too am having problem connecting vb with oracle plz mention process too
thanx
Re: oracle vb connectivity problem [message #104422 is a reply to message #104394] Tue, 12 October 2004 00:19 Go to previous message
Vikas Kale
Messages: 8
Registered: March 2002
Junior Member
The connectivity is easily possible through ODBC. Create your own DATA SOURCE NAME (DSN) and use it in your VB programs. If your ODBC DRIVER is not supporting then you can download it from the WWW.ORACLE.COM site for which you will have to register yourself into it. If still you have problems the plz reinstall both VB and ORACLE.
Previous Topic: DATABASE
Next Topic: Job backdoor entry anywhere in india
Goto Forum:
  


Current Time: Thu Apr 25 20:28:54 CDT 2024