Click here to Skip to main content
15,911,132 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
I am using messagingtoolkit for generating the QR but now facing some problem.

The problem is that i generate the Qr code but not as VCard. Its usually a string.
What's the track do store qrcode as vcard

QRCodeEncoder enc = new QRCodeEncoder();
enc.Encode("Name :" +txtname.Text+ "Country" +txtcoun.Text)
It gives me Name :aaa Country :India
But i want result as

Item       Text<br />
Name       aaa<br />
Country    India<br />
Posted
Updated 22-Oct-13 23:00pm
v2
Comments
MCY 23-Oct-13 7:22am    
I am not familiar with details of QR code but does \n work? i.e. enc.Encode("Name :" +txtname.Text +"\n" + "Country" +txtcoun.Text);
ajitkmr09 24-Oct-13 1:51am    
Its not working sir.
Thanks for giving such suggestion.
So, you need a Tabular format?

To create QR Code for vCard, here's a simple guide with demo codes.
 
Share this answer
 
Not very familar with qr code creation using messagingToolkit, but you can check these two posts.

http://stackoverflow.com/questions/3339202/how-to-create-qr-code-image-with-company-logo
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900