Link to home
Start Free TrialLog in
Avatar of MoMarvi
MoMarvi

asked on

uuencode

Is the an inexpensive, (or even better free) control to perform a uuencode? If not, can I do it manually in code(VB5)? I would rather not shell out to a dos app.

The code would be worth more points.
Avatar of mark2150
mark2150

UUENCODE is not that hard to do. I've got a MIME Decoder project on my web page with full source that does UUENCODE. Visit www.cyberchute.com/rvbus/madmark 

I'll post code if I can find it here at work...

M
Oops! Spoke too soon. Thought I had that online, guess I don't! Sorry.

Anyway, uuencode/decode is basically converting three binary bytes into four ASCII bytes. You take 24 bits (3x8) and parcel them out into four, six bit groups. Then you add an offset to make them all printable ASCII and block into lines. Is not hard and I was able to find discussion and source on web without much effort.

M
ASKER CERTIFIED SOLUTION
Avatar of mcrider
mcrider

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 MoMarvi

ASKER

Great, I'll test it at home, and award the points.
MoMarvi,

Did you try the code??


Cheers!
Avatar of MoMarvi

ASKER

I haven't tried it yet, but am taking your word on it.

I've added point for the code, as I said I would.

Let me know after you've tried it...


Cheers!