Link to home
Start Free TrialLog in
Avatar of kmorris1186
kmorris1186

asked on

TIFF files and VB 6.0

At work, we have a program that reads a barcode from a scanned image, and save this barcode in an XML file.  Well, sometimes the image quality is not so well, and the program cannot read the barcode.  I wan wanted to make a manual work around program.  Type in the image name, my program will display it, you type in the Value of the barcode (it is printed under the barcode) and then it will save it in the XML file.

This is where i run into my problem.  
1st, i dont know how to read TIFF files.  (any controls? preferably free, if there are any)
2nd, is there is easy way to read an XML file in VB6.0?  i know there is in .Net, but i do not know .Net yet. (free as well, if possible)

Thanks!
ASKER CERTIFIED SOLUTION
Avatar of Sethi
Sethi
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of kmorris1186
kmorris1186

ASKER

that is a lot of information! thanks!

it will take a day or so to work on this.  I am also trying to get the lisence information for a control that our developers use (Pegasus ImageXpress), but i dont think our deveopment team trusts me with it.

I will get back to you.
ok, the Kodak Image thing worked!  I have tried this before, but i didnt know all the files i needed to copy.  I will play around with the Kodak thing to figure out how to get it work in VB now.

I will keep you updated
Best of luck.
ok i have the Kodak Image control down packed now.

Having problems with the Internet Controls.

Lets say i have an XML file "c:\861C900PC.xml" and i want to open this.
How would i go about doing this?  My MSDN does not have any help on this subject.

thanks!
If this file is opeing with normal instance of IE on your system then get an instance of Internet control on your VB form and pass the URL in navigate2 method. To set the refernce to Intenet Browser control go to Components.
actually, i dont think this way will work.  I need to open the XML file, and then Make changes, and Save it.

Right now i am working on it using a FSO, but i am not good at string manipulation.  (find data in a string, and grab only portions of it, etc.)  So i am having problems doing this.

I will go ahead and close the question this yours answer did help me with the Image solution.
i am actually using DreamWeaver to edit this file manually right now.

I think i will stick with the FSO unless you have a better idea
I didn't understand your XML problem. Infact I am still confused. You want to edit XML document? If that is the case then Dreamweaver is one of the best. Also have a look at XMLSpy. This is an extremely good software.
I do want to edit it.  But right now, i am opening it up in Dreamweaver and making the changed i need to make.  I want to make a program that will open it up, and make the changes i need to make.

Example:

----- begin XML File -----
<BatchImageList>
      <Image ImageTitle="3C810050007.000" ImageName="\\estfile\MCPData\Images\Stacks\SMA03C81005\Bitonal\3C810050007.000" BarCode="0856772">
</BatchImageList>
------ End XML File -------

If one of our programs doesnt read the Barcode from that Image (hence, the ImageName Path)  It will make BarCode="0".  This is making a lot of problems at work.  All i need my program to do is get that ImageName, Display the Image, and allow the user to look at the image and enter the Correct Barcode Data, then the program will write the correct information into that Barcode section.

Again, right now i am trying to open the XML as plain text with a FSO. This is a lot more work, if i could open it up as a XML, it should save a lot of time, and code.

Let me know if you need any more details.
      

I think what you are doing is the best. If I get hold of some ActiveX control in future, I will definately revert back to this thread.
Thanks