VISOCO Software  Home | Products | Services | Download | Order | Support | Forum | Resources | Search | About
  RSS feedRSS Feed  FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  RegisterRegister   ProfileProfile    Log inLog in 
program executing

 
Post new topic   Reply to topic    VISOCO Software Forum Index -> VISOCO dbExpress driver for Sybase ASE
Author Message
Ricardo Alfredo



Joined: 04 Apr 2004
Posts: 8

PostPosted: Fri Apr 08, 2005 8:21 pm    Post subject: program executing Reply with quote

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
View user's profile Send private message
VISOCO Support
VISOCO Software Support


Joined: 16 Jul 2002
Posts: 96

PostPosted: Thu Apr 14, 2005 11:40 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
VISOCO Support
VISOCO Software Support


Joined: 16 Jul 2002
Posts: 96

PostPosted: Thu Apr 14, 2005 5:43 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Ricardo Alfredo



Joined: 04 Apr 2004
Posts: 8

PostPosted: Fri Apr 15, 2005 7:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
VISOCO Support
VISOCO Software Support


Joined: 16 Jul 2002
Posts: 96

PostPosted: Fri Apr 15, 2005 9:19 pm    Post subject: Reply with quote

Hello,

try this

Code:

base_datos.Params.Values['Custom String']:='APPNAME=TEXT';
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Ricardo Alfredo



Joined: 04 Apr 2004
Posts: 8

PostPosted: Fri Apr 15, 2005 10:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
VISOCO Support
VISOCO Software Support


Joined: 16 Jul 2002
Posts: 96

PostPosted: Sat Apr 16, 2005 12:14 am    Post subject: Reply with quote

It will work since version 2.0 with Delphi 7.0 and higher.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    VISOCO Software Forum Index -> VISOCO dbExpress driver for Sybase ASE All times are GMT + 2 Hours
Page 1 of 1

 


©VISOCO Software. phpBB by phpBB Group