How to: Create a Program with the rs232 Device -Magcard Reader Writer

Hi Guys!. 
Im New in using VB.net 2010 express 
and it is my first time to do a project with a device needed to incorporate with it.
I have a device Magnetic Card Reader writer and a i want to create a connection and UI 
that interacts with the device alone without using the default application and process.start command.
the main problem i want to be solve is to perform the connection and commands on a single form by allowing the user to read and write the data on a single form. 
what i want to do is to create a main form that executes the commands needed to activate the event or allows the user to use the device w/o using the software. with the use of text box and button, while the read executes automatically if the card is swipe
to it end fill out the focus textbox given.
i have here a document that discuss commands for the device and i think it is needed to successfully connect all the process from device to the system
can you help me to do this project? tnx.. :)

Hi,
Welcome to MSDN.
I am afraid that this is not the proper forum for this issue, since each  Magnetic Card Reader writer has its API for developers.
You could consider getting supports by connecting with the publisher of that Magnetic Card Reader writer which should have the sample about using its API.
In addition, I did a research, you could refer to
Build a .NET Class for Serial Device Communications with P/Invoke to get how to communicate with that serial device.
Thanks for your understanding.
Regards.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • Can someone tell me how to create accounting entries with the account status as error

    Hi,
    Can someone tell me how to create accounting entries with the
    account status as error?
    Thanks!!
    Danny

    It's call fixed/static background, and it is NOT directly support by iweb, you will need post processing either in html or javascript.
    Varkgirl (you need to search the previous forum) and I did it since iweb1:
    try Safari, and scroll: http://www.geocities.com/[email protected]/Links.html
    invisible link? roddy, fishing for info again?

  • How to create a pdf with the correct size?

    Hi there
    How do I create a pdf with the correct size? I created several albums and ordered them. Now I want to backup the album and I know how to create a pdf, but when I choose A5 it's to big, when I create my own size it's not the size it should be. The original (made with iphoto) is a small size album 200x150mm. But when I create my own size (200x150) it shows some white borders.
    Does anybody have some tips ore workarounds?
    Yuri
    Imac
    Iphoto 11 (9.4.2)

    Books are designed for and printed on 8.5 x 11 inch stock, US Letter size.  You shouldn't have to select any size.  While viewing the All Pages mode in the book Control-Click on the page and select Save Book as PDF from the contextual menu. 
    That will create a PDF that iPhoto uses to upload and print.  Not all pages will be the same size as the dust jacket will be present in it's full size, 32.8 inches x 8.91 inches:
    If you want a PDF that's designed for your own printing the type Command+P while viewing the All Pages window.  In the first print window click on the PDF button.  It will present you with a contextual menu where you should select Save as PDF.  That will give you an 8.5 x 11 PDF file with all pages the same size.
    OT

  • How to create a button with the drop-down menu?

    I want to create a button with the drop-down menu, which is like the 'back' on the tollbar in IE. I heard JPopupMenu can reach the certain result, but the button hadn't a down arrow. Who can help me?

    i have made something like this :
    //======================================================================
    package com.ju.guiutils
    import java.awt.*;
    import java.awt.event.*;
    import java.net.URL;
    import java.util.Vector;
    import javax.swing.*;
    import javax.swing.border.*;
    import javax.swing.event.*;
    import javax.swing.plaf.basic.BasicComboBoxUI;
    * @version 1.0 14/04/02
    * @author Syed Arshad Ali <br> [email protected]<br>
    * <B>Usage : </B> ButtonsCombo basically performs function button + JComboBox, if we have different options for
    * <BR>same button then we can use this ButtonsCombo.
    *<BR> By the way there is no button at all in <I>ButtonsCombo</I>
    public class ButtonsCombo extends JComboBox {
    //===================================================================================
    * Create ButtonsCombo with default combobox model
    public ButtonsCombo () {
    super ();
    init ();
    //===================================================================================
    * Creates a ButtonsCombo that takes it's items from an existing ComboBoxModel.
    public ButtonsCombo ( ComboBoxModel model ) {
    super ( model );
    init ();
    //===================================================================================
    * Creates a ButtonsCombo that contains the elements in the specified array.
    public ButtonsCombo ( Object [] items ) {
    super ( items );
    init ();
    //===================================================================================
    * Creates a ButtonsCombo that contains the elements in the specified Vector.
    public ButtonsCombo ( Vector items ) {
    super ( items );
    init ();
    //===================================================================================
    private void init () {
    setBorder ( BorderFactory.createBevelBorder ( BevelBorder.RAISED ) );
    setRenderer ( new ComboRenderer() );
    setUI ( new ComboUI() );
    addMouseListener ( new ComboMouseListener() );
    //===================================================================================
    * Set items for ButtonsCombo in the specified array
    public void setItems ( Object [] items ) {
    setModel ( new DefaultComboBoxModel( items ) );
    //```````````````````````````````````````````````````````````````````````````````````
    * Set items for ButtonsCombo in the specified Vector
    public void setItems ( Vector items ) {
    setModel ( new DefaultComboBoxModel( items ) );
    //```````````````````````````````````````````````````````````````````````````````````
    * Get current items in a array
    public Object [] getItemsArray () {
    ComboBoxModel model = this.getModel ();
    if ( model != null ) {
    int size = model.getSize ();
    if ( size > 0 ) {
    Object [] items = new Object[ size ];
    for ( int i = 0; i < size; i++ ) {
    items[ i ] = model.getElementAt ( i );
    return items;
    return null;
    //```````````````````````````````````````````````````````````````````````````````````
    * Get current items in a Vector
    public Vector getItemsVector () {
    ComboBoxModel model = this.getModel ();
    if ( model != null ) {
    int size = model.getSize ();
    if ( size > 0 ) {
    Vector itemsVec = new Vector();
    for ( int i = 0; i < size; i++ ) {
    itemsVec.addElement ( model.getElementAt ( i ) );
    return itemsVec;
    return null;
    //===================================================================================
    class ComboMouseListener extends MouseAdapter {
    public void mouseClicked ( MouseEvent me ) {
    ButtonsCombo.this.hidePopup ();
    public void mousePressed ( MouseEvent me ) {
    ButtonsCombo.this.hidePopup ();
    ButtonsCombo.this.setBorder ( BorderFactory.createBevelBorder ( BevelBorder.LOWERED ) );
    public void mouseReleased ( MouseEvent me ) {
    ButtonsCombo.this.hidePopup ();
    ButtonsCombo.this.setBorder ( BorderFactory.createBevelBorder ( BevelBorder.RAISED ) );
    //===================================================================================
    class ComboRenderer extends JLabel implements ListCellRenderer {
    //````````````````````````````````````````````````
    public ComboRenderer () {
    setOpaque ( true );
    //````````````````````````````````````````````````
    public Component getListCellRendererComponent ( JList list, Object value, int index, boolean isSelected, boolean cellHasFocus ) {
    setBackground ( isSelected ? Color.cyan : Color.white );
    setForeground ( isSelected ? Color.red : Color.black );
    setText ( ( String )value );
    return this;
    //````````````````````````````````````````````````
    //===================================================================================
    // We have to use this class, otherwise we cannot stop JComboBox's popup to go down
    class ComboUI extends BasicComboBoxUI {
    public JButton createArrowButton () throws NullPointerException {
    try {
    URL url = getClass ().getResource ( "/images/comboarrow.gif" );
    JButton b = new JButton( new ImageIcon( url ) );
    b.addActionListener ( new ActionListener() {
    public void actionPerformed ( ActionEvent ae ) {
    return b;
    } catch ( NullPointerException npe ) {
    throw new NullPointerException( "/images/comboarrow.gif not found or /images folder not in classpath" );
    catch ( Exception e ) {
    e.printStackTrace ();
    return null;
    //======================================================================
    you can cutomize this according to your requirement , okie ;)

  • How to create reports servers with the same name in two nodes in Reports

    Greetings
    We are migrating Oracle Application Server 10g (9.0.4) to a better hardware infrastructure with high availability. We want to provide 2 new Oracle Application Server 10g (9.0.4) in High availability and we want to avoid modify the existing forms and reports code, but the code is looking for a specific reports server name when calling reports, but I couldn't create the same reports server name in the both oas machines, I could create the reports server in only one node. I want to create a reports server with the same name in both nodes but it is not possible. I know that there is a procedure to do that in 10.1,2 (Note 437228.1, How to Create Two Reports Servers With the Same Name in the Same Subnet) but I couldn't find the equivalent procedure in 9.0.4.
    Anybody kwows how to create a reports server with the same name in two nodes using 10g (9.0.4)
    Thanks
    Ramiro Ortiz.

    Hello.
    I applied the patch 4092150 on my oas 9.0.4.2 and I modified my rwnetwork.conf file changing the port to 14022 by following the note "How to Create Two Reports Servers With the Same Name in the Same Subnet? [ID 437228.1]" but I am facing the same error rep-56040 "server already exists in the network".
    When I run osfind command I get the following information (My reports server is senarep and I want to create it on SNMMBOGOAS10):
    osfind: Found 2 agents at port 14000
    HOST: SNMVBOGOAS10.sena.red
    HOST: SNMVBOGOAS09.sena.red
    osfind: There are no OADs running on in your domain.
    osfind: There are no Object Implementations registered with OADs.
    osfind: Following are the list of Implementations started manually.
    HOST: SNMVBOGOAS10.sena.red
    REPOSITORY ID: IDL:oracle/reports/server/EngineComm:1.0
    OBJECT NAME: senarep2
    REPOSITORY ID: IDL:oracle/reports/server/ServerClass:1.0
    OBJECT NAME: senarep2
    HOST: SNMVBOGOAS09.sena.red
    REPOSITORY ID: IDL:oracle/reports/server/EngineComm:1.0
    OBJECT NAME: senarep
    REPOSITORY ID: IDL:oracle/reports/server/ServerClass:1.0
    OBJECT NAME: senarep
    Any Ideas?

  • How to create a form with the Designer Peopletools

    Help friends of the forum:
    Any page of examples of how to create forms with the tool in PeopleSoft Application Designer

    http://www.oracle.com/technology/documentation/psftent.html
    Down Peopletools 8.xx PeopleBooks and look at the PeopleSoft Application Designer
    It walks you through the whole Process

  • How to create web applications with the LabVIEW web server

    Wonderful Forum,
    I've noticed that sometimes it can be tricky for LabVIEW users to learn how to create their own custom web clients using the LabVIEW web server. I created a LabVIEW web development community group and wrote some tutorials to teach the basics of creating web clients using HTML, Javascript, and AJAX. The idea is that LabVIEW users without any web background can quickly look at some tutorials and examples to get started on their own projects.
    https://decibel.ni.com/content/groups/web-services
    What do you think?
    Joey S.
    Software Product Manager
    National Instruments

    Hi Joey,
    A great idea! I recently presented at a local user group meeting about my WebSockets API (see the links in my signature). I've uploaded the presentation and the demo code I gave to our UG here.
    I think the barrier to entry is with needing to know the web languages (e.g. html/css/js) as well as writing your LabVIEW code. I have joined the group and look forward to seeing some interesting content on there! Certainly some demos of using AJAX to make requests to Web Services and do something with the data (e.g. display on a graph) would be a good place to start.
    Certified LabVIEW Architect, Certified TestStand Developer
    NI Days (and A&DF): 2010, 2011, 2013, 2014
    NI Week: 2012, 2014
    Knowledgeable in all things Giant Tetris and WebSockets

  • How to run Struts program with the help of tomcat

    Hello Everybody
    This is Adesh.I am a newcomer of java and facing a problem with struts, so if any one know how to set the path of struts and how to run struts program, so plz inform me.
    THX in Advance.............................................

    struts-config.xml
    <struts-config>
    <action-mappings>
         <action path  = "/welcome"
                    type  = "Welcome"
                    scope="session">
                <forward name="success" path=".welcome"/>
                <forward name="failure" path=".base.error"/>
         </action>
    </action-mappings>
        <plug-in className="org.apache.struts.tiles.TilesPlugin">
            <set-property property="definitions-config" value="/WEB-INF/tiles-defs.xml"/>
            <set-property property="definitions-debug" value="1"/>
            <set-property property="definitions-parser-details" value="0"/>
            <set-property property="definitions-parser-validate" value="true"/>
        </plug-in>
    </struts-config>tiles-defs.xml
    <tiles-definitions>
         <definition name = ".base" path = "/include/template.jsp">
              <put name = "title" value = "${title}"/>
              <put name = "header" value = "/include/top.jsp"/>
              <put name = "body" value = "${body}"/>
              <put name = "footer" value = "/include/footer.jsp"/>
         </definition>
    </tiles-definitions>web.xml
    <servlet>
            <servlet-name>action</servlet-name>
            <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
            <init-param>
                <param-name>config</param-name>
                <param-value>/WEB-INF/struts-config.xml</param-value>
            </init-param>
    <init-param>
                <param-name>definitions-config</param-name>
                <param-value>/WEB-INF/tiles-defs.xml</param-value>
            </init-param>
            <load-on-startup>1</load-on-startup>
        </servlet>
    <servlet>
            <servlet-name>init</servlet-name>
            <servlet-class>Init</servlet-class>
            <load-on-startup>2</load-on-startup>
        </servlet>
        <servlet-mapping>
            <servlet-name>action</servlet-name>
            <url-pattern>*.do</url-pattern>
        </servlet-mapping>
      <jsp-config>
        <taglib>
            <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
            <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
        </taglib>
        <taglib>
            <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
            <taglib-location>/WEB-INF/struts-html.tld</taglib-location>
        </taglib>
        <taglib>
            <taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
            <taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
        </taglib>
        <taglib>
            <taglib-uri>/WEB-INF/wall.tld</taglib-uri>
            <taglib-location>/WEB-INF/wall.tld</taglib-location>
        </taglib>
        <taglib>
            <taglib-uri>/WEB-INF/c.tld</taglib-uri>
            <taglib-location>/WEB-INF/c.tld</taglib-location>
        </taglib>
        <taglib>
            <taglib-uri>/WEB-INF/fn.tld</taglib-uri>
            <taglib-location>/WEB-INF/fn.tld</taglib-location>
        </taglib>
        <taglib>
            <taglib-uri>/WEB-INF/fmt.tld</taglib-uri>
            <taglib-location>/WEB-INF/fmt.tld</taglib-location>
        </taglib>
    </jsp-config>
        <resource-ref>
            <description>DB Connection</description>
            <res-ref-name>jdbc/SQLServerDB</res-ref-name>
            <res-type>javax.sql.DataSource</res-type>
            <res-auth>Container</res-auth>
        </resource-ref>
    </web-app>This should help....

  • How to create a CD with the WinXP OS OEM?

    Hi all,
    Recently I bought a Tecra A7 that has WinXP OEM preinstaled. My question is: has Toshiba any tool to create WinXP CD? If not, why so and how can I do it cleanly? I want my PC to make tests and I probably have to format it in future!
    Thank's
    Pedro

    Eldorado, thank's for your reply.
    I can use ghost, yes, but I think I should not have to do it because it makes no sense! First, I bough a computer WITH the Operating System and I must assure that if something happens to my OS I can restore it, WHATEVER it happened; second, if I want to use Ghost, I have to get an unauthorized copy (because I don't have it) and I don't want to do it! As far as I know, the only thing that you can generate a CD copy is the Tools and Drivers CD.
    Of course I could *make* the WinXp with the directories that exist in CD and some freeware. But I think I don't have to do it, it should be done. Do you understand what I mean?
    I have the Restore CD, yes. And the short time I contact with it (only yesterday) I didn't see a way to create Win Xp image.
    It was nice if someone from Toshiba answers my question.
    Thank's.
    Pedro

  • How to create a circle with the origin not at (0,0)

    I want to create a circle but the origin is not at (0,0).
    I have the following data;
    - point coordinate (X1,Y1)
    - radius of the circle
    Also, I want to create a line between the origin and the point (X1,Y1).
    Kindly show me how can I do this. Thank you very much. 

    The accuracy of the GPS Receiver is +/- 0.5 meter. Its a Novatel product (Flex Pak). I am getting the string data from the GPS receiver. I took the Longtitude data as for my X and Latitude data for my Y. I took the Longtitude and Latitude data from the center of post for my reference calculation only to get the true value of X and Y at the end of the boom. I call the X and Y value at the end of the boom as dynamic because it always give me the value wherever the boom goes. Please see the attached sample VI's.
    At one point , I actually measured, using a tape measure,  the distance from the end of the boom to the center of post and i am getting the correct radius. But when I rotate the boom on the other side it will give me a different radius. And looking at this radius value, while rotating the boom, I can judge that my point of origin is not (0,0).
    At this point I have no idea how to get the correct origin. Kindly teach me if you have idea on this.
    Do you think the way I calculated for the true value of X and Y is still correct? Is my reference too far?
    Thank you very much.
    Attachments:
    plotting xy graph 1.vi ‏22 KB
    dynamic xy calculation.vi ‏28 KB
    dynamic radius calculation 1.vi ‏15 KB

  • How to create a folder with the name = date (e.g. "20030512") with LV6.0

    hi,
    i want to create folders with the name = date automaticly.
    i found several solutions here, but all in LV6.1. could somebody give me an example in LV6.0 ?
    I tried it with "get date-string" but that date-string has "." in it :-(
    6.1-example :
    here

    Hope this will help!
    ian.f
    Ian F
    Since LabVIEW 5.1... 7.1.1... 2009, 2010
    依恩与LabVIEW
    LVVILIB.blogspot.com
    Attachments:
    folder_create_2003.vi ‏66 KB

  • How to create a FSV with the text groups in spabish and English

    Hi gurus,
    could you help me with a issue. I want to know where i can add the text in english in the groups of the fse2 , because i have tha configuration with spanish text but when i execute the f.01 with the language EN the system do not give text in English. So could you help me?
    best regards!

    I just tried it with our FSV, system language is EN and i executed the report in DE. I could see german texts but not on the FS items.
    I dont know, if that is possible because these are custom texts/input fields from you as compared to the system text converted to the required language on the report header and other layout fields
    If you want the FS items to also show text in 2 languages, i recommend creating another FSV in the alternate language and using it.

  • HT3622 how to create new playlists with second ipod device

    I have just bought a ipod touch when I also have used an older ipod, my question is when I try to create a new playlist for my new ipod I can not make it happen the new playlist keeps being created under my old playlists and when I try to drag the playlist to my new device I can not move it. thanks all

    Hi,
    Welcome to MSDN.
    I am afraid that this is not the proper forum for this issue, since each  Magnetic Card Reader writer has its API for developers.
    You could consider getting supports by connecting with the publisher of that Magnetic Card Reader writer which should have the sample about using its API.
    In addition, I did a research, you could refer to
    Build a .NET Class for Serial Device Communications with P/Invoke to get how to communicate with that serial device.
    Thanks for your understanding.
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to create a polygon with the Lat/Long Coordinates

    I have set of Lat/Long coordinates and I need to create a polygon geofence. Can any of you know how to do this please share your thoughts with me
    I have the following coordinates
    -84.3087, 39.3465; -84.3118904, 39.3306296; -84.3265158, 39.3372422; -84.2866, 39.3371; -84.2958, 39.3284; -84.2888, 39.3241
    Thanks

    Assuming these are long/lat values, the polygon can be defined as:
    sdo_geometry(2003, 8307, null, sdo_elem_info_array(1, 1003, 1),
    sdo_ordinate_array(-84.3087, 39.3465, -84.3118904, 39.3306296, -84.3265158, 39.3372422, -84.2866, 39.3371,
    -84.2958, 39.3284, -84.2888, 39.3241, -84.3087, 39.3465))
    siva

  • How to create a table with the spaces between the row..

    Hello,
    I am using jdev 11.1.1.6 and I need to insert the spaces between the rows. How this can be done?
    Thanks and Regards,
    Tarun Agrawal

    Hi Tarun,
    This css rule is useful to set the padding on each cell:
    .AFTableCellPadding:alias {
      padding: 10px 0px 10px 0px;
    }But if you want to insert a real space between the rows (property "cellspacing") you can do something like this:
    af|table > div + div > table {
      border-collapse: separate;
      border-spacing: 0px 5px;
    }AP

Maybe you are looking for

  • I am unable to capture using Matrox MXO2 LE with Preimere Pro CS6 and Windows 8

    I have a Matrox MXO2 LE and trying to capture with Preimere Pro CS6.  My OS is Windows 8 and it sees my Matrox Device via my device managers.  No option comes up in CS6 to allow me to actually capture.  I am a new beginner with both Matorx and Preime

  • Changed stock account

    Hello, they changed a stock account in OBYC (same valuation class). This means that some of the stock receipts happened on account X, while the goods issues now are being posted to account Y. Account Y now has a negative balance. Is there some trick

  • Errors in LabVIEW because Max is not ready

    I'm having an unusual problem with Max and LabVIEW. I need to have a LabVIEW program launch auotmatically on startup and run unattended. I put a shortcut in the Startup folder, use automatic logon, and generally things work. However, I have had some

  • Add flex to jdeveloper

    Hello every body. Im new using Jdeveloper and Flex. Im working in Red Hat Linux ES/AS 4. I have download and install Jdevloper 10.1.3 and download , from macromedia web, and install Flex 2.0.1 in my server. Now I want add Flex to Jdeveloper in the wa

  • Wrong Audio After Export

    Hi I put some audio fx (moderate compressor, HiPass, LowPass...) on the clips and did a bit of rubberbanding. If I play the sequence in PPro, all sounds nice. But after export/encoding some parts of the rubberbanding (volume) are wrong or lost. Plus