|
-
Aug 29th, 2000, 02:15 PM
#1
Thread Starter
Lively Member
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
-
Aug 29th, 2000, 02:21 PM
#2
New Member
Are you running the program on a pc that has VB5 on it?
-
Aug 29th, 2000, 02:25 PM
#3
_______
<?>
I dont get an error....VB6 SP3
"A myth is not the succession of individual images,
but an integerated meaningful entity,
reflecting a distinct aspect of the real world."
___ Adolf Jensen
-
Aug 29th, 2000, 02:33 PM
#4
New Member
If you have anything early bound in your program and you are running the program that you compiled in VB6 on a VB5 pc you will have version problems. It has happened to me.
-
Aug 29th, 2000, 05:06 PM
#5
Thread Starter
Lively Member
Nope - it's installed on a brand new machine.
-
Aug 29th, 2000, 05:12 PM
#6
_______
<?>
If it's nothing major you can zip and email it to me and I'll run it on this machine and see what happens.
The VB5 version that is....I'll run it on VB6
Wayne
"A myth is not the succession of individual images,
but an integerated meaningful entity,
reflecting a distinct aspect of the real world."
___ Adolf Jensen
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|