|
-
Aug 23rd, 2004, 12:44 PM
#1
Thread Starter
Fanatic Member
FilePut and FilePutObject....
The PUT and GET statements were upgraded to FilePut and FilePutObject when upgraded from VB6 to VB.NET. When I try to run the program, I am prompted that FilePut is no longer valid and to use FilePutObject. When I change it and try to use FilePutObject, I get the same message only in reverse. It says that FilePutObject is not valid and to use FilePut.
Is there another way of handle the old VB6 way of PUT and GET in .NET?
Thanks!
-
Aug 23rd, 2004, 03:36 PM
#2
Thread Starter
Fanatic Member
It would appear that this was the problem....
When this was in VB6 it went like this:
Private Sub WriteDataToDisk(ByRef vntData As variant, ByVal intFile)
When converted to VB.NET it was like this:
'Private Sub WriteDataToDisk(ByRef vntData As Object, ByVal intFile As Object)
To make it work... it is now this:
Private Sub WriteDataToDisk(ByRef vntData As Object, ByVal intFile As Short)
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
|