| Author |
Message |
Ricardo Alfredo
Joined: 04 Apr 2004 Posts: 8
|
Posted: Fri Apr 08, 2005 8:21 pm Post subject: program executing |
|
|
| some variable exists for when a program it is executed in the server shows a program name is certain that hostname shows the PC that it executes but I need that it shows for example the name of the system |
|
| Back to top |
|
 |
VISOCO Support VISOCO Software Support
Joined: 16 Jul 2002 Posts: 96
|
Posted: Thu Apr 14, 2005 11:40 am Post subject: |
|
|
Hi,
there are two values that the driver passes to the server:
Application_Name (which you can specify)
Host_Name (always the computer name of the system, cannot be
changed in the current implementation) |
|
| Back to top |
|
 |
VISOCO Support VISOCO Software Support
Joined: 16 Jul 2002 Posts: 96
|
Posted: Thu Apr 14, 2005 5:43 pm Post subject: |
|
|
Also, see the following topic:
http://www.visoco.com/forum/viewtopic.php?t=104
It seems, you can override a value of HostName with the help of external configuration file (CS_HOSTNAME configuration parameter) |
|
| Back to top |
|
 |
Ricardo Alfredo
Joined: 04 Apr 2004 Posts: 8
|
Posted: Fri Apr 15, 2005 7:08 pm Post subject: |
|
|
thanks for your answer, but I have the problem that does not work, I can be carrying out something bad, this is I code to him that I use
in beforeconnect
base_datos.DriverName:=gv_driver;
base_datos.GetDriverFunc:=gv_func;
base_datos.LibraryName:=gv_lib;
base_datos.VendorLib:=gv_vend;
base_datos.LoadParamsFromIniFile(gv_configuracion);
base_datos.Params.Values['User_Name']:=usuario_conect;
base_datos.Params.Values['password']:=password_conect;
base_datos.Params.Values['APPNAME']:='TEXT';
nevertheless it does not show the name of the program |
|
| Back to top |
|
 |
VISOCO Support VISOCO Software Support
Joined: 16 Jul 2002 Posts: 96
|
Posted: Fri Apr 15, 2005 9:19 pm Post subject: |
|
|
Hello,
try this
| Code: |
base_datos.Params.Values['Custom String']:='APPNAME=TEXT';
|
|
|
| Back to top |
|
 |
Ricardo Alfredo
Joined: 04 Apr 2004 Posts: 8
|
Posted: Fri Apr 15, 2005 10:29 pm Post subject: |
|
|
| it does not work, it reviews the version that is the 1,2,5,106 and law that this functionality is from the 2,0, is effective? it does not work with previous versions? |
|
| Back to top |
|
 |
VISOCO Support VISOCO Software Support
Joined: 16 Jul 2002 Posts: 96
|
Posted: Sat Apr 16, 2005 12:14 am Post subject: |
|
|
| It will work since version 2.0 with Delphi 7.0 and higher. |
|
| Back to top |
|
 |
|