Re: [Firebird-net-provider] Detect current connection is local or network

2013-12-16 Thread Mr. John
Hi,with that query select a.mon$remote_process, a.mon$remote_address from MON$ATTACHMENTS  a I get all connections+ip,something I miss,sorry:how to identify my current connection?  address 127.0.0.1 from the query means connection is on the server side? thanks On Monday, December 16,

Re: [Firebird-net-provider] Detect current connection is local or network

2013-12-16 Thread Mercea Paul
On 12/16/2013 10:15 AM, Mr. John wrote: Hi, but how to detect app is running on server side or on local,I used to search for firebird process but I found as I said, fb was installed also on client side,so the trusted point to get that info is from firbird connection thanks. Check table MON

Re: [Firebird-net-provider] Detect current connection is local or network

2013-12-16 Thread Mr. John
Hi, but how to detect app is running on server side or on local,I used to search for firebird process but I found as I said, fb was installed also on client side,so the trusted point to get that info is from firbird connection thanks. On Monday, December 16, 2013 10:05 AM, Mercea Paul wro

Re: [Firebird-net-provider] Detect current connection is local or network

2013-12-16 Thread Mercea Paul
On 12/16/2013 08:34 AM, Mr. John wrote: That I also do, but I only apply database update scripts on server machine,also some users using default app installer installed also FB server on 'client' side. I also want to warn about that. thanks Increment application version on server side, as fi

Re: [Firebird-net-provider] Detect current connection is local or network

2013-12-15 Thread Mr. John
That I also do, but I only apply  database update scripts on server machine,also some users using default app installer installed also FB server on 'client' side. I also want to warn about that. thanks On Sunday, December 15, 2013 9:14 PM, Mercea Paul wrote: On 12/15/2013 12:21 PM, Mr.

Re: [Firebird-net-provider] Detect current connection is local or network

2013-12-15 Thread Mercea Paul
On 12/15/2013 12:21 PM, Mr. John wrote: Hi When using my application over a network,only when it is update on the server machine,client applications must download also the update so I need to detect server or client state thanks Hi If you separate the client and the server, even if you work on

Re: [Firebird-net-provider] Detect current connection is local or network

2013-12-15 Thread Mr. John
Hi When using my application over a network,only when it is update on the server machine,client applications must download also the update so I need to detect server or client state thanks On Sunday, December 15, 2013 11:01 AM, Mark Rotteveel wrote: On 13-12-2013 11:33, Mr. John wrote:

Re: [Firebird-net-provider] Detect current connection is local or network

2013-12-15 Thread Mark Rotteveel
On 13-12-2013 11:33, Mr. John wrote: > Hi ! > I'm using VB.NET 2008 with FB SS 2.5 and FirebirdClient 2.7.7.0 > I need to detect if current FB connection is local or over a network. Could you provide some detail on why you need to know this? Mark -- Mark Rotteveel --

Re: [Firebird-net-provider] Detect current connection is local or network

2013-12-14 Thread Mr. John
                  aPath = parts[1] + ":" + parts[2];                         return true;                     }                     return false;                 default:                     return false;             }         } ____________ Date: Fri, 13 Dec 2013 23:27:55 -0800 From: mr_joh...@yahoo.com To: firebird

Re: [Firebird-net-provider] Detect current connection is local or network

2013-12-13 Thread Mr. John
Hi ! "local"  = database is on the same machine as application is thanks. On Friday, December 13, 2013 3:10 PM, Jiri Cincura wrote: >Depends on what you think "local" (your original question) is. On Fri, Dec 13, 2013 at 12:40 PM, Mr. John wrote: > solution is to search in connecton string 

Re: [Firebird-net-provider] Detect current connection is local or network

2013-12-13 Thread Jiri Cincura
Check the connection string (accessible from FbConnection). -- Jiri {x2} Cincura (x2develop.com founder) http://blog.cincura.net/ | http://www.ID3renamer.com -- Rapidly troubleshoot problems before they affect your busi

[Firebird-net-provider] Detect current connection is local or network

2013-12-13 Thread Mr. John
Hi ! I'm using VB.NET 2008 with FB SS 2.5 and FirebirdClient 2.7.7.0 I need to detect if current FB connection is local or over a network. Thanks.-- Rapidly troubleshoot problems before they affect your business. Most IT