About This Code
Brief Description:
WMI machine interogation
Contributor:
Dwight Wilbanks
Category:
Design Elements, Lotusscript, XML/XSL
Last Modified:
28 Jul 2004
OpenNTF Disclaimer
All of the program code and information presented in the OpenNTF.org Code Bin are provided "as-is", and should be used at your own risk. OpenNTF.org make no express or implied warranty about anything in the Code Bin, and OpenNTF.org will not be responsible or liable for any damage caused by the use or misuse of anything from this site. OpenNTF.org makes no guarantees about anything. Please thoroughly test all of the knowledge and code you find here before you attempt to use them in your production environment.
Code / Description
Usage / Example
Import this into an agent in a brand new database, It creates forms on the fly as it needs them to represent the data, as it defines itself.
You will have to build your own views.
Im sure there are much more data types available, I just collected all I could find of MS's site.
The current implementation still leave a lot of garbage behind (c:\) it requires 6.5.1 or above, but, if you want to run on 6.5.0 you should be able to change the doctype in CreateForm, I didn't want to realease it that way because I had not tested it that way.
Good luck
Code Attachments
Comments
Posted by Vince Schuurman on 07/29/2004 04:39:35 PMSounds cool, but...
... i get an error on the xmlschemas\domino_6_5_1.dtd.
Any ideas?
Posted by Dwight Wilbanks on 07/29/2004 04:56:49 PMRE:Any ideas?
What was the text of the error message that you got?
Was it durring the line:
Call importer.Import(ThisStream, g_CurrDB)
Is the XML properly formed?
What codepage is your windows configured for? Are there any non-roman chars that might be need to be escaped?
What version of notes are you using? Are you manager in the DB that you are using?
Posted by Vince Schuurman on 07/30/2004 02:57:36 AMMust have been...
... something with the chars yes, cause it's working fine on different PC
Posted by Scott D Wichall on 07/30/2004 03:13:19 AMRe: WMI machine interogation
Nice to see somebody else making good use of my code :-)
Cheers and well done