Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Anyone knows of an example for crea

Status
Not open for further replies.

Jevakil

Mechanical
Mar 19, 2003
41
Anyone knows of an example for creating property manager view using "ProperyMangaerPage" method in VB? I tried to creat it using C++ COM and I keep getting an "unknown error, contact Solidworks" message.

I am hoping I can have better luck with VB.

Thanks.



jevakil@mapdi.com

One nuclear bomb can ruin your whole day.
 
Replies continue below

Recommended for you

Dim swApp As SldWorks.SldWorks
Dim swPart As SldWorks.PartDoc
Dim swPage As PropMgr
Dim Retval As Long

Set swApp = CreateObject("SldWorks.Application")
If Not (swApp.ActiveDoc Is Nothing) Then
If swPage Is Nothing Then
Set swPage = New PropMgr
swPage.Show 'display it
Else
swPage.Show
End If
End If
 
Thank you gentlemen.

Regards


jevakil@mapdi.com

One nuclear bomb can ruin your whole day.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor