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

Threaded View

  1. #5
    Join Date
    Dec 2012
    Posts
    38

    Re: How to save a stdPicture that is an UDT field

    Honestly I've had some troubles during the translation from English to Italian

    Now reading again I think I've understood, but however I don't know how to do.

    Code:
        Dim arr() As Byte
        
        ReDim arr(FileLen("C:\tramonto.jpg")) As Byte
        Open "C:\tramonto.jpg" For Binary As #1
        Get #1, , arr()
        Close #1
    With the code above I hold the image into an array of bytes. Now, what have I to do?
    Last edited by Cereal Killer; March 5th, 2013 at 11:18 AM.

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