Results 1 to 40 of 66

Thread: Open, Print and Close File I/O commands for visual basic

Hybrid View

  1. #1
    PowerPoster Arnoutdv's Avatar
    Join Date
    Oct 2013
    Posts
    6,747

    Re: Open, Print and Close File I/O commands for visual basic

    Just get the data as a byte blob with "LoadResData("SEASON1", "EP" & a)"
    Then dump it with file mode in binary
    Code:
    ' Untested air code
    Dim btData() As Byte
    Dim fID As Integer
    
    btData = LoadResData("SEASON1", "EP" & a)
    fID = FreeFile
    Open "C:\Temp\YourFile.flv" For Binary As #fID
    Put #fID,,btData
    Close #fID

  2. #2
    Fanatic Member gaouser's Avatar
    Join Date
    Mar 2022
    Location
    Turkey, down the old sides of Fatih
    Posts
    607

    Re: Open, Print and Close File I/O commands for visual basic

    yeah, Actually he can, but data corruption has an %99 chance of happening, I tried before by reading an 24 bit .BMP and sending through mscomm with inputmode=text

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