Jump to content

:(:(:( Help about SheetSetMgr !!!!


thothongcong

Recommended Posts

Hi All!!

i'm newbie. i have some idea about sheetset manager (SSM), i refer some code in internet and do it but it's not working with me....help me please why do not working

 

1. i'm reference the AcSmComponents library (AcSmComponents18 )

2.simple code :

 

Public Sub StepThroughTheSheetSetManager()
Dim oEnumDb As IAcSmEnumDatabase
Dim oItem As IAcSmPersist
'' Create a Reference to the Sheet Set Manager Object
Dim oSheetSetMgr As AcSmSheetSetMgr

'AcSmSheetSetMgr
[color="red"]Set oSheetSetMgr = New AcSmSheetSetMgr[/color]

'''
Dim oSheetDb As AcSmDatabase
   Set oSheetDb = oSheetSetMgr.GetDatabaseEnumerator().Next
'' Get Loaded Databases
Set oEnumDb = oSheetSetMgr.GetDatabaseEnumerator
'' Get First Open Database
Set oItem = oEnumDb.Next
'' Step through the Databases
Do While Not oItem Is Nothing
'' Display Sheet Set File Name
MsgBox oItem.GetDatabase.GetFileName
'' Get Next Open Database
Set oItem = oEnumDb.Next
Loop
End Sub

 

 

3. error 429 at red line " Error 429 ActiveX Component cant create"

tks all

Edited by rkmcswain
added [CODE] tags
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...