Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


Display barcodes


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-26-2008, 04:24 AM
Junior Member
 
Join Date: May 2008
Posts: 32
Question Display barcodes

I want to output various barcodes on screen (eg EAN 128, UPC-A or Code 39)... does Basic4ppc have support for that sort of functionality?
Reply With Quote
  #2 (permalink)  
Old 05-26-2008, 06:30 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,199
Default

There are special fonts you can use.
This one for example: Free Barcode Font - Code 39 - Not a demo, COMPLETELY free
You should first copy FREE3OF9.ttf to \Windows\Fonts.
Afterwards you should change the font of a textbox or label (flb is a FormLib object):
Code:
Sub App_Start
    Form1.Show
    flb.New1("form1",B4PObject(1))
    TextBox1.FontSize = 40
    flb.ChangeFont("textbox1","Free 3 of 9")
    TextBox1.Text = "*2141*"
End Sub
Reply With Quote
  #3 (permalink)  
Old 05-26-2008, 06:52 AM
Junior Member
 
Join Date: May 2008
Posts: 32
Default

thanks.
should have mentioned I'm after doing this on a Smartphone, and UPC-A is probably the most important.
There are some barcode DLLs but I didn't want to pay the $400+ if I could avoid it (I want to make a free app!)
Reply With Quote
  #4 (permalink)  
Old 05-26-2008, 07:02 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,199
Default

You can probably use a font like this one: http://www.barcode-1.net/pub/russada...ware/upc-a.zip
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Display maps klaus Share Your Creations 4 11-11-2008 06:05 PM
camera + barcodes Walter Forum Discussion 3 10-11-2008 12:30 PM
display Chinese font Vito Questions & Help Needed 1 12-11-2007 12:56 PM
display resolution VGA 480*640 BerndB Basic4ppc Wishlist 7 07-03-2007 03:29 PM
New Basic4PPC site does not display correctly on PDA RandomCoder Bug Reports 1 05-05-2007 03:15 PM


All times are GMT. The time now is 03:44 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0