![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi all, Is there any way to logoff an ODBC conection from telnet emulator. I have an VB aplication and when it crash the d3odbc line it still conected (not always). Of course the number of licence decrease. Ejecuting "logoff pib" or "reset-user pib" the result is "[534] logoff succesfully" or "[536] already logoff" but is not true, the line is still busy. Any idea? Thanks, Catalin |
#3
| |||
| |||
|
|
By the way, I use D3NT 7.2.0, WinXP, D3ODBC 2.7 and VB6. "Catalin Lungu" <lcatalin (AT) siadv (DOT) com> escribió en el mensaje news:dq2vnj$es3$1 (AT) nsnmrro2-gest (DOT) nuria.telefonica-data.net... Hi all, Is there any way to logoff an ODBC conection from telnet emulator. I have an VB aplication and when it crash the d3odbc line it still conected (not always). Of course the number of licence decrease. Ejecuting "logoff pib" or "reset-user pib" the result is "[534] logoff succesfully" or "[536] already logoff" but is not true, the line is still busy. Any idea? Thanks, Catalin |
#4
| |||
| |||
|
#5
| |||
| |||
|
|
Hi Catalin: It is not very easy. And less in NT. Many times you must stop D3 and restart it. But , in my experience with the D3ODBC library, many years since C4, is that in ALL the situations, the problem is in the VB program. Usually: Objects not closed. It is not only that yo have not closed the connection, it is that sometimes if you close the connection objetc but you still have some object created form the connection it cannot close the D3 Pib. For instance if you have a file or a rulemodule created by d3conexion.bropenfile or d3conexion.bropenrulemodule and you try to d3env.brcloseconnection d3conexion, before doing a d3conexion.brclosefile or d3conexion.brcloserulemodule it cannot close the connection. Take a look at your code Hope this help joseba |
#6
| |||
| |||
|
#7
| |||
| |||
|
|
Hi all, Is there any way to logoff an ODBC conection from telnet emulator. I have an VB aplication and when it crash the d3odbc line it still conected (not always). Of course the number of licence decrease. Ejecuting "logoff pib" or "reset-user pib" the result is "[534] logoff succesfully" or "[536] already logoff" but is not true, the line is still busy. Any idea? Thanks, Catalin |
#8
| |||
| |||
|
|
Catalin: I'm not sure of the versioning but in D3NT you might try: reset-user PortNo (X or in D3Linux you can try: logoff PortNo (k Hope this helps. Bill "Catalin Lungu" <lcatalin (AT) siadv (DOT) com> wrote in message news:dq2vnj$es3$1 (AT) nsnmrro2-gest (DOT) nuria.telefonica-data.net... Hi all, Is there any way to logoff an ODBC conection from telnet emulator. I have an VB aplication and when it crash the d3odbc line it still conected (not always). Of course the number of licence decrease. Ejecuting "logoff pib" or "reset-user pib" the result is "[534] logoff succesfully" or "[536] already logoff" but is not true, the line is still busy. Any idea? Thanks, Catalin |
#9
| |||
| |||
|
#10
| |||
| |||
|
|
Catalin: I'm not sure of the versioning but in D3NT you might try: reset-user PortNo (X |
![]() |
| Thread Tools | |
| Display Modes | |
| |