473,218 Members | 1,837 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,218 software developers and data experts.

starting and stopping dragon naturally speaking from MS Access


I want to start Dragon Naturally Speaking when the user enters a field on an Access form and stop when they exit the field. I would like to save the audio file to a specific folder and pass the file name from a field value on the form. I also want the text to be inserted into the field.

Does Dragon accept command line parameters on starting?

Jackie Masson
Nov 4 '07 #1
3 6186
12,516 Expert Mod 8TB

I want to start Dragon Naturally Speaking when the user enters a field on an Access form and stop when they exit the field. I would like to save the audio file to a specific folder and pass the file name from a field value on the form. I also want the text to be inserted into the field.

Does Dragon accept command line parameters on starting?

Jackie Masson
I've never used Dragon this isn't so much an Access question as it is a Dragon Naturally Speaking question. Have you looked at the documentation for the answer?

As for automatically saving the filename and passing it to the control on the form, this may require an API which Dragon might not provide.
Nov 5 '07 #2
1 Bit
Gosh, this thread is over 14 years old, but quitting Dragon, which is a memory hog and which can make Access behave awfully slow, is important.

If you do a <Ctrl><Alt><Del> you will find 6 Dragon-related processes active with DNS. If you run a HijackThis app (yeah, still runs in Win 11), you can see the actual exe files that are active. Knowing this, you can create a *.bat file that can be called up from MS Access.

1) bring up Notepad and put in the following Windows code-

taskkill /im natspeak.exe /t /f
taskkill /im loggerservice.exe /t /f
taskkill /im ereg.exe /t /f
taskkill /im sapisvr.exe /t /f
taskkill /im isuspm.exe /t /f
taskkill /im dgnsvc.exe /t /f
taskkill /im audio.exe /t /f
taskkill /im datacollector.exe /t /f
taskkill /im dgnee.exe /t /f
taskkill /im dgnria_nmhost.exe /t /f
taskkill /im dgnria_nmhost_FF.exe /t /f
taskkill /im dragon_support_packager.exe /t /f
taskkill /im formfiller.exe /t /f
taskkill /im InstallationDiagnosticUtility.exe /t /f
taskkill /im itutorial.exe /t /f
taskkill /im natlink.exe /t /f
taskkill /im savewave.exe /t /f
taskkill /im ToggleFullTextControlWPF.exe /t /f
taskkill /im twovermsg.exe /t /f

Save it; in this example we'll call it "KillDNS.bat".

2) In your module "StartupProp" put in the following code-

Public Sub ShellEx(ByVal Path As String, Optional ByVal Parameters As String, Optional ByVal HideWindow As Boolean)
If Dir(Path) > "" Then
ShellExecute 0, "open", Path, Parameters, "", IIf(HideWindow, 0, 1)
End If
End Sub

3) In MS Access, call it up-

ShellEx "c:\zfilemds\killDNS.bat"

Bingo- 4 of the 6 properties are killed. The 2 remaining don't seem to present much of a problem in terms of performance.

Feb 7 '22 #3
451 Expert Mod 256MB
Many thanks for providing detailed assistance on this ancient thread and welcome to the forum

I experimented with Dragon whilst recuperating after a sinus operation back in 1997.
It wasn't an ideal test for obvious reasons and I abandoned it soon after.

At that time, I wasn't trying to use it with Access but in the past year I have successfully tested the Windows dictation tool with Access databases.
It can work well with long text / memo fields though is more nuisance than benefit with other fields.
I mentioned this in my recent YouTube video Set Character Limits in Long Text Fields. The relevant section is at about 02:21 into the video
Feb 7 '22 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

by: CG | last post by:
Hi I have developed a Windows Service When I try to start the Service it tells me that it cannot start as there may not be any work to do When I comment out below line of code in my OnStart...
by: Manu | last post by:
hello my client want buy dragon naturally speaking, but only if i can control it into my application... so, somebody know how control this soft ? if someone have a tutorial. thx manu
by: Farouq | last post by:
dragon naturally speaking professional version 6.1 Hi all i have recently downloaded some examples from the dragon website in vb. I have managed to change some code to vba so that it could be...
by: karl | last post by:
I have a windows service that creates a monitor thread which in turn creates 4 worker threads. Each thread is based upon a derived class (HL7Listener) of the TcpListener class. When running this...
by: tshad | last post by:
I have a Windows Service I created that just sets a timer and writes to EventLog every 10 seconds. It installed fine and it actually starts. But it says it doesn't. The progress bar shows the...
by: juleni | last post by:
Hello, is there a possibility starting or stopping postgres database and creating database instance by JAVA? Is there some API available for this? If yes, can you please write some example, how...
by: Andrew Poulos | last post by:
I'm using Windows Media Audio, via a WAX file, and I have some custom controls to start and stop the audio. While it works in IE, FF gives an error. The HTML looks like this: <object id='obj'...
by: Benzi Eilon | last post by:
I have written a C# application which should run as a Windows Service. I must avoid having multiple instances of the application on one machine so I inserted the following code at the beginning of...
by: Cenarius | last post by:
Hi, I need some help, i don't know much about programming other than executing them get getting them from scripting sites. My program is it won't start a service if the startup type is Disabled. it...
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
by: mar23 | last post by:
Here's the situation. I have a form called frmDiceInventory with subform called subfrmDice. The subform's control source is linked to a query called qryDiceInventory. I've been trying to pick up the...
by: jimatqsi | last post by:
The boss wants the word "CONFIDENTIAL" overlaying certain reports. He wants it large, slanted across the page, on every page, very light gray, outlined letters, not block letters. I thought Word Art...
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.