473,785 Members | 2,744 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.Re gister Text1.hwnd

DgnMicBtn1.Regi ster

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 4162
On 16 Jan 2004 04:38:09 -0800, fa*******@hotma il.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.R egister Text1.hwnd

DgnMicBtn1.Reg ister

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*******@hotm ail.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
3867
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 users, and listing assignments use similar type commands. Is there a "better" way I can organize my code?
242
13460
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 comments on past experience, research articles, comments on the matter would be much appreciated. I suspect something like C would be the best based on comments I received from the VB news group. Thanks for the help in advance James Cameron
28
5090
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 be (e.g. executing all its print statements). Any ideas? OS: Windows; Python 2.3.4. Thanks.
3
1707
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
18419
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 a remote update of tables and fields and can't find enough information on these things. Also, how do you index a field in code?
2
1535
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
2412
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 external file with the "src" attribute, it does not work anymore. Does anybody have an idea if there is any way (be it clean and simple or as a workaround) to access the code of external scripts as well? I read, that if there is something like
66
7476
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, including the BCL, ASP.NET and LINQ) available both for viewing and debugging into. I won't go into all the details here, as they're covered on Scott Guthrie's blog:
3
6223
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 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
0
9480
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10147
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9947
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8971
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6737
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5380
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4046
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3645
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2877
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.