Subject | RE: [IBO] Re: Conncting to server via network |
---|---|
Author | Alan McDonald |
Post date | 2002-12-04T20:56:21Z |
florian,
don't forget that in many situations it's not possible to "browse" with an
openfile dialog, to the database name via network neighbourhood. You might
be trying to reach a server which is not visible via netbeui or WINS etc but
the server is reachable via port 3050. In these situations it is best that
the server name and path is distributed with the software.
Alan
don't forget that in many situations it's not possible to "browse" with an
openfile dialog, to the database name via network neighbourhood. You might
be trying to reach a server which is not visible via netbeui or WINS etc but
the server is reachable via port 3050. In these situations it is best that
the server name and path is distributed with the software.
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/
>
>