Software Developer's Kit - ChemDraw

Send comments on this topic
CheckFileExtensionsWhenLaunching Property
See Also 

Description

Member of ChemDrawControl.Preferences.

Sets and returns the flag indicating whether the user will be prompted on launch if ChemDraw's file extensions are associated with another application.

Property type

Read-write property

Syntax

Visual Basic
Public Property CheckFileExtensionsWhenLaunching() As Boolean

Return Type

Boolean

Remarks

Sets and returns whether file extensions will be checked or not when launching.

Example

'Modifies a value of preferences 
 Private Sub cmdApplication_click()
     ctlChemDraw.ActiveDocument.Activate
     Dim myApp As ChemDrawControl11Ctl.Application
     Set myApp = ctlChemDraw.Application
     myApp.Preferences.CheckFileExtensionsWhenLaunching = True
 End Sub

See Also