Skip to content

Chilkat Tech Notes

Chilkat Software Tech Notes

    November 20, 2008

    VB6 Variant vs Byte Array

    In Visual Basic 6.0, a Variant containing a byte array is different than a byte array. For example, examine this code: ‘ Assume mime is a ChilkatMime object… Set mimePart = mime.GetPart(1) thefile = FreeFile() ‘Get the attachment filename FileName = mimePart.FileName ‘Get the attachment Dim mBody As Variant mBody = mimePart.GetBodyBinary If Len(mBody) > 0 Then Open FileName For […]

    Uncategorized 0 1 min read

    Blogroll

    • * Release Notes
    • Chilkat Binary Encodings
    • Chilkat Character Encodings
    • Chilkat Home
    • Example Code
    • Generate Chilkat Code from Postman
    • How to Determine FTP Connection Settings
    • How To Register ActiveX DLLs
    • MSVC Runtimes for .NET Assemblies
    • Never Handle Non-Text Binary Data as a String
    • Online XML Signature Validators
    • Reference Documentation
    • SOAP WSDL to Chilkat Code
    • Socket Programming Must-Know Concepts
    • StackOverflow (Chilkat Software)

    Tags

    ActiveX asp async asynchronous C# callbacks Delphi email Encryption error messages events exchange server FTP GMail HTTP IMAP IOS Java Linking MIME oauth2 Office365 pfx PHP pop3 port-forwarding regsvr32 release notes RSA SFTP smartcard SMTP socket SSH SSL TLS tunnel upload vb6 VBScript VC++ x64 xades XML zip

      Copyright ©2025 Chilkat Tech Notes . All rights reserved. Powered by WordPress & Designed by Bizberg Themes