Solved

Visual Studio.Net 2003, using the Clipboard and serial port.

Posted on 2004-10-31
156 Views
Last Modified: 2010-04-23
I am trying to complete my Senior Project for graduation. My project objective is to make life a little simpler for someone that is visually impaired. I am trying to write a program that take a serial input or a mouse input (two different barcode scanner). It takes in a stream of charatcters Ex:   .C3nZC3nZC3nWCND6D3D2ChnY.cGf2.ENr7C3jWC3f6ChvWChP6ENPZ.  
This stream of characters will be compared to another stream of characters just like it. Once it is a match, it will output a chosen pharse. For Ex: This a 16oz bottle of water.  This pharse will then be pasted to the clipboard. I have another program on my computer that will read the clipboard and announce the pharse out loud.
 
0
Question by:2InVY59
    6 Comments
     
    LVL 96

    Expert Comment

    by:Bob Learned
    It is against membership guidelines to do someone's homework, but we can give you hints and point you in the right direction.  

    What are you thinking here?  Do you have any code?  Have you chosen a direction?

    Bob
    0
     

    Author Comment

    by:2InVY59
    I don't have any code. i have tried a lot of solutions from different people at school and from the internet, but they don't work. I have taken a VB class, but it didn't go that in depth. And the teacher that was teaching the class at my university transfered. I have the book, Visual Basic.Net How To Program 2nd edition by DEITEL. It doesn't cover anything about clipboard. So I am at a total lost. I can do little program in C not C++. Any pointers will help. i am using a CUECAT barcode scanner and plugs into the mouse port. The program will be a infinite loop, while. I want to take in the array of characters and compare them to another array of characters. Once the array of character find its match, it would have a chosen phrase that would be pasted to the clipboard. In C it would be done by using a string compare, strcmp.  Using If/Else, once the string compare return a zero it would print out a statement.  I'm not sure if that answer your question. Just let me know if you need any additional information or came help me out in any way.
    0
     
    LVL 96

    Accepted Solution

    by:
    If you have C experience, would it be possible to accomplish this through C#?  There would be a smaller learning curve, and the concepts in C# are very similar to VB.NET.  The syntax would be much easier for you to tackle.  If you need it in VB.NET, it could be possible to develop concepts in C#, and then translate it to VB.NET.  There are services on the Internet to accomplish this.

    Bob

    Bob
    0
     

    Author Comment

    by:2InVY59
    Well, I was told it would be easier to do in VB instead of C#.LOL. And that was by my C# professor. The program have to be user friendly and have better visual abilities then what C# offers. Thanks for the advice.

    Ashlynn
    0
     
    LVL 14

    Expert Comment

    by:ptakja
    Actually, anything you can do in VB you can do in C#. Programming in C# is NOT like programming in C++. It is much simpler. The biggest hurdle is the .NET Framework, not the implementation language.
    0
     
    LVL 96

    Expert Comment

    by:Bob Learned
    Agreed.  

    You can provide the same visual elements in C# that you can in VB, and the implementation would be easier for you to understand (since you have a history with C).  Also, you can think about a dual-purpose solution in which you have the VB project provide the user interface, and the C# provide all the real intelligence (model-view-controller).  In that way, you can leverage the benefits of each language.

    Bob
    0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Suggested Solutions

    Title # Comments Views Activity
    VB RDLC Report 1 42
    Update a DataTable to the database. 3 20
    print dialog with an option to map printer 11 25
    Linq Unique list ? 3 19
    I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
    It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    856 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now