Subject | RE: [IBO] Re: Conncting to server via network |
---|---|
Author | Alan McDonald |
Post date | 2002-12-04T20:52:42Z |
Florian,
the setup guide and help file are pretty clear as to what properties are
used to set the connection and which are used to read/get...
the fields to set are server and path .
the databasename is a read property
you'll have to parse the UNC back to a server and set server, and path and
set the path.
don't forget to set the protocol as well - have you read the getting started
guide? it's very clear
Alan
the setup guide and help file are pretty clear as to what properties are
used to set the connection and which are used to read/get...
the fields to set are server and path .
the databasename is a read property
you'll have to parse the UNC back to a server and set server, and path and
set the path.
don't forget to set the protocol as well - have you read the getting started
guide? it's very clear
Alan
> -----Original Message-----
> From: news@... [mailto:news@...]On Behalf Of
> Florian Hector
> Sent: Thursday, 5 December 2002 2:33
> To: IBObjects@yahoogroups.com
> Subject: Re: [IBO] Re: Conncting to server via network
>
>
> Jason,
>
> how is IBO supposed to handle assigning the database file to
> cnConnection.Database.
> When the app and the DB file are on the same machine and I assign
> the string
> from OpenDialog.FileName to cnConnection.Database, no problems.
> The problems I run into are:
> When connecting via network with UNC specific path like
> \\SERVER\d\Folder\file.gdb assigned to cnConnection.Database, the
> app cannot
> find the database (Error 335544344)
> When connecting via network with a string like Server:d:\Folder\file.gdb
> assigned to cnConnection.Database, the app reports an unavailable database
> (Error 335544375)
> Only when Path and Server are explicitely assigned, the connection can be
> established.
>
> I have tried to do some research myself but the Online-FAQ is
> unavailabe for
> the last 2 days
>
> Florian
>
>
>
>
> __________________________________________________________________
> _________
> IB Objects - direct, complete, custom connectivity to Firebird or
> InterBase
> without the need for BDE, ODBC or any other layer.
> __________________________________________________________________
> _________
> http://www.ibobjects.com - your IBO community resource for Tech
> Info papers,
> keyword-searchable FAQ, community code contributions and more !
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>