Print ID Card Magnetic Stripe Encoding
Oct 7, 2007
I need to be able to print ID cards with magnetic stripes. This is a simple matter of putting special code characters in the text to print. I can print text to the card printer from Notepad, and the printer knows to encode the stripe. This even works printing from a report in Access, but not from a Crystal report from a VB.NET app, and not from the PrintDocument object. All these do is print the information to be encoded on the front of the card. So I need to be able to print these from a VB.NET app, but not using CR or PrintDocument.
View 1 Replies
ADVERTISEMENT
Jun 21, 2010
[URL] I am using the magtek Intellistripe 65 insert card reader and i want to connect the device thru my POS application developed in .NET. I have also tried the sample VB code provided by magtek. But i am not able to access the device.
View 2 Replies
Jan 13, 2009
First off, what I'm doing here is trying to read in information from a magnetic stripe card, parse it, validate certain parts and go from there. I'm working on two classes... the first is CardClass and that represents the card itself (well, the data obtained from the card). The class is CardParsingClass. This holds all the card parsing rules.
At one point in the process, I will create an instance of the CardClass. That instance gets passed into the CardParsingClass.ValidateData function:
CODE:
This function steps through each of the card parsing rules and applies the rule to cardCurrent to see if it passes (i.e., is valid).
And here we come to the meat of it.... what I'd like to do is define an event called FailedCardReadEvent. Whenever I raise the FailedCardRead event I could write to the log that it failed, modify variables in the CardClass (particularly the state of the card read variable), etc. So, the way I'm looking to use this would be something like this:
CODE:
So as shown above I'm thinking I should code a FailedCardReadEvent in the CardClass. But I don't know how to do that.
I also don't see how this is different than just calling a subroutine. If I have to manually raise the FailedCardReadEvent isn't that the same as calling a subroutine?
I know I'm missing something but I'm just not getting it. I've spent some time googling this morning and read a few things but I'm just not understanding how it all works.
View 6 Replies
Sep 29, 2009
my company provides security card for certain seller agents that sold our products to customers. they need to claim their point or login through PDA application by scan barcode or swipe magstripe (magnetic stripe). i had written the code for barcode scanner, and i had written the code for magstripe reader, but it didn't need any comm control at all. all i had to do was focusing on textbox that showed data had read.i had device to write data, it is MSRE206 with serial port. now i need code in VB to write data to magstripe. i didn't have any experience with comm control in VB, so i didn't know where i have to start?how to write a program in VB so that i can write data to a magnetic stripe on cards?
View 9 Replies
Jun 18, 2009
I am working on writing a program that once a magnetic strip card is swiped, the number on the card is validated against a database storing information on the user. What is the best was to get the stream from the USB swipe card reader, build by Magtek, and then just pull the 9 digits I need? I have currently been using an Excel macro that searches the Excel document, but I want to get away from this system and make it more user friendly.
View 3 Replies
Sep 27, 2011
We have the customers credit card number on file which we use simply to identify them when they swipe at our computer. The problem i'm running into is that when they swipe their card in the card reader (Magtek mini usb) it outputs the data as ASCII which looks something like %B followed by the credit card number in whatever textbox i have the program focused on. I'm sure i could just search the textbox for any 16 character number string and assume that is their card number, but i was just curious if there is some best practice to decript the ASCII output from the magnetic card reader.
View 2 Replies
Jun 15, 2010
i have to develop a software for payroll where in the employee wants to give magnetic strip cards to employees i have done teh reading part which is quite simple but my prob. is they have a Zebra P330i printer the printing on the card front and back is fine but writing the data on magnetic strip is casuing a prob. ~1 and then what i want to write but when i type this it just prints on the front of the card nothing inside the card.
View 5 Replies
Jan 31, 2011
DOes any one know how to connect my vb.net application to a magnetic card swipe reader?
im developing a automated payroll system w/ magnetic cards to input time in and time out of a employee
View 1 Replies
Jul 16, 2011
i am trying to make a program that can get information form a magnetic card reader to fill in a text box like an id and/or password. or make a new account. i am using a MagTek SureSwipe Card Reader 21040140?
View 1 Replies
Feb 15, 2012
I have created a program in Visual Basic using Microsoft Visual Studio 2010 Professional. There is a textbox that I use in the program that when the focus is placed on it will take the data encoded on a magnetic striped card such as a driver's license or any card that has this kind of data encoded magnetically. Very simple to get the data as the program takes all of it upon the swipe without having to do really anything, however, the problem is that I don't know which declaration to use when the swipe has stopped - or the last character has been entered. Currently I am using TextBox1_textChanged as my declaration, but that is called every time each character is put into the text box. When you are swiping, this is an ongoing process until the last character is put in. So if I have a magentic card with 10 characters in it, this method will be called 10 times. Is there a declaration that I can use that only fires off whent he swipe has loaded all of the characters or some kind of loop that I can incorporate?
View 2 Replies
Sep 27, 2011
We have the customers credit card number on file which we use simply to identify them when they swipe at our computer. The problem i'm running into is that when they swipe their card in the card reader (Magtek mini usb) it outputs the data as ASCII which looks something like %B followed by the credit card number in whatever textbox i have the program focused on. I'm sure i could just search the textbox for any 16 character number string and assume that is their card number, but i was just curious if there is some best practice to decript the ASCII output from the magnetic card reader.
View 1 Replies
Sep 20, 2009
I need to print a card catalog using Vb.net like this format:I'll be using values form textboxes to be printed.I've already read this thread [URL] printing such in a more easy way to understand, I need to preview it first before printing.
View 7 Replies
Jun 6, 2011
am designig softwear with vb.net 2008 and mssql server 2005 express that can print on id card. i have the query written correctly that can retrive employee info. including the picture on a report.my question is how to set the report to automatically pick the size of the small id card.
View 2 Replies
May 9, 2012
Is it possible to capture the raw signal from a WiFi card in the same way you can capture the signal from a sound card? (I already found code for working with a sound card and for drawing spectrograms) I'm wondering because it would make a cool radio-type project. I'd prefer a solution that integerates well with .net (VB or C#).My basic goal is to capture the ambient radio waves and build a primative "telescope" of sorts. Using the built in computer hardware is just the easiest way to accomplish this. If you have any other suggestions about how to accomplish this goal in a different way please post it as an answer also.
View 1 Replies
Nov 23, 2009
I want to create an application that can detect usb card reader device and when i swipe the card it should read.The below code WORKS PERFECTLY IN VB.But when i converted it to vb.net it is showing some problem.Below is the code for that.
[Code]...
View 1 Replies
Dec 23, 2009
i want to read data from smart card using card reader.i need vb.net code help as well as total process that mean what dll/exe will be needed and how can i determine that the card is inserted or ejected from card reader?
View 3 Replies
Feb 4, 2011
I'm having some issues with my MSR after it reads that data. I can find the device and read the data without any issues. When I try to do anything except message box the data, the code hangs without erroring out. What I'm trying to accomplish is that on each swipe of the MSR, a MDI child form is created. I get nothing when I try to create a new child or a new form from the DataEvent of the MSR.[code]
View 3 Replies
Oct 28, 2009
I am sending a DDE message to a client using System.Text.Encoding.ASCII.GetBytes(item) . However, before the message is actually sent, I would like to get the message coded where if the item="Ask" then item=Ask (string variable) and so on. The code is:
Protected Overrides Function OnRequest(ByVal conversation As DdeConversation, ByVal item As String, ByVal format As Integer) As RequestResult
' Return data to the client only if the format is CF_TEXT
[code]....
View 3 Replies
Jun 27, 2011
i have windows app i want to disable the sound card and enable the sound card by using command button
View 2 Replies
Nov 8, 2009
Is there a control in .NET that allows you to create boxes with input and output pins which can then be connected? A good example is Graphedit
View 1 Replies
Jul 7, 2009
how can implement smart card and private key stored in smart card by using vb.net
View 1 Replies
Mar 19, 2009
how can implement smart card and private key stored in smart card by using vb.net
View 3 Replies
Dec 21, 2009
i have to develop a ticketing package for a client...and he wants to use smart cards too...i would need to develop the package on a smart device i.e. a mobile application and will have to read the card on the device itself ...i have zeroed on the instrument from motorola. and an blue tooth connected printer to print the ticket.how to read the smart card ...i have searched a lot but have not found anything good.the smart card would contain the amt. balnce in it...and after the transaction i need to again enter the balance in the smart card...
View 7 Replies
May 5, 2011
Trying to get the magnetic track from two waypoints, but are getting error in the formula,
This is my code at the moment (produces error)
tc1.text = Math.Atan2((Math.Sin(lon1.Text - lon2.Text) * Math.Cos(lat2.Text)), Math.Cos(lat1.Text) * Math.Sin(lat2.Text) - Math.Sin(lat1.Text) * Math.Cos(lat2.Text) * Math.Cos(lon1.Text - lon2.Text))) 2 * pi)
View 7 Replies
Feb 16, 2011
Here's my work.
[URL]
How can i print the search result.
View 4 Replies
Apr 8, 2011
I have been able to do the exercise's in the first 2 chapters and half the exercise's in the third chapter of the text book (programming in visual basic 2008, Julia Case Bradley & Anita C. Millspaugh). but this one is making my head want to explode. please point me in the right direction with this.
Heres the problem. The company has instituted a bonus program to give its employees an incentive to sell more. For every dollar the store makes in a four-week period, the employees receive 2 percent of sales. The amount of bonus each employee receives is based upon the percentage of hours he or she worked during the bonus period (a total of 160 hours). The Calculate button will determine the bonus earned by this employee, and the Clear button will clear only the name, hours-worked, and bonus amount fields. A Print button allows the user to print the form. Do not allow missing or bad input data to cancel the program; instead display a message to the user.
Here's my code so far. its giving me the wrong results. i have tried many different ways,(hence the commented code) but I just dont know where im going wrong.
Public Class VB_Sales
Const BONUSHOURS As Decimal = 160
[CODE]..............
Attached image(s)
View 2 Replies
Jun 10, 2011
i want to populate a report and print it directly without the user hitting the print button.
i have this working in a diffrent project but for some reason it wont work in this one.
i get the error missing parameter, on the last line of my code
Dim paramFields As New ParameterFields
Dim paramField As New ParameterField
Dim discreteVal As New ParameterDiscreteValue
[Code].....
View 3 Replies
Aug 21, 2009
Anyway, I was just wondering if anyone knows how to do these from a simple text box. i.e. 'TextBox1'.
I'm just learning VB and it's only a simple text editor but I can't find any good sites or posts that help me in understanding how to do it. These are not really covered in any of the 'beginner' books I have acquired either.
View 1 Replies
Dec 14, 2011
My instructor told us how to print documents and how to use databases. What the instructor did not mention is how to print or print a preview of records within a DatabaseDataSet. The book "Programming in Visual Basic 2010" does not explain how to print or do a print preview of Database Source records from within a form. The only thing I was told was to test the print document first before you try to do a print preview. Within a form I used a DataGridView to add, delete, and update the database. So now all I need to do is figure out how to print the updated records from the DataGridView and how to print a preview of the records within the DataGridView. So I hope my question is clear enough to give me assistance on how I can perform these two actions. Thanks this would be a great help, and since the class is online we can get assistance from any sources that we have.
View 5 Replies
Mar 15, 2006
I'm very very very new to VB.Net and am doing a class project. I want the user to simply clicka print button and get a printout of an existing Word document. Is this possible and if so, can someone suggest the code?
View 7 Replies