Click here to Skip to main content
15,888,351 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
plz help me in connectivity between vb to oracle and vb to dbf file

actualy i want to pick up data from oracle and convert in to dbf format after some modificition

how this is possible

how to pic up data from oracle
Posted

Let me deep thought it by couple of question here :
1) Have you tried to connect Oracle ? If not then try to connect Oracle first.
If you need any help regarding to connect Oracle . then Googling is handy option to you.
2) What is you "SELECT " command to extract data ? do you have any stored proc in Oracle or you are going to fetch data using "SELECT " statement ?
a) If By Stored Proc then try to call that proc from VB. Again Googling is handy option to you.
b) If SELECT then try to run select from VB. Again Googling is handy option to you.
3) Do you have Server name , credential , driver to connect to Oracle. ?
Browse www.Connectionstrings.com

Hope this helps
--Rahul
 
Share this answer
 
v2
I would start by having a read of these.

Oracle and ADO.NET[^]

Google: VB.NET DBF format[^]

If you need more help after then please post some code and we'll try to help you more.
 
Share this answer
 
If you are using VB.Net, there are a lot of DataProviders can be used.

There is also for Oracle,

For Standard Security

oConn.Open ";Provider=OraOLEDB.Oracle;"; & _
";Data Source=MyOracleDB;"; & _
";User Id=myUsername;"; & _
";Password=myPassword";


For a Trusted Connection


oConn.Open ";Provider=OraOLEDB.Oracle;"; & _
";Data Source=MyOracleDB;"; & _
";User Id=/;"; & _
";Password=";

' Or

oConn.Open ";Provider=OraOLEDB.Oracle;"; & _
";Data Source=MyOracleDB;"; & _
";OSAuthent=1";

Note: ";Data Source="; must be set to the appropriate Net8 name which is known to the naming method in use. For example, for Local Naming, it is the alias in the tnsnames.ora file; for Oracle Names, it is the Net8 Service Name.

For more information, see: Oracle Provider for OLE DB Developer's Guide

OLE DB Provider for Visual FoxPro

oConn.Open "Provider=vfpoledb;" & _
"Data Source=C:\vfp7\Samples\Data\myVFPDB.dbc;" & _
"Mode=ReadWrite|Share Deny None;" & _
"Collating Sequence=MACHINE;" & _
"Password=''"

For more information, see: Microsoft OLE DB Provider for Visual FoxPro

Note: The Visual FoxPro OLE DB Provider is NOT installed by MDAC 2.x. You must install Visual FoxPro 7.0 in order to get it's OLE DB Provider.

Source: .NET Data Provider Connections
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900