| |
   
Morovia.com Home | Fonts | Components | Labeling | Library | Order | Forum
  Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
Barcode ActiveX Control
 Community Forum : Barcode ActiveX Control
Subject Topic: How to: save barcode to a file. Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
vibhu
Newbie
Newbie


Joined: June 21 2006
Location: United States
Posts: 2
Posted: June 21 2006 at 9:13am | IP Logged Quote vibhu

Hi,

Can someone please advice on how to save the barcode to a file from the ASP code. using the ActiveX control.

Thanks,

Vibhu 

Back to Top View vibhu's Profile Search for other posts by vibhu
 
glitch
Admin Group
Admin Group
Avatar

Joined: January 25 2003
Location: Canada
Posts: 280
Posted: June 21 2006 at 11:14am | IP Logged Quote glitch

do you want to save the barcode image (JPEG, BMP ...) to the disk or save the barcode file (and load it later)? If you are looking for exporting the image to a disk file, use the ExportImage method. For the latter, see the documentation on the Save method.

Dim objBarcode

Set objBarcode = Server.CreateObject("Morovia.BarcodeActiveX")

...

objBarcode.ExportImage("c:\test.jpg", 1)

 

Back to Top View glitch's Profile Search for other posts by glitch Visit glitch's Homepage
 
vibhu
Newbie
Newbie


Joined: June 21 2006
Location: United States
Posts: 2
Posted: June 21 2006 at 11:39am | IP Logged Quote vibhu

Hi,

Thanks for the reply. I want to save the image to a folder and load it later. I saw the save method. it just gave the syntax on how to save.

Is that enough??

Thanks a lot,

Vibhu

Back to Top View vibhu's Profile Search for other posts by vibhu
 
glitch
Admin Group
Admin Group
Avatar

Joined: January 25 2003
Location: Canada
Posts: 280
Posted: July 11 2006 at 3:22pm | IP Logged Quote glitch

Assume your barcode object is called bar_obj, you can save the object by calling

bar_obj.Save("c:\my_barcode.mbx")

Later on you can load by calling

bar_obj.Load("c:\my_barcode.mbx")

Back to Top View glitch's Profile Search for other posts by glitch Visit glitch's Homepage
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 3.2656 seconds.