CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 7 of 7

Thread: base64

  1. #1
    Join Date
    Apr 1999
    Location
    Raleigh, North Carolina USA
    Posts
    25

    base64



    Hi,

    how can I convert a string (or a binary file) to base64 ?


    -Michael

  2. #2
    Guest

    Re: base64

    How I do it?


  3. #3
    Join Date
    Oct 1999
    Location
    CA
    Posts
    91

    Re: base64

    I'm somewhat confused here...
    * What characters are used in the Base64 character set? This is vital if you want to dispaly your conversion.

    * Are you using a numeric string, or a string with any 'ol thing in it? (like, for instance, would you want to convert "Hello" to base64? Cause, I don't think it can be done.

    * What do you need base64 for? This isn't important. I just can't think of any possible use for it.

    * Convert a binary file? I don't understand what you want. Cause no matter what, files are still binary data.

    Just a confused fellow programmer,

    BrewGuru99

    Brewguru99

  4. #4

    Re: base64

    http://www.freevbcode.com/ShowCode.Asp?ID=109. This is a .dll to send e-mail with attachments. Look at the functions within the code that convert the attached file to Base64.




  5. #5
    Guest

    Re: base64

    asdfasdf


  6. #6
    Join Date
    May 1999
    Location
    Fort Worth Texas
    Posts
    614

    Re: base64

    One thing that I want to be able to do is to place binary data into a XML document. Like on the server create a xml document with say a gif file in it, send it to a client and pull out the gif. What I don't understand how to do is decode on the client side since I cannot find a way to implement Base64 with script language. Any suggtions?


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured