View previous topic :: View next topic |
Author |
Message |
Bonji KiXforms Aficionado


Joined: 10 Mar 2003 Posts: 393 Location: Virginia
|
Posted: Fri Feb 11, 2005 4:16 pm Post subject: ADSI Error Codes |
|
|
Does anyone know how to get meaningful error codes returned from ADSI operations? I tried translating the returned decimal into hexadecimal, however the code does not match the table of error codes for ADSI/COM.
Code: |
Break On
$System = CreateObject("Kixtart.System")
$Form = $System.Form()
$ = $Form.Show()
While $Form.Visible
$ = Execute($Form.DoEvents)
Loop
|
_________________ -Ben |
|
Back to top |
|
 |
Les KiXforms Aficionado

Joined: 24 Dec 2003 Posts: 317
|
Posted: Fri Feb 11, 2005 4:30 pm Post subject: |
|
|
How is that snippet of code related to your question, which BTW is a KiX question, not forms.
Converting to hex? Have you looked at the UDF fnCOMErr() - Converts COM error codes into Win32 API error codes over at korg? _________________ The Repro Man
Stealing for a living! |
|
Back to top |
|
 |
Bonji KiXforms Aficionado


Joined: 10 Mar 2003 Posts: 393 Location: Virginia
|
Posted: Fri Feb 11, 2005 5:52 pm Post subject: |
|
|
The code is the kixforms compatible part of my post.
I will check out the UDF. Thanks for the input. _________________ -Ben |
|
Back to top |
|
 |
|