<-- Previous || Up || Next -->

Char To Oem Function
Windows API Class

Public Function CharToOem( _
    ByVal vANSIString As Variant _
    ) As Variant

"ANSI Characters To OEM Characters"
Converts ANSI (Windows) characters to the OEM (DOS) character set.
Used to be known as AnsiToOem.

    CharToOem("Hawaii") = "Hawaii"
See also:
    OemToChar Function
    CharToOem (Windows API)
vANSIString: String that contains characters from the ANSI Windows character set. Function returns Null if vANSIString is Null or cannot be fixed-up to a String.
Return value: The result string contains the corresponding characters from the OEM character set.
v1.3 Change: Removed 16-bit support from this function.

Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.