Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Get Hardware Infos

2 posts in Objects Last posting was on 2008-04-13 14:56:30.0Z
neil Posted on 2008-04-10 01:12:48.0Z
Sender: 4d45.47fd68b6.1804289383@sybase.com
From: Neil
Newsgroups: sybase.public.powerbuilder.objects
Subject: Get Hardware Infos
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <47fd6990.4d58.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 9 Apr 2008 18:12:48 -0700
X-Trace: forums-1-dub 1207789968 10.22.241.41 (9 Apr 2008 18:12:48 -0700)
X-Original-Trace: 9 Apr 2008 18:12:48 -0700, 10.22.241.41
Lines: 12
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9647
Article PK: 736789

Hi,

Is it possible to get hardware informations from within
powerbuilder. Like the processor id, motherboard serial no,
etc.

I have found this information in MSDN like a WMI classes but
I do not know how to implement it in powerbuilder.

Hope to have a reply on this soon. Many Thanks.

Neil


Real Gagnon Posted on 2008-04-13 14:56:30.0Z
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Get Hardware Infos
From: Real Gagnon <realgag+usenet@geocities.com>
References: <47fd6990.4d58.1681692777@sybase.com>
Message-ID: <Xns9A7F701852E8Brealhowtowwwrgagnonc@192.138.151.106>
User-Agent: Xnews/2006.08.24
X-Face: '>{u/e[@wCYV$e!T!j^qB%wU,7sGB<j\$2x+m&b<L:qzZ;x8EJMzD|$^
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Date: 13 Apr 2008 07:56:30 -0700
X-Trace: forums-1-dub 1208098590 10.22.241.152 (13 Apr 2008 07:56:30 -0700)
X-Original-Trace: 13 Apr 2008 07:56:30 -0700, vip152.sybase.com
Lines: 18
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9652
Article PK: 736795


> Is it possible to get hardware informations from within
> powerbuilder. Like the processor id, motherboard serial no,
> etc.
>
> I have found this information in MSDN like a WMI classes but
> I do not know how to implement it in powerbuilder.
>

Check this article :

http://www.rgagnon.com/pbdetails/pb-0252.html

Bye.
--
Real Gagnon from Quebec, Canada
* Java, Javascript, VBScript and PowerBuilder code snippets
* http://www.rgagnon.com/howto.html
* http://www.rgagnon.com/bigindex.html