Re: JON SKEET! i need your help!
<garyusenet@xxxxxxxxx> wrote in message
news:1143027970.794470.63500@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
| you have mentioned importing actole.tlb into .net in a previous post -
| i'm trying to interface with an act 6 database - so thought i'd try to
| import act.tlb using tlbimp - but i'm getting self registration failed.
|
| Do you have any sample source on how to open a database in c#?
|
| when i used actole in the .net app and tried to connect i'm getting
| error -87 can't open database...
|
| so i thought i should try act.tlb instead, but now im getting this
| self-registration error.
|
| Can you assist at all? i'm desperate to move on with this.
|
| Thanks,
|
| Gary.
|
What if you try to start from the beginning?
Just try to open the DB using a simple script, like this:
'File : Test.vbs
Dim o
Set o= CreateObject("actole.database")
o.Open "your full dbf path"
copy this to a file named test.vbs
...
and run it from the command line using cscript test.vbs.
If this works (if it doesn't throw an error) , it means that the whole ACT
stuff is correctly installed, only then you can move on by creating the
interop library from actole.tlb, or setting a reference to the actole.tlb in
your project.
Willy.
.
Relevant Pages
- JON SKEET! i need your help!
... i'm trying to interface with an act 6 database - so thought i'd try to ... self-registration error. ... (microsoft.public.dotnet.languages.csharp) - Re: Beginning C# Q
... starting out with a network app0lication, you have an awful lot to swallow. ... Designing your database is therefore, not quite the first step, particularly ... Groups table, which defines which Groups users belong to, and a Permissions ... That is why an Interface is called an Interface. ... (microsoft.public.dotnet.framework) - Re: Transaction Oriented Architecture (TOA)
... If one builds the application around the database view, ... The problem solution should not have to know about mechanisms like SQL query construction, optimizations like anticipatory caches, or encoding/decoding of dataset formats. ... Note that the CRUD/USER environments already provide exactly that encapsulation by providing a Data Layer that is isolated from the rest of the application through an interface. ... TOA/TOP proposes the database and its application domain stored procedures are the only persistence mechanism necessary, and that the benefits of a focused, single, data-permeable gateway between application and database far exceed the benefits of O/R mappings--regardless of abstraction--and that its lightweight appearance shouldn't be dismissed as missing heavyweight kick. ... (comp.object) - Re: Transaction Oriented Architecture (TOA)
... I don't think the issue is ignoring the database; it is recognizing that the database is a different subject matter applying different business rules than the problem solution. ... There is nothing to prevent abstracting the database subject matter in a classic OO manner with objects like Schema, Table, Tuple, and Query. ... I'm of the opinion that the more obvious the database (or at least its interface) is the more easily maintainable an application becomes. ... I've nothing against creating frameworks and patterns to facilitate those programming activities, but prefer the concept of a problem domain transaction to language-specific expressions mapping 1:1 with anything physically present in the database. ... (comp.object) - Re: OOP style
... Component classes have all their main logic in a Custom base class ... database access unit if they didn't already start with a full DB layer; ... My latest application started with an extensively designed object model ... Typing in the implementation of the database interface is ... (comp.lang.pascal.delphi.misc) |
|