SRL Archive - C#/Visual Basic Help and Tutorials

Lame error on Split() command (vb6)


Bad Processor

2008-11-16 14:40:58

I get error 13 (type mismatch) on this command:
pa = Split(et, ",", , vbTextCompare)
any help?
the rest of the sub:
Dim pa(), ct, et As String
et = ActiveForm.rtfText.Text
pa = Split(et, ",", , vbTextCompare)
ct = ""
For x = 1 To UBound(pa)
ct = ct + CStr(Chr(pa(x)))
Next x
ActiveForm.rtfText.Text = ct

Thanks.
EDIT: Found solution.
– BadProcessor

TViYH

2008-11-16 14:51:03

May I ask where you downloaded VB6? PM me the answer.

Bad Processor

2008-11-16 14:56:27

TViYH,
i can't PM you the link, as I have it on one of the 2004 *I think, may be 2005* MSDN disks my friends dad gave me, who I will not share the name of. Have it in the full suite of Studio 6.0.

– BadProcessor