Connection to be disabled on compile and run
Posted: Mon 17 Mar 2014 13:39
Hello,
I have the PgConnection.active=true during design time but when I compile and run the application I am developing, I have to disconnect it otherwise I get the error message 'Socket error on binding WSAGetLastError....'.
How can I keep the PgConnection active on design time and make sure it is deactivated automatically when I compile and run the application ? I tried switching on and off PgConnection.Option.KeepDesignConnected but it doesn't work.
Many thanks
Pio Pio
I have the PgConnection.active=true during design time but when I compile and run the application I am developing, I have to disconnect it otherwise I get the error message 'Socket error on binding WSAGetLastError....'.
How can I keep the PgConnection active on design time and make sure it is deactivated automatically when I compile and run the application ? I tried switching on and off PgConnection.Option.KeepDesignConnected but it doesn't work.
Many thanks
Pio Pio