Thumb Recognition Code Required In .Net 2005?
Jun 8, 2009making an application for thumb recognition in vb.net 2005 as soon as possible.
View 7 Repliesmaking an application for thumb recognition in vb.net 2005 as soon as possible.
View 7 RepliesI 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.
Here is the code:
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.
what is code for color recognition in VB.NET?
View 1 Repliesdoes any body have the link for the offline installer of vb2005
View 1 RepliesHow do I go about writing facial recognition code for a program I'm designing? I'm using Visual Basic 2008 Express Edition and I need to implement facial recognition into my software.
View 2 RepliesIm currently working on mendhak ADO.net tutorial and I keep getting this error when trying to add a new customer to the database.Load Event
[code]...
I am using a form which is having a listbox having a column of access table. When I select an item n press deleting it its working fine. But from the next time its showing an error "No value given for one or more required parameters".
Refer the ecode below:
Private Sub load_listbox()
Dim m_DataAdapter As OleDbDataAdapter
Dim m_DataSet As New DataSet()
Dim tbl_name As String = "Fld_detail_" & Datamaker.Application_Datamaker_ListBox.SelectedItem
m_DataAdapter = New OleDbDataAdapter("SELECT Start_loc FROM(" & tbl_name & ");",
[Code] .....
I have a program that uses a font that's not stored on many computers, so the font comes with the program, in its resources. Before I was writing to a file and loading the font from that location, but I remember now that sometimes you don't have permission to write to a file. My application will not write to any other files, and having this font available is very important. So, I decided to use Marshal.AllocHGlobal() to store the font in memory, then read it back. (I'm using a PrivateFontCollection object to store these fonts.)Does Marshal.AllocHGlobal() require permissions? Is it more likely that it will throw an exception than IO.File.WriteAllBytes()?
View 1 RepliesI am trying to returns records based on the last name of a customer in an access db. When I run the query in Access it works fine, the name in the examples returns 3 records with that last name. I use the same basic structure for other queries based on other fields (ID, UnitID etc) and they work fine.
[Code]...
I am working on my project as I am create a if statement that if there is no string in the textbox, displaying the messagebox otherwisse connect to the proxy server.[code]My problem is that how can I check if the proxy server is required for username and password, in which property that I should use in the if statement and how I can response it?
View 1 RepliesI am making and antivirus in visual studio 2010 using VB.Net using MD5 Hasher algorithm. Plz help me how can i clean a file infected with virus? Note that byy "Clean" i mean repair the infected file to a secure stage, "Remove" is used for deleting the infected file (which i already done.One more thing that i have done the selection of a custom folder or drive, but how can i code behind the "full scan" button. means when user cllick full scan button, it automatically scans full my computer drives including usb flash drives (if attached".
View 9 RepliesIn an app that is deployed to a diverse user base, I have code similar to the following: [code] For all users but one or two, this is fine. But one user is reporting back that he is receiving this error message:"The remote server returned an error: (407) Proxy Authentication Required."
View 1 RepliesI need to get file size of some files, which i can get very easily by using FileInfo class.. As of now, I'm looping through all files in My Directory and then taking their file sized into a notepad.But the real problem for me is,Like this, I'm having around 100 Root directories, each contains ~ 1000 subdirectories and each sub directory contains ~ 80 files..Yes, I know, that, I can use a recursive function and loop through all dirs and sub dirs and thus the files.. which was taking huge efforts in terms of time.I want to know, If there was any other alternative, which will make my task more easier and efficient.
View 4 RepliesI have just recently started using vb.net from vb6. I have written a program that retrieves certain posts from a forum. To clarify, it does this:
1) Login to forum and get SID
2) Navigate to a page (with SID) and retrieve required code.
Thats it.To retrieve the page source, im using this:
[Code]...
a company offered me to develop a project for our attendence system in which finger recognition system is used. now i have quitely no idea that what i do and what do i do with this finger recognition system project.
View 3 RepliesI am trying to execute a command line EXE (busobj.exe) with required parameters through VB.Net. Because of unknown reason the report is not being generated. Here's the commandline:
Shell(txtBOExecutable.Text & _
" -user " & txtUserName.Text & _
" -pass " & txtPassword.Text & _
" -system " & txtDomain.Text & _
[code].....
how can i create thumb for my xxx type file as jpeg files or psd files in windows because they have a separate thumb for ever a file
View 7 RepliesI routinely make backups of my VB 2008 projects, using Windows Explorer, copying the entire project file to a thumb drive. For some obscure reason, a couple of days ago it suddenly stopped working. Specifically, the project is fine on the harddrive, can be copied to a backup area of the harddrive, but when I copy it to the thumb drive, I get an error message indicating the file can't be found. This is not a new process--I have been backing up projects for several years and never encountered anything like this.
When I click on the project folder, it shows the typical files. When I doubleclick on the .sln file, nothing happens (meaning the file does not open as it does on the harddrive). Solution Explorer shows a .vb file. When I click that, I get the "Can't find the file" error. Other projects on the thumb drive open with no problem, but I am hesitant to overwrite those with "new" versions that may not work.
Dear members please guide me how thumb scanner use to take attendance of employees using vb.net and oracle 9i.
View 1 RepliesI have a client who is causing my software application to "hang" whenever he plugs in a thumb-drive and copies files. My software is using none of these files... can anyone hazard a guess at what's going on?
View 14 RepliesWe are trying to rename a volume label on a thumb drive using a visual basic program, but the operation doesn't work. We are not getting any error messages, it just doesn't work. The user account being used does not have any special privileges. I suspect the user may have to be an administrator, but that is not an option. Any ideas on how to accomplish without elevating the users privileges?
View 2 RepliesI have to create a program to manage a large number of USB Thumbdrives. In short, the drives will contain corporate images used by technicians to prep machines in the field. I do not have to create the images as they are already provided. Since I have to create 50 plus of these at one time, I am looking at writing a program to automate the process. As it stands now, formatting, partitioning, and copying the image to each key individually is, as you can understand, not efficient time wise. I have already purchased two industrial quality 7 port powered hubs.
The plan is to be able to: Fill all 14 slots in the hubs with USB ThumbdrivesUse the program to select the drives to prepareHave the program format and partition the drives (bootable)Copy the contents of the image folder provided to the USB keys. The idea is to do the above by filling all the slots and hitting one button, then walking away to do other work. When done, the drives would be ejected, and the next set of 14 installed.
I have already created the User Interface. It consists of: 5 buttons (Scan For Drives, Format Drives, Build Drives, Build And Format Drives, Exit).One "Select Source" entry field to select the source of the Image Files.One Checked Entry List. This is where all available drives will be listed, and the one's desired to be checked.
Now, it has been 20 years since I did any coding, and all of that was done in languages that are pretty much dead today (Turbo Pascal, Clarion Professional Developer and R:Base), so to say I'm behind the curve is an understatement. While I was never a real fan of Basic, I have some experience with it. But today's VB.Net ain't your daddy's basic, and there's no way I have time to learn C or C++. I have the Express version of Visual Studio 2010, which should be fine for this project.
I have a class set up to hold values on a registration form (VB.NET, MVC), and among the properties is a Password property:
[Code]...
I've been looking through the book I own and I've been looking online but I just don't understand what code would I write to have it check the text box or input box for the right letters in a word?
View 2 RepliesI have this string just down loaded of a Unix server. I would like to remove the box (0x0A) Unix end line code; then replace it with CR+LF normal ASCII code. Also, I would like to do the replace before I save the data, while it in memory.
View 14 RepliesDoes vb 2010 have a 'REQUIRED" property or control that allow you to make a textbox a "required" field? I googled and saw something about required property in controls in toolbox but somehow I could not find it anywhere in my vb 2010 toolbox. Would it be easier to write it? Does anyone have sample code?
View 6 RepliesI need to do a face recognition using vb.net, Any lead or 3rd party controls or anything with this.
View 2 Repliesi just started to learn how to do speech recognition using VB.NET..but i am having trouble in what do i need to do it..how should i start?
View 1 RepliesIs Possible to create Speech recognition in vb.net .
View 2 Replies