Hi All
Anybody with a comprehensive routine that will give me detailed system information such as processor, Os version, IP address, Memory size, Etc, etc....
Thanks
Joseph
System Infomation
Re: System Infomation
you can use WMI to get these Information. i add some Sample see Attachment. if you need more just say what you need, i can "generate" the PRG with my Applicationunixkd wrote:Anybody with a comprehensive routine that will give me detailed system information such as processor, Os version, IP address, Memory size, Etc, etc....
greetings by OHR
Jimmy
Jimmy
Re: System Infomation
Thanks so much, I appreciate your support
Here is my list
Country
Language
Paging size
Operating system
System startup time
Temporary directory
Windows registered owner
Windows directory
Time format
Date format
User Name
No of running programs
screen resolution
Default printer
currency symbol
date separator
time separator
Digit grouping
IP Address
Public IP address
drives information
Services running
Character Map Table
etc.
Here is my list
Country
Language
Paging size
Operating system
System startup time
Temporary directory
Windows registered owner
Windows directory
Time format
Date format
User Name
No of running programs
screen resolution
Default printer
currency symbol
date separator
time separator
Digit grouping
IP Address
Public IP address
drives information
Services running
Character Map Table
etc.
Re: System Infomation
hi,
look at this Link for WMIcreater what "original" can do. at the End of the Page is a Link to Microsoft.
http://www.microsoft.com/downloads/deta ... laylang=en
my Tool works same Way but it generate Xbase++ Code instead of VB / C
p.s. many Property do not work without "Hardware" like "Batterie" (only portable have)
other like Temperatur most need a spezial "Script" like HP Server have it
sorry to say : i need the Class Name (W32_*) like in Sample, not the Property.unixkd wrote:Here is my list
look at this Link for WMIcreater what "original" can do. at the End of the Page is a Link to Microsoft.
http://www.microsoft.com/downloads/deta ... laylang=en
my Tool works same Way but it generate Xbase++ Code instead of VB / C
p.s. many Property do not work without "Hardware" like "Batterie" (only portable have)
other like Temperatur most need a spezial "Script" like HP Server have it
greetings by OHR
Jimmy
Jimmy
Re: System Infomation
Thanks
Can you please send me your Tool that generate Xbase++ code. If fee is required let me know
Joseph
Can you please send me your Tool that generate Xbase++ code. If fee is required let me know
Joseph
Re: System Infomation
Hi, Joseph.
Most of the informations you need can be retrieved using either API-functions and/or already built-in-functions of eXpress++ - or even the Set()-function of Xbase++. Even GetEnv() returns information you need - for example: GetEnv("Computername") returns the name of the workstation. You may, another example, take a look at DC_GetWorkArea(), which retrieves the to-be-used screen size. AppDesktop():CurrentSize() returns the complete size of the desktop, so simply: the resolution of the screen. OS() (a Xbase++-function) returns the name of the operating system. And so on. Don't forget: There is no such thing as the "IP adress of the computer". The network adapter(s) may have IP adresses, the computer itself doesn't. There may be several network adapters (actual computers at least have two, LAN and WiFi), so there is no single information which identifies the workstation.
And: WMI only works if the .Net-Framework is installed!
Most of the informations you need can be retrieved using either API-functions and/or already built-in-functions of eXpress++ - or even the Set()-function of Xbase++. Even GetEnv() returns information you need - for example: GetEnv("Computername") returns the name of the workstation. You may, another example, take a look at DC_GetWorkArea(), which retrieves the to-be-used screen size. AppDesktop():CurrentSize() returns the complete size of the desktop, so simply: the resolution of the screen. OS() (a Xbase++-function) returns the name of the operating system. And so on. Don't forget: There is no such thing as the "IP adress of the computer". The network adapter(s) may have IP adresses, the computer itself doesn't. There may be several network adapters (actual computers at least have two, LAN and WiFi), so there is no single information which identifies the workstation.
And: WMI only works if the .Net-Framework is installed!
Best regards,
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."
Re: System Infomation
Add:
Just type "SET" (and <ENTER>, of course) at the command prompt. All the information you see there can be retrieved using "GetEnv()" directly from Xbase++ by just using the name of the environment variable (like "Computername" or "windir" for the directory name of the Windows installation). Some of them may not be available on every system, but most of them. Also take a look at SetLocale() of Xbase++. This will give you access to several settings like the name/number of the country, the date format and others.
Just type "SET" (and <ENTER>, of course) at the command prompt. All the information you see there can be retrieved using "GetEnv()" directly from Xbase++ by just using the name of the environment variable (like "Computername" or "windir" for the directory name of the Windows installation). Some of them may not be available on every system, but most of them. Also take a look at SetLocale() of Xbase++. This will give you access to several settings like the name/number of the country, the date format and others.
Best regards,
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."
Re: System Infomation
are you sure ??? i don´t think so only WMI Service must run.Tom wrote:And: WMI only works if the .Net-Framework is installed!
greetings by OHR
Jimmy
Jimmy
Re: System Infomation
the WMIcreater Tool you can get is the "original" by Microsoft see above. that Tool will create VB / C Code.unixkd wrote:Can you please send me your Tool that generate Xbase++ code. If fee is required let me know
Now i "translate" that Code into Xbase++ ... thats the Work to do.
i did include some WMI Sample last Time so you can see how Code look like.
if you still have Problem than i can help you if you tell me which W32_* Class you like
greetings by OHR
Jimmy
Jimmy
Re: System Infomation
Thanks so much.
I will get back to you if I have challenges
Joseph
I will get back to you if I have challenges
Joseph