I want to enable voice recognition in my vb application witouh havin to use windows speech recognition, is it posible if not how can I add a my own command to turn on the recognition on windows the default command is strat listening but I want it simple like "activate", also I would like to record my own voice command using my app, I say activate I put this code : Grammar.DictationSetState(SpeechLib.SpeechRuleState.SGDSActive), but it does not turn on windows voice recognition
I am currently working with Speech Recognizer 8.0 and trying to develop an application in VB for simple speech recognition tasks. Unfortunately, with Windows 7, anytime speech isenabled, it is listening for any sort of all sorts of commands (ie: "start menu", "press a key", *delete*)... all of which interfere with the desired operation of the program.Now, I believe what my problem is, correct me if I am wrong, is that I should not be using theshared engine, but the "InProc" engine, so the application then has the only access to the speech engine... better question: I know how to add commands to the speech engine, but *how* do I remove all the other commands, so that it only listens for a handful of words/commands that I want it to?
I have a question regarding the Vista Speech API. I have written a program using the Vista SAPI to recognize commands with the inprocRecoContext in VB.NET. Everything works well so far - the speech recognition is trained for more than one voice and it works really perfect! The problem is that after a while the speech recognition engine trains itself to a specific user or even to background noise such as the tv and the recognition doesn't work anymore. When I copy back the original trained profile it works again for a day or so.So my question is: Is it possible to turn off the automatic learning of the speech recognition engine?
Overreaching amateur developer that is outsourcing some of my work and doing part of it as well. I've been working on a dictionary/ thesaurus / spell check & suggestion application that I am trying to get to work on all applications within the windows environment.
I've used hooking to get key stokes and show output as the person is typing for definitions and spelling suggestions. This isn't accomplishing everything I want. Works fine for spell checking and suggestions but to click on a word that already exists or for touch screen interfaces to touch a word it doesn't work.
I was reading the Raw Input API on MSDN and thought that would work but my developer that I've hired is advising me that the RAW input's scope is only on the window that has focus and so cannot do low level hooking. I'm considering giving the effort but wanted a 2nd third fourth perspective prior to making the effort.[URL]
I'm trying to create a Speech Recognition support for my program. I want to make it so that if I say something in my microphone, the program just writes what I said in Label1. I looked for Speech Recognition codes in MSDN and Google, but I didn't find anything useful. I found a code, but it was for VB.net, I tried but it didn't work in VB 2010.
I have developed a VB 2010 express application that works on my windows 7 machine, but when I deploy it to other windows 7 machines the application will not run at all. I created an msi script to install the software on other machines and it includes the .NET 4.0 framework an all of my application dll's and such. Any idea what might be he problem?
I am building a Setup project for a Web system using Visual Studio 2008. I upgraded my development machine from Windows Xp to Windows 7. The problem started with Windows 7. Whenever I try to build I get the above error. I ve tried several solutions given online but I ve failed to get a solution. When I transfer the system to a machine running Windows Xp or Windows 2003 Server it builds successfuly.
i have created some shareware applications. I implemented the following mechanism for piracy protection. Before Windows Vista and Windows 7 i did write a dll file to the System32 folder with an encrypted license key. Also in the Registry under HKEY_LOCAL_MACHINE i inserted a registry key.
The problem is that with Windows Vista and Windows 7 due to the User Account Control (UAC) this is denied.
I want to ask : what other mechanism can be implemented ? Where should i store the encrypted key file and the registry key.
I want that the application can be installed for all users of a computer only once. If i stored the key in the user's application data directory then another user could easily just install it under another user account. Also i do not want to put the key file in the application directory because that would be too obvious.
note that i create the registry key with my application and not with the installer.
I'm printing pdf files via the below code in a service. In Windows 7 this works really well, In Windows Vista, nothing happens at all? What am I doing wrong?
I develop applications in Visual Basic.NET (Visual Studio 2005) for a long time on Windows Vista without problem.
Now, I'm changing my laptop, and the new has installed the Windows 7. So, I reinstalled VS 2005, taking care to install the Vista compatibility. Thus, the version of my current VS 2005 is 8.0.50727.867 (vsvista.050727-8600) SP2. And that is my problem.
When I ran the application in debug mode (F5) on Windows Vista, a windows appeared whenever there was an error, like below:
Now, on Windows 7, the application just shows a exception message in the Immediate Windows, don't showing any error window, continuing the application execution, as below:
I develop applications in Visual Basic.NET (Visual Studio 2005) for a long time on Windows Vista without problem.Now, I'm changing my laptop, and the new has installed the Windows 7. So, I reinstalled VS 2005, taking care to install the Vista compatibility. Thus, the version of my current VS 2005 is 8.0.50727.867 (vsvista.050727-8600) SP2. And that is my problem.When I ran the application in debug mode (F5) on Windows Vista, a windows appeared whenever there was an error, like below: Now, on Windows 7, the application just shows a exception message in the Immediate Windows, don't showing any error window, continuing the application execution, as below [code]
I have a program that works in Windows XP Pro, Visual Basic 2005 and Excel 2007 that does not work in Windows Vista, Visual Basic 2005 and Excel 2007.The program takes Excel data from an already opened Workbook on the desktop and moves it to the Visual Basic program.The error occurs when I try to open the Excel Application in Visual Basic:[code]Is there a different code to define an Application in Vista?The "Open" Application will not work on a Excel App already on the desktop.
I'm trying to copy a file that I made that contains license information to system32 directory. My problem is I get access denied. here is the code I'm using
Dim formatter As New BinaryFormatter Dim fileWriteStream As Stream fileWriteStream = New FileStream(My.Application.Info.DirectoryPath & "" &
right now, im using Windows Vista.. in Windows XP, deleting a file is working with this code System.IO.File.Delete("C: estdelete.jpg") But in Windows Vista, i encounter this message: Access to the path 'C: estdelete.jpg' is denied. why its happening? what is the solution for this?
Using VB6 to create a file and then open the file just created fails when run on a Vista client with Windows 2008 Server. The same code will work when run directly on the Windows 2008 Server or when using an XP client. If a Sleep 10000 is placed after the close, the program will work. What is the problem here? The code is as follows:
Option Explicit Private Declare Function GetTempFileName Lib "kernel32" Alias "GetTempFileNameA" _ (ByVal lpszPath As String, ByVal lpPrefixString As String, ByVal wUnique As Long, _
I'm working on a program that needs Speech Recognition and every website says to download the Microsoft Speech Recognition Engine. I can't find that, but I've downloaded all the SDKs. Are they the same? And it always says to add a speech recognition component to the form, but I can't find where that is in Visual Basic 2005. I'm using the Express Edition, but I don't think that matters.
what I gather, the biggest difference between the old SAPI 5.1 and SAPI 5.3 is that SAPI 5.3 actually takes less code to do some of the same things that SAPI 5.1 does. This is just a simple example that runs notepad and says it is before doing so.One thing to remember is that the name of speech lib is changed again. Now you have to do this: Project -> Add Reference -> .NET -> System.Speech
imports system.speech Public Class Form1 Public WithEvents recognizer As New System.Speech.Recognition.SpeechRecognitionEngine Dim gram As New System.Speech.Recognition.DictationGrammar()
[code]....
gram is a DictationGrammar object. As it turns out, there are two grammar objects in SAPI 5.3. As you've probably already guessed, DictationGrammar is for spoken language and the normal grammar object is for simple grammar rules.
So basically, Load the grammar, set audio to the default input device and then start an Async recognize call. They have a blocking recognize call and one thing to note here is that it will turn itself off after each sucessful recognized phrase. Meaning that you have to recall Async recognize at the end of the GotSpeech sub if you want to keep picking up voice commands. As it stands, this will pick up one command and no more because it stops recognition.
One neat thing about the synthesis engine is that you can specify things like ".NET" to be said as "dot net" by Anna. Also, as it stands, the periods aren't said and so are pretty much useless. It acts just like the Vista Recognition engine also so if you spell out a word, Anna will spell it out too.In this example there is an undeclared variable named "cmd" that I fail to understand. What is the role of it and where does it obtain it's value from. I actually assume it should be the one to get the decoded\recognized text from the recognizer but not sure how that is achieved.
I'm using Speech.Recognition.SpeechRecognizer in VB.NET 2010 on XP-SP3. I can't figure out how to get it to recognize a number as a number. I want to be able to say "five" and have the code interpret it as the value 5 instead of the word. I know I could use a long choices array or sementics key/value combintations as I have for other conditions but that would be a considerable amount of hard coding or XML work. Is there a more efficient way to get the desired result?
I'm making an application that requires me to perform speech recognition from a wave file that contains some speech. I know what the words in the wave file could be.So, I need to compare these words from a small custom grammar/dictionalr instead of a whole built in large vocabulary.
I have done the recognition part with the default system large vocabulary but now just need to use my own vocabulary.
Suppose that the words that the user can say are:
Hello hundred degree celcius, USA, Yes, No
Then, how shall I write my XML Grammar? I suppose that if I use the limited small vocabulary, then my accuracy of recognition would increase. Right now, ive a wave file in Microsoft Mary's voice saying "Hello". But with the large default vocabulary its recognising it as "All though". Is my assumption correct that with the above mentioned 5 words in the vocabulry, it will recognise it as Hello only?
Ive been looking at the internet but can't find solution to my specific problem regarding making a simple grammar. In most documents its mentioning using external grammar and about several of the attributes posssible, including sementics, etc, etc. But my vocabulary is not very complicated or difficult. And I don't want to get into too much detail at the moment as I would be deviating from my project itself..