Baanboard.com

Go Back   Baanboard.com > Forum > Baan Quick Support: Functional & Technical > Tools Development

User login

Frontpage Sponsor

Main

Google search


Poll
How big is your Baan-DB (just Data AND Indexes)
0 - 200 GB
17%
200 - 500 GB
17%
500 - 800 GB
6%
800 - 1200 GB
6%
1200 - 1500 GB
17%
1500 - 2000 GB
17%
> 2000 GB
22%
Total votes: 18

Baanboard at LinkedIn


Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 11th December 2017, 12:12
pralash pralash is offline
Senior Member
 
Join Date: Feb 2017
Posts: 225
pralash is on a distinguished road
Baan: 9.0 - DB: SQL Server - OS: Windows 2012R2
How can i get the client machine name when connected the LN Server
Baan: Other/Unknown
C/S: None/Unknown

Hi,
I'm new for LN Programming... I want to know that how can i get the client machine name via script when I connected the LN Server from the client... Please let me know that with sample script.... Thanks in advance...
Regards,
Pralash
Reply With Quote
  #2  
Old 11th December 2017, 12:59
bdittmar's Avatar
bdittmar bdittmar is offline
Guru
 
Join Date: Apr 2002
Location: Germany, 50.584097,8.544078
Posts: 1,723
bdittmar will become famous soon enough
Baan: 2.2/3.1/4c4/LN6.1 FP6/FP9/HiDox - DB: tbase, ms-sql7, oracle10gV1, 11g - OS: HP-UX, W2K3, SLES
Hello,
Code:
get.client.hostname()
Syntax:

function long get.client.hostname  (ref string hostname)

Description

This returns the hostname of the local client (if available). In case of Baan Windows this is the client machine on which BW is running. In case of Webtop, this is the client machine on which the Internet Browser is running.

Arguments

ref string hostname Output argument which will contain the fully qualified hostname of the client on return of this function.
  
Return values

true Function succeeded, hostname is filled. 
false Function failed, client hostname is unknown. 
 
Context

This function can be used in all script types.
or
Code:
get.client.ip.address()
Syntax:

function long get.client.ip.address  (ref string ip.address)

Description

Get the IP address of the local client. In case of Baan Windows this is the client machine on which BW is running. In case of Webtop, this is the client machine on which the Internet Browser is running

Arguments

ref string ip.address Output argument which will contain the IP address of the client on return of this function.
  
Return values

true Function succeeded, IP adress is filled. 
false Function failed, client IP address is unknown. 
 
Context

This function can be used in all script types.
Regards
__________________
//Bernd
Reply With Quote
Sponsored Links
  #3  
Old 12th December 2017, 07:04
pralash pralash is offline
Senior Member
 
Join Date: Feb 2017
Posts: 225
pralash is on a distinguished road
Baan: 9.0 - DB: SQL Server - OS: Windows 2012R2
Thanks so much for your information...
Regards,
Pralash
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Access to Baan server from Client vik.patil Operating Systems & Databases 2 12th April 2012 09:46
Excel Report In Client Machine maheswar Tools Development 5 17th January 2011 15:54
SLM Server security via SLM Client ?? learner Tools Administration & Installation 3 18th December 2008 20:15
SQL Server 7.0 SP4 + BaanERP compatiblity Jabran Tools Administration & Installation 1 4th October 2004 11:49
BW Client machine continuously reboots djain999 Tools Administration & Installation 4 27th June 2003 09:07


All times are GMT +2. The time now is 14:19.


©2001-2018 - Baanboard.com - Baanforums.com