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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Err 429 on CreateObject("GPMGMT.GPM")

Status
Not open for further replies.

Tomeczek

Programmer
Oct 25, 2012
40
US
I just realized that one of my VB6 programs stopped to work giving me a Run-time error '429' when executing
Set oGPM = CreateObject("GPMGMT.GPM").
I don't know at what point it stopped to work, but I know it was working without any problems before.

Can anyone help?
Thanks!


 
How did you declared [tt]oGPM[/tt]?
And what do you do to [tt]oGPM[/tt] before the line of code that errors?

(in other words: is that an early or late binding?)


Have fun.

---- Andy
 
Check the dependencies of GPMGMT.GPM, see if anything has been broken by any recent Windows updates
 
@Andrzejek (czółko!)

I just have:

Dim oGPM As Object
Dim oGPMConst as Object
...
...
Set oGPM = CreateObject("GPMGMT.GPM")
Set oGPMConst = oGPM.GetConstants()


That's all!
And for years it worked like a champ. Looks like Windows Update messed up (as strongm suggests)...
 
So, do you have it fixed now and it works OK?

PS. Witam na TT, bardzo dobre forum, wielu chetnych do pomocy ludzi :)


Have fun.

---- Andy
 
No, I haven't fixed it...
I found out through Google that it's the result of the Windows XP update. I don't want to bring my system to the state from year 2010 or so. Still looking for the solution.

I've tried to compile the source under Win2008 - same error at the same location.

Maybe someone can show me another way to manage GPOs? Without using "GPMGMT.GPM".

PS. Istotnie, świetne forum. Już uzyskałem pomoc kilkurotnie...
 
Isn't support for GPMC a little flaky on XP anyway? It also doesn't appear to work on 64-bit Windows systems according to the last download I can find for back-installing it into a downlevel system (i.e. XP SP1).


XP already seems to be on "death watch" at Microsoft. In the past few months I've seen several XP downloads disappear from MS Downloads.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top