Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SMS_AuthorizationList Updates

Status
Not open for further replies.

mrmovie

Technical User
Oct 2, 2002
3,094
GB
Hi All.
I think I am stuck and will need to swap to powershell to achieve what i want(i hope this is not the case)?
I am trying to create a new instance of the SMS_AuthorizationList. It accepts a read/write 'updates' property which is a UInt32 array. My issue comes when i try to populate the .Updates array, its doesnt like it.
The only thing i can get to work is to copy the .Updates array from an existing instance of SMS_AuthorizationList and then populate the one i am creating this this same information. I cant figure out how to change .Updates from the one that i have copied either. Ive tried just replacing the existing values, redim, redim preserve, etc. i just get a 'generic failure'. the variant type of the contents of the .Updates is 3, this is what i have been trying to push but with no luck CLng

I Hear, I Forget
I See, I Remember
I Do, I Understand

Ronald McDonald
 
looks like it was just that one or more of the updates i was trying to add to the update list is superseded, the gui lets you but the .updates .put doesnt, i will try and find a way of overriding this

I Hear, I Forget
I See, I Remember
I Do, I Understand

Ronald McDonald
 
i am officially a total plonker. the issue was simply a blank string as the last member of the array, what a muppet, has only taken me abouyt 4 hours to get to the bottom of it

I Hear, I Forget
I See, I Remember
I Do, I Understand

Ronald McDonald
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top