KiXforms Forum Index KiXforms
The Forum for the KiXforms Community
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Quick Links 
Site News
Downloads
Documentation
Donations
Script Archive
Tracking Systems

ADSI Error Codes

 
Post new topic   Reply to topic    KiXforms Forum Index -> Discussion
View previous topic :: View next topic  
Author Message
Bonji
KiXforms Aficionado
KiXforms Aficionado


Joined: 10 Mar 2003
Posts: 393
Location: Virginia

PostPosted: Fri Feb 11, 2005 4:16 pm    Post subject: ADSI Error Codes Reply with quote

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
View user's profile Send private message
Les
KiXforms Aficionado
KiXforms Aficionado


Joined: 24 Dec 2003
Posts: 317

PostPosted: Fri Feb 11, 2005 4:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
Bonji
KiXforms Aficionado
KiXforms Aficionado


Joined: 10 Mar 2003
Posts: 393
Location: Virginia

PostPosted: Fri Feb 11, 2005 5:52 pm    Post subject: Reply with quote

The code is the kixforms compatible part of my post.

I will check out the UDF. Thanks for the input.

_________________
-Ben
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    KiXforms Forum Index -> Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group