How to code/encode xls file?

÷

÷ÉËÔÏÒ

I need to write function for encode and then decode any file include binary

input parameters: (inputhfilepath, outputfilepath, code)

VB/VBA. please help.
 
A

Andrew Cushen

You're describing a monumental task, here. There's no way
you're going to get an answer here- it would take dozens,
if not hundreds, of pages of code to do open ANY file
type. Every type of binary file has its own unique format.
You would need to look up the file formats for every file
type you wanted to work with - not to mention that many
companies consider their formats Trade Secrets!
There are entire applications- such as Conversions Plus-
that do nothing but what you are asking for.

I would look into purchasing an Active X control and
incorporating it into your app. Try
http://www.vbexplorer.com/VBExplorer/Store/default.asp?
lngActionId=1 and try the Data Conversion and Image
Processing links. Or maybe COnversions Plus is
programmable from VB or VBA- you'd have to look into it.

If I have misunderstood your request, I apologize- if so,
give us a little more information about what exactly
you're trying to accomplish.

-Andrew Cushen
================================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top