KnowBrainer Speech Recognition
Decrease font size
Increase font size
Topic Title: Minimal code to use DgnEngineControl
Topic Summary:
Created On: 04/29/2021 02:10 PM
Status: Post and Reply
Linear : Threading : Single : Branch
 Minimal code to use DgnEngineControl   - Ag - 04/29/2021 02:10 PM  
 Minimal code to use DgnEngineControl   - monkey8 - 04/29/2021 02:58 PM  
Keyword
 04/29/2021 02:58 PM
User is offline View Users Profile Print this message

Author Icon
monkey8
Top-Tier Member

Posts: 3904
Joined: 01/14/2008

Originally posted by: Ag  

 

 

It is remarkable how many minor variants of the above one sees on these forums. Sometimes no argument is passed to register, sometimes an argument is. Etc.   frequently people do not bother to un-register or clear the object. Occasionally people do not bother to register.

 

 

 

Q:  what is the  minimum correct connection to and disconnection from the DgnEngineControl interface?

 

 

Sub Main
    MsgBox EngineControl.Speaker
End Sub

no instantiation, no registering, no tidying up required. Registering connects the Dragon engine control to the speech engine which is not necessary for many methods and properties like "Speaker", register options, displaying the UI dialogues…

 

Read the API which can be found at:

 

"C:\Program Files (x86)\Nuance\NaturallySpeaking15\Help\dnsapi.chm"



-------------------------



Statistics
32306 users are registered to the KnowBrainer Speech Recognition forum.
There are currently 0 users logged in.
The most users ever online was 12124 on 09/09/2020 at 04:59 AM.
There are currently 373 guests browsing this forum, which makes a total of 373 users using this forum.

FuseTalk Standard Edition v4.0 - © 1999-2022 FuseTalk™ Inc. All rights reserved.