Navision can use the default text-to-speech capabilities that come inbulid into the latest windows operating systems starting Windows XP. Make you form speak out the error or warning message, or give you user voice instructions to use your custom modules. Here's how Its Done
http://extremeengineers.net/dynamics-nav/23-text-to-speech-making-nav-speak-out.html
Comments
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book
your link contains an errors:
1. you can't download the sample if someone wanted too.
2. You name it speaker but your code below shows SPvoice? There's a bit more to it & why give the incorrect code?
What you're looking to do is like this....
Define Global
speaker---Automation---Microsoft Speech Object Library'.SpVoice
OnRename()
IF NOT ISCLEAR(Speaker) THEN
CLEAR(Speaker);
CREATE(Speaker);
Speaker.Speak(Text001);
*Where you can define Text001 in Text constants.
An example could be. OnRename of item table add that code with
Text001 as "Are you sure you want to rename this item"
http://www.BiloBeauty.com
http://www.autismspeaks.org
RIS Plus, LLC
I did find a good use for it. I have one code that always get's clicked thru so perhaps this will alert them more. (unless the sound is off)
I have added a field to the vendor table called "Variable Terms" type boolean.
We check off vendors that don't stick to or have specific terms, perhaps seasonal.
Since the terms could be simply NET30 or perhaps the next invoice just has a random due date ie/ 12/15/2010 etc.
we have alot of trouble with these types of vendors because the person posting PO's 99% of the time the terms on the vendor card are correct. So they just enter the invoice # & post.
I thought a message alert would help but not always. So now I added the voice along with the message alert & we'll give it a try tomorrow.
Text035 = "Document Date cannot be GREATER than the Posting Date on Order %1"
Text036 = "This vendor has a history of variable terms........ Please double check the terms for this invoice."
Vendor Invoice No. - OnValidate() //Purchase Header Table
http://www.BiloBeauty.com
http://www.autismspeaks.org
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book
Well the code I put on was merely an example of syntax and not the code exactly. Since it was a generalized use I thought it was better to use the class name than the parent name.
I apologise for the faulty download, it has been fixed. I have also submitted the object for Mibuso's download section.
I didn't give too much details cos I was providing a demo object.
But I appreciate your efforts for correcting it. Thanks
The library provides some events the use of which you'd find in my object. That could make things even more interactive. So I advice you take a look at my object too
And if you do use it, at least remember me in you mind for introducing this to you, if not appreciating me and giving me the credits
And thank you Alex, I am glad that you found it useful
Visit My Blog at
http://extremeengineers.net/
"Sales Order Found"
//CPP "Close Package Print"
//CSO "Close Sales Order"
//DAP "Are you sure you want to delete all the packages"
Sorry to go off topic for a sec - but when you print all the e-ship barcode commands there is only one without a description //X. I'm afraid to try it :-#. WHat does it do?
http://www.BiloBeauty.com
http://www.autismspeaks.org
Yep, you can basically create your own set of commands. Try it, it really works!
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book