I am having to parse a file for mailing addresses... The problem is somelines contain a address and some do not.... The ones that do not contain a mailing address also do not have a zip code... Is there any string pattern match i could use to manage checking for the zip code??? something like
IF not string.isnullorEmpty(_Customer) then
If _Customer"" ZIP CODE STRING TEST "" THEN
{do what it should if its is true}
I know this question sounds like a repeat of few questions here, but none of those questions answered what i wanted. I am interested in knowing if someone know how to find other zipcodes within the radius of a specified zipcode. I have the zipcode database with me with latitudes n longitudes but am not sure how to do this in VB.net e.g - 90069 is a zipcode and if someone says 5 miles radius then i want all the zipcodes like 90210,90045,90034 etc to pop up.
I am looking for a tool that will accept an address from the user and return a 9 digit zipcode as well as validate the address or suggest an address, like on fexed or ups website. Its got to work with vb.net and asp.net Is there a tool like this available? any recommendation?
i'm trying to build a form which can extract a text from a picture(jpeg). Let say that i have 1 picture which contain text "TE66" on it. Then i browse for it,put it in ad picturebox and after that,i need to click a "capture" button to extract the text "TE66" and show it on textbox.
i already search about this on the internet but unfortunately, i cant find one. what i know is to extract a text from a picture is we need a Microsoft Office Document Imaging Visual Basic Reference (MODI). i already installed one but i dont know where to start first.
I am trying to write a 'simple' program with vs 2005 that recognises my specific usb memory stick so that I can make windows log off or 'lock' when the device is not in any slot. I have found some ready code and I am trying to modify it for my needs. There compiling works but when it doesnt find any of the usb ports.It works by checking each port if it is a usb port and then compares the vendor and produck ID to the given. it seems simple enough but I cant get it to find the USB.
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 would like to know on how to recognize a written character using vb.net 2008. it's actual a simple drawing using paint or system.windows.drawing. i've been googling for days but i didnt find anything related tothe image that i had attach below.hat i need to used.based on my understanding, by defaults the "dot" value is zero.whenever the user write each connected "dot", it will give 1 value. itssimply binary code.let say. 1001101100 = b
I was recently pursuing code that would allow me to read machine text off an image. The text will only consist of characters a-b, 0-9 and a few special characters (+,=,-,@,&). I have pursued a few third party OCR controls however all require licenses to be fully functional, would anyone know of any third party OCR controls that does not cost anything? If not is there anyway i can build my own OCR control that will read machine text?
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..
I want to incorporate Voice Recognition in my program using SAPI 5.1. So I looked for a tutorial and found this:[URL]..I downloaded the SDK and I can't seem to find a .dll file to include in my program for the SpeechLib. Am I missing something?
I am really new to all of this, and especially new to VB 2008, so while searching around for how to use Speech Recognition in VB, i figured i would ask here to get the best solution. I know that it is rather complicated, but my program only needs to understand maybe 20 commands max. So if anyone could post help on where i even need to get started to start speech recognition in my program,
All of the examples I'm finding on the internet are 5 or 6 years old or they are text-to-speech and I need speech input capability. I have a form that I would like to be enterable by voice.One of the textboxes on the form is for a description so I need something that will understand the spoken English language as well as possible.
I was wondering if it was possible to create a program in vb that recognizes a window/form and performs certain actions based on that. Basically what I want to do is create a program that auto fills out and clicks buttons on an install wizard to automatically install a program. I guess like some what of a macro. NOTE: I will only be using this only one installer, since I have to install this program multiple times.
I recently started a project and I have successfully completed the autoclicker part. But I am wondering how to add on to the autoclicker to make it locates a color and then click on that color. So for example:
User presses find color button (color the mouse is currently over) Cursor finds color red, Cursor locates and clicks all color reds until new color is clicked, Repeat.
So, you've all probably seen Iron Man where Tony interacts with an AI system called Jarvis. Demo clip here (Sorry it's a commercial).I'm very familiar with C#, C++ and Visual Basic, but I am unsure what options I have available for me to program something like this. Ideally, I'd like to have it assist me while working on some projects by automating a few things.
After doing a bit of research, I saw that a lot of people where using apple script. Well, I'm a windows developer and I work on windows, SO, that won't work.Microsoft has a Speech SDK, but I hear that I can't program it to learn custom words... as in it just uses it's standard library. Is this true? What are the other limitations of speech recognition with the SDK? Is there something else then?
Also, which language would be better to use for a project like this? C# or VB?
I am working on a voice recognition security system using vb2010 and now, my problem is on how to disable the keyboard, specially viewing Task manager while my application/program is running?
I've written a "quick and dirty" GUI interface for a CLI chat program, and I've been trying to integrate TTS and Speech Recognition into it, so that the user can "have a conversation" with a chat bot, rather than just "type and read". The TTS portion works well (barring some small pronunciation issues - I have yet to find a TTS voice that can properly pronounce "Geek" without my having to mangle the spelling), and the SR module works well.
If I have the TTS module disabled. The problem I'm having is that the SR module is processing the output from the TTS, and causing issues where an ever-increasing string of TTS output occurs, causing undesirable results. I've tried several methods of temporarily disabling Speech recognition, none of which have proved useful. Below are some short code snippets that I've tried to use:
Imports SpeechLib Imports System.Drawing Imports System.Net.Sockets Public Class Form1 Public voice As New SpVoice [Code] .....