Search:

Type: Posts; User: bearboss_85

Search: Search took 0.02 seconds.

  1. Replies
    1
    Views
    439

    Serial Communication/Wireless

    I've got a radio frequency transmitter and receiver which I've connected it serially using max233 as the serial data transfer. When I want to make the data transfer (only text messages), it appear...
  2. Replies
    30
    Views
    13,940

    Re: JPEG, Base 64

    Thanks.. It works... :thumb:
  3. Replies
    30
    Views
    13,940

    Re: JPEG, Base 64

    In Text2.Text contain the encoded JPEG :



    If you convert it back here :

    http://www.motobit.com/util/base64-decoder-encoder.asp

    you will get the original file back.
  4. Replies
    19
    Views
    130,153

    Re: VB - Fast Base64 Encoding and Decoding

    I've got this originally from here :

    http://www.vbforums.com/showthread.php?t=514815

    It's my thread.. LaVolpe is helping a lot.. Since it's your code, I figure out that I might want to asked...
  5. Replies
    30
    Views
    13,940

    Re: JPEG, Base 64

    I've had this :

    Runtime error '53'

    File not found.

    :ehh:
  6. Replies
    19
    Views
    130,153

    Re: VB - Fast Base64 Encoding and Decoding

    This one help a lot in my project :



    But how to make it back to a single file when we want to decode it... I know that I need to convert it to binary first so that it can be converted into one...
  7. Replies
    30
    Views
    13,940

    Re: JPEG, Base 64

    I've got this:


    Private Function ConverttoBinary(char As Byte) As String
    Dim i As Integer
    Dim x As Integer
    Dim strBinByte As String

    For i = 7 To 0 Step -1
    x = char And (2 ^ i)
  8. Replies
    30
    Views
    13,940

    Re: JPEG, Base 64

    Is this helping?
    http://www.motobit.com/tips/detpg_Base64/

    I still work on the decoding but still don't have the result.....
  9. Replies
    30
    Views
    13,940

    Re: JPEG, Base 64

    I just think of this... What are decoding function in the class module for as if I need to convert it to binary first? Do I still need to decode it first and then turn it to binary? Or I just make...
  10. Replies
    30
    Views
    13,940

    Re: JPEG, Base 64

    1. You have a JPG file, ok? (OK)
    2. You convert its bytes to a Base64 string for whatever purposes. Now it is no longer a JPG file, it is encoded text, encrypted. It is no longer what it was....
  11. Replies
    30
    Views
    13,940

    Re: JPEG, Base 64

    I'm sorry.. So I need to convert it to binary first and then I can convert the binary data into JPG file back which means I need to convert the transmitted data once again into binaries to get the...
  12. Replies
    30
    Views
    13,940

    Re: JPEG, Base 64

    I still don't have solution for the decoding function...

    Here's my code :


    Private Sub cmdDecode_Click()

    On Error Resume Next

    Dim sBase64 As String
  13. Replies
    30
    Views
    13,940

    Re: JPEG, Base 64

    So, I guess after this :
    sBase64 = myClass.Encode(sJPG)

    I should put this :
    Text1.Text = myClass.Encode(sJPG)
    to be able to see the real code..... :bigyello:

    And the decoding code will be...
  14. Replies
    30
    Views
    13,940

    Re: JPEG, Base 64

    That page talks more on how to do the testing..
    Here's some of my code :


    Private Sub cmdOpen_Click()
    cdOpen.Filter = "Joint Photo Group (*.jpg)|*.jpg|Joint Photo Expert Group...
  15. Replies
    30
    Views
    13,940

    Re: JPEG, Base 64

    Actually I found two example.. So I guess I'll show both of them to you to see... Both of them were really different from each other. Maybe the way of the software design is different.. I don't...
  16. Replies
    30
    Views
    13,940

    Re: JPEG, Base 64

    I don't think she knows very well about that. That's why I'm asking here. I'm an electrical student. I'm supposed to make the picture that is converted(base 64) can be transfered through serial...
  17. Replies
    30
    Views
    13,940

    JPEG, Base 64

    Does any one knows how to use VB to convert jpeg file format into base64. I'm still new in VB. What I've got only class module file (.cls) and I have no idea on how to use it. Thanks in advance..
    ...
Results 1 to 17 of 17



Click Here to Expand Forum to Full Width