Are you directly referencing the .dll or are you going through the "Add Reference", browsing through the com objects and selecting the PDB Editor?
Are you running 32-bit or 64-bit VX?
That very statement works for me in all my implementations:
DimpedAppAsMGCPCBPartsEditor.PartsEditorDlg
DimpedDocAsMGCPCBPartsEditor.PartsDB
RaiseEventeUpdateStatus("Creating instance of PDB Editor.")
'pedApp = libDoc.PartEditor 'Connect directly to PDB Editor using LM license
'pedDoc = pedApp.ActiveDatabaseEx
pedApp = CreateObject("MGCPCBLibraries.PartsEditorDlg")
Try
pedDoc = pedApp.OpenDatabaseEx(frmMain.librarydata.LibPath, False)
CatchexAsException
RaiseEventeUpdateStatus("Failed to create instance of PDB Editor.")
pedApp.Quit()
pedApp = Nothing
RaiseEventeExportFailed()
Exit Sub
EndTry