I'd like to know if anyone has a code for or can direct me on how to select keywords given in a speech command and to ignore the other words. Example: Speech "The beach looks great today"
I want to use the word "beach" to trigger a function and ignore the rest of the speech.
i'm currently working on making a program that does all my normal pc clean up work for me. delete temp files, tif, cookies prefetch etc and i'm using code like this
vb.net Dim rKey As Microsoft.Win32.RegistryKey Dim path As String rKey =
[Code]....
I'm stuck in the cookiew folder since "index.dat" doesn't delete and it causes the form to crash.
My "Learn Welsh" application is now near completion, I only have a few things left to add / fix then I will share it with the world. Here's a screenshot of it so far :
As you can see by the picture above, I have created a simple feature in my application to pronounce letters from a word to assist users to learn the welsh alphabet. What I would really like to do is make the program pronounce full words. I already know how to make use of the system.speech reference in vb, here is a quick sample of code:
Dim speak As System.Speech.Synthesis.SpeechSynthesizer = New System.Speech.Synthesis.SpeechSynthesizer Dim word as string = "hello" speak.Rate = 1 speak.Speak(word)
Now what I'm looking to do is make use of a welsh based voice and make an application like the one below:
I have a question that relates to identifying words or characters in text boxes.Okay, I know that I can identify the entire text with textbox1.text = "~~~~". But say I want to search for a specific part.e.i.(in textbox)Hello, how are you?(in textbox)How, in code, would I find and select, let's say, the word "how"?Please, if you can help, I need it. I want to learn as much as I can about Visual Basic so I can become a better programmer.
i am trying programming a program that open a txt file then get specfic data from each line then put the data1 in a textbox1 and data2 in textbox2.[code]and for each time i don't now the username or the password i want the programe to search in line 1 the word between "user=" to "" and the word between "password=" to "".I created the text reader and i hope that same one can help complete the project.[code]
I want to make visual basic read between <strong> and </strong> , and take out the "welcome back,".I want it to just say "itoknc". How could I do that with inner html?
I need to check for specific words so that the program will know what smtp client will be used. For example. If the from textbox will have @yahoo.com on it then the program will make use of the smtp for yahoo.
I have a text file stored as a string variable. The text file is processed so that it only contains lowercase words and spaces. Now, say I have a static dictionary, which is just a list of specific words, and I want to count, from within the text file, the frequency of each word in the dictionary. For example:
Text file:
i love love vb development although i m a total newbie
Dictionary:
love, development, fire, stone
The output I'd like to see is something like the following, listing both the dictionary word and its count. If it makes coding simpler, it can also only list the dictionary word that appeared in the text.
WORD, COUNT
love, 2
development, 1
fire, 0 stone, 0
Using a regex (eg "w+") I can get all the word matches, but I have no clue how to get the counts that are also in the dictionary, so I'm stuck. Efficiency is crucial here since the dictionary is quite large (~100,000 words) and the text files are not small either (~200kb each).
I have an HTML string and in that string are certain variables that I need to replace with database values. The variable names are dynamic but all begin with the characters "@@" (just two ampersands, no quotes). Is there a way to get all the words in a string that start with "@@"? I'm assuming you would use regular expressions, but not sure how to begin.
Let's say I have a textfile which contains paragraphs. Some of the paragraphs start with * or a > character. How do I index the words that start with these characters?
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 wanted to link options selected from Comb box A (general) to specific options in combo box B (specific). I want to pick a word in Combo box A that has specific words/phrases in Combo Box B show. But not all the words to show in the combo box B if they aren't associated with the Word picked in Combo Box A. Ex.When "Soda" is picked in A, only "Coke, Sprite, Fanta" should be visible in combo box b, not everything else.This is the code i used to make the boxes, but i don't know how to link them.
Private Sub MainForm_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load ' fills the combo boxes with values Me.xGeneralComboBox.Items.Add("Soda") Me.xGeneralComboBox.Items.Add("Juice")
I've got 2 RTB one is for input of text and one is output.The output one needs to read the words from the input and display it alphabetically and with their line numbers.I have partly done it and it currently reads it but here is my problem When the words are outputted let say for example there are 2 words the same on the same line e.g the word 'you' appears twice on line one,at the moment its coming up like this
I just want to know that how can i highlight text on a richtextbox control while reading the text using speech sdk control. I mean the word currently speak automatically selected in the RichTextBox.
When I run code the below, the If statement never resolves to 'True'. It always shows 'Assm' as the SelectedItem, even if I check all the checkboxes. So how do I allow 'Assm' to be checked by default AND have the code-behind see that the other checkboxes are checked?
I've got a problem with a program that references a third party ActiveX component that I've been refused permission to distribute. The AX component is used on some user defined controls which the user can add programatically, which makes isolating them fairly easy. However, the problem is that if the program is installed on a machine without the third party component then it just crashes, where I would much prefer it to just alert the user to the missing component and then disable the functionality that requires the component.
In the past I've tried adding the reference programatically but have found that this solution doesn't work with this particular control.
I'm writing a solution in VB.NET that consists of a number of different components (UI manager, Outlook add-in, etc.). In the main UI program I'm serializing out an arraylist to a data file that contains the data the other components will need to do their jobs. That part works fine, and I can serialize and deserialize with no problem. Now I want to read (deserialize ) in the data in my Outlook add-in, and I ran into the dreaded 'Unable to find assembly' issue where it's looking for the original assembly that serialized the data. I found a hint for workaround
Because there is so little information about VB.Net and (Fluent) NHibernate to be found, I decided to write this question to all other developers finding themselves looking for more information.On of the things i had to struggle with was how to Ignore properties in NHibernate.The reason i had to ignore properties was because we used a Webserivce which cannot serialize Interface classes (ILists). Which are used a lot with NHibernate.
I have a Powershell script and no matter what I try it completly ignores any quotation marks in the script. The error occurs when I run the script from my VB.NET code yet, I have been running scripts sucessfully through VB.NET for a while now. For example, my script starts with finding out the server name...
I have only started programming in VB recently and I am not very good on the coding side. I have two values a and b. When I divide them, I want only the integer part to show up ignoring all the decimals and storing it into the variable c.
other than GML (Yoyogames.com Game Maker Language), I am new to the coding world. The only "major" project I have completed using VB is a computer calculator that exactly mimics the capabilities of Windows 7's calculator. Yesterday, I began a Chatbot program for my girlfriend. Lol. I have used the instr() function to answer most of the questions or answers which are typed into the textbox1. I find this extremely troublesome because when using the instr() function you cannot say instr(textbox1.
Public Class Form1 Dim fos As String = "Foster: " Dim ash As String = "Ashley: "
Is there a way to compare two dates (which include time) ignoring the time? I have a 1/1/2009 8:00am and 1/1/2009 9:00am and I just want to know if it is the same day, without any care to what time it is. I know I can convert the date and compare the strings, but is there another way?
Basically I want to have a lines that contain certain numbers ignored. Where lines that do not contain those certain numbers show up in textbox1.text.For Instance.In the code I want it to ignore all lines that contain "1234" and "1645" when it reads Accessed.txt, and output every line that does not contain those numbers. So if a line contains "78910" it would output that line into textbox1.text.Here is what I have so far, and it works as long as I only have 1 if not contains statement. When I have more than one, it doesn't work at all and just outputs everything in the text file.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) _ Handles Button1.Click Dim r As New System.IO.StreamReader("S:accessed.txt")
I've Googled the problem "disappearing menustrip" and have found no help.Not only is my menustrip1 disappearing when I debug, but any new buttons or changes are completely ignored by the debugger.Is there some kind of memory I have to clear?