Community
Showing results for 
Search instead for 
Do you mean 
Reply

how c# can read pad dataabse ?

Accepted Solution Solved
Avid Listener
Posts: 83
Country: Malaysia
Accepted Solution

how c# can read pad dataabse ?

hi all,

 

how c# can read pad file ?

 

Thanks.


Accepted Solutions
Solution
Accepted by topic author jeffng
‎09-25-2015 03:20 AM
Bronze Elite Contributor
Posts: 2,115
Country: United_Kingdom

Re: how c# can read pad dataabse ?

Hiya,

 

To open an ACT! dB:

 

Act.Framework oFram = new Act.Framework.ActFramework();

 string strPath = //path to your dB's PAD file;

string strUser = //user name;

string strPass=//password;

 

oFram.Logon(strPath,strUser,strPass);

 

Is this what you were looking for?

 

Vivek

Vivek Gargav
Caldere Associates Ltd.
www.caldere.com
vgargav@caldere.com
My Blog

View solution in original post


All Replies
Solution
Accepted by topic author jeffng
‎09-25-2015 03:20 AM
Bronze Elite Contributor
Posts: 2,115
Country: United_Kingdom

Re: how c# can read pad dataabse ?

Hiya,

 

To open an ACT! dB:

 

Act.Framework oFram = new Act.Framework.ActFramework();

 string strPath = //path to your dB's PAD file;

string strUser = //user name;

string strPass=//password;

 

oFram.Logon(strPath,strUser,strPass);

 

Is this what you were looking for?

 

Vivek

Vivek Gargav
Caldere Associates Ltd.
www.caldere.com
vgargav@caldere.com
My Blog
Avid Listener
Posts: 83
Country: Malaysia

Re: how c# can read pad dataabse ?

Hi Vivek,

 

If i using C# how i can display into grdibox ? So as user can compare know which record need update to my accouting software.

 

Thanks.

Bronze Elite Contributor
Posts: 2,115
Country: United_Kingdom

Re: how c# can read pad dataabse ?

Hiya,

 

If your using a DataGridView you could set the DataSource property to an ACT! Collections object?

 

Vivek

Vivek Gargav
Caldere Associates Ltd.
www.caldere.com
vgargav@caldere.com
My Blog
Avid Listener
Posts: 83
Country: Malaysia

Re: how c# can read pad dataabse ?

Hi Vivek, do you have any sample codes ? tks.