1 Answers
A:
If your application partly uses Apprentice, and it's run on a computer without Apprentice installed, here's what will happen:
How to Avoid Problems
Check for Apprentice Availability at Runtime
Use a safe instantiation pattern:
Dim apprenticeAvailable As Boolean = False
Try
Dim appServer As New Inventor.ApprenticeServerComponent()
apprenticeAvailable = True
Catch ex As Exception
apprenticeAvailable = False
' Log or notify user: Apprentice not installed
End Try
Then conditionally enable or disable features:
If apprenticeAvailable Then
' Proceed with Apprentice-dependent logic
Else
' Disable buttons, show message, or fallback
End If
Find the Best CAD Software
Explore all products with features, pricing, reviews and more
View All SoftwareHelp the community
Be the First to Answer these questions
Disclaimer
Techjockey’s software industry experts offer advice for educational and informational purposes only. A category or product query or issue posted, created, or compiled by Techjockey is not meant to replace your independent judgment.
20,000+ Software Listed
Best
Price Guaranteed
Free Expert
Consultation
2M+
Happy Customers