What's the binary code for VbCrLf 
Author Message
 What's the binary code for VbCrLf

Could anybody tell me what the binary code is for a 'vbcrlf' is?

--
Ted Mount
Target Media - Document Imaging Bureau
www.targetmedia.net



Mon, 16 Feb 2004 23:11:54 GMT  
 What's the binary code for VbCrLf
Ted,

Short Answer -

Chr$( 13 ) & Chr$( 10 )

Long Answer -

Sub DumpHex( ByVal saText As String )

For iSub = 1 to Len( saText )
    Debug.Print Right( "0" & Hex( Asc( Mid( saText, iSub, 1 ) ) ), 2 ) & "
";
    If (iSub Mod 16 ) = 0 Then
        Debug.Print ""
    ElseIf ( iSub Mod 4 ) = 0 Then
        Debug.Print "  ";
    End If
Next

End Sub

Then ...

Call DumpHex( vbCrLf )

HTH,
    Phill  W.


Quote:
> Could anybody tell me what the binary code is for a 'vbcrlf' is?

> --
> Ted Mount
> Target Media - Document Imaging Bureau
> www.targetmedia.net



Mon, 16 Feb 2004 23:30:56 GMT  
 What's the binary code for VbCrLf


Quote:
> Could anybody tell me what the binary code is for a 'vbcrlf' is?

ASCII code 13 (CR) followed by ASCII code 10 (LF)

Terry Austin



Tue, 17 Feb 2004 00:32:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. vbCrLf after attachment - (not '.Body')

2. vbcrlf or vbCrLf

3. Invoking a vbCrLf in a RichTextBox (with code)

4. Removing vbCrlf's from a text file

5. Variable to BINARY 'text' 000101001

6. Proposal: alt.binaries.examples.vb4 , alt.binaries.examples.vcpp , alt.binaries.examples.java

7. Proposal: alt.binaries.examples.vb4 , alt.binaries.examples.vcpp , alt.binaries.examples.java

8. code 39 bar code

9. old code - new browser - code doesn't work

10. binary code

11. CODE: DEC2BIN.BAS (1/1) Decimal to Binary Converter

12. Q: Binary Coded Decimal to Julian Dates

 

 
Powered by phpBB® Forum Software