I've just installed VB6 SP3 - this piece of code worked fine in VB5 but now I get:

Run-time error 458
Variable uses an Automation type not supported in Visual Basic

on the first Get command.

Any ideas?

Simon


filePath = "motd" 'use this to test at home
If Len(Dir(filePath)) <> 0 Then
Open filePath For Binary As #1
Get #1, , msgschoolname
Get #1, , msgschooldesc
Get #1, , countdowntext
Close #1