473,396 Members | 1,998 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,396 software developers and data experts.

vba code not working Dragon naturally speaking

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 used in MS access 2000. But i am stuck on this area, which
is:

' Check for a valid speaker
TryUsers
' Initialize nStartPos and register the Dgn Objects
nStartPos = 0
DgnDictEdit1.Register Text1.hwnd

DgnMicBtn1.Register

i get an error message saying method or data member not found on the
..hwnd is there some work way around this.

What am trying to do is when the form is loaded the certain code
registers the commands and when i click on the load button it will
load the audio file and display it in text on the appropriate textbox.

many thanks

Farouq
Nov 12 '05 #1
3 4146
On 16 Jan 2004 04:38:09 -0800, fa*******@hotmail.com (Farouq) wrote:

Did you forget to set a reference to the Dragon library?
-Tom.

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 used in MS access 2000. But i am stuck on this area, which
is:

' Check for a valid speaker
TryUsers
' Initialize nStartPos and register the Dgn Objects
nStartPos = 0
DgnDictEdit1.Register Text1.hwnd

DgnMicBtn1.Register

i get an error message saying method or data member not found on the
.hwnd is there some work way around this.

What am trying to do is when the form is loaded the certain code
registers the commands and when i click on the load button it will
load the audio file and display it in text on the appropriate textbox.

many thanks

Farouq


Nov 12 '05 #2
Thanks for the reply.

my references checkout for some reason its not recognising the hwnd in
access but it does in vb. Its like access does not have that
incorporated or something.

Hav u any other clues?

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 12 '05 #3
On 16 Jan 2004 14:19:23 GMT, Farouq Din <fa*******@hotmail.com> wrote:

Ah, you're on to something. Indeed Access works very differently
compared to VB when we talk about window handles. Generally speaking
Access only has a window handle for the active control, not for any
others. What kind of window handle does the Register method take?
Perhaps you can use the reliable Me.hWnd?

-Tom.

Thanks for the reply.

my references checkout for some reason its not recognising the hwnd in
access but it does in vb. Its like access does not have that
incorporated or something.

Hav u any other clues?

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!


Nov 12 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: bigoxygen | last post by:
Hi. I'm using a 3 tier FrontController Design for my web application right now. The problem is that I'm finding to have to duplicate a lot of code for similar functions; for example, listing...
242
by: James Cameron | last post by:
Hi I'm developing a program and the client is worried about future reuse of the code. Say 5, 10, 15 years down the road. This will be a major factor in selecting the development language. Any...
28
by: n00m | last post by:
When I double-click on "some.py" file console window appears just for a moment and right after that it's closed. If this script is started from inside of IDLE (F5 key) then it executes as it should...
3
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
18
by: Dixie | last post by:
Can I set the Format property in a date/time field in code? Can I set the Input Mask in a date/time field in code? Can I set the Format of a Yes/No field to Checkbox in code? I am working on...
2
by: krishna | last post by:
Hi, It is request u to reply soon if possible Is there any free Dragon Voice Recognisation System if it is there please give me the details. Krishna
10
by: Stefan Weber | last post by:
Hi, I'm trying to access the JavaScript code contained in a <scripttag via its "text" attribute. This works well, if the code is embedded in the HTML page. However, when the code is in an...
66
by: Jon Skeet [C# MVP] | last post by:
I'm sure the net will be buzzing with this news fairly soon, but just in case anyone hasn't seen it yet: Microsoft are going to make the source code for the .NET framework (parts of it,...
3
by: jackiemasson | last post by:
Hi, 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...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.