|
-
Oct 5th, 2010, 03:58 AM
#1
Thread Starter
Addicted Member
How configure progress database from server to local and access it/
Hi friends,
I am having third party API and installed in my server system. In the API they are using progress database and it is maintained in the particular path when we installed it. I want to connect to progress database in server to my local machine. Need to get the all details from the database. Is this possible? Also i tried to connect from ODBC driver. But i couldnt do that. Once i config, i need to connect db and read data from database through MFC application. This part i have a sample. But before, how can we configure. For eg db file path in the server machine : C:\CCure\4GL\.dbf and progress data file etc.,
Thanks
Failing to plan is Planning to fail 
-
Oct 5th, 2010, 07:52 AM
#2
Re: How configure progress database from server to local and access it/
I've never used a Progress database, but this may help.
VB6 Library
If I helped you then please help me and rate my post!
If you solved your problem, then please mark the post resolved
-
Oct 5th, 2010, 08:48 AM
#3
Thread Starter
Addicted Member
Re: How configure progress database from server to local and access it/
Hi,
Thanks your reply. I put the database file in my local system and give the odbc connection to the db also give the directory File DSN. I create .Net application and in the page load i put the below code.
Code:
protected void Page_Load(object sender, EventArgs e)
{
try
{
string strConn;
strConn = "DSN=Generaldb;HOST=192.168.2.136;DB=Generaldb.dbf;UID=admin;PWD=admin;PORT=2055;";
OdbcConnection oConn;
oConn = new OdbcConnection(strConn);
oConn.Open();
}
catch(Exception ex)
{
ex.ToString();
}
}
The connection is opened without exception. I dont know what is the table inside the dbf . How can i identify it?
Thanks
Failing to plan is Planning to fail 
-
Oct 5th, 2010, 08:58 AM
#4
Re: How configure progress database from server to local and access it/
In every database, there is a catalog table, which identifies the tables.
In Oracle you use
Code:
SELECT * FROM DBA_TABLES
In SQL Server you execute a stored procedure called sp_tables
I am sure there's something equivalent in Progress that you can query or execute.
Everything that has a computer in will fail. Everything in your life, from a watch to a car to, you know, a radio, to an iPhone, it will fail if it has a computer in it. They should kill the people who made those things.- 'Woz'
save a blobFileStreamDataTable To Text Filemy blog
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|