liziskandar
Member
Hello ,
First of all, sorry if I may trouble any of you.
I wanted to use this class in vb.net, so, I upgrade this class as after searching many hours online, I cannot find any appropriate example of backing up or restoring ms access database.
I've attached the code in vb 6 and also the upgraded (using VB.NET 2003) code.
But after upgrading there are some issues that I'm unable to fix and figured out as I'm just learning vb.net.
Could anyone tell me what should be done in order to fix the issue please? I have read the msdn help but I still couldn't understand how to put the arguments & function properly.
for example,
"Get#, Put# Functions In Visual Basic 6.0, the Get# and Put# functions were used to read and write data to a file.
In Visual Basic .NET, these are upgraded to the FilePut and FileGet functions. When these functions are used to pass dynamic arrays or strings to a file opened in Random mode, a two-byte length descriptor is added, resulting in a different file length.
What to do next
Again, a million thanks for any help in advance.
First of all, sorry if I may trouble any of you.
I wanted to use this class in vb.net, so, I upgrade this class as after searching many hours online, I cannot find any appropriate example of backing up or restoring ms access database.
I've attached the code in vb 6 and also the upgraded (using VB.NET 2003) code.
But after upgrading there are some issues that I'm unable to fix and figured out as I'm just learning vb.net.
Could anyone tell me what should be done in order to fix the issue please? I have read the msdn help but I still couldn't understand how to put the arguments & function properly.
for example,
"Get#, Put# Functions In Visual Basic 6.0, the Get# and Put# functions were used to read and write data to a file.
In Visual Basic .NET, these are upgraded to the FilePut and FileGet functions. When these functions are used to pass dynamic arrays or strings to a file opened in Random mode, a two-byte length descriptor is added, resulting in a different file length.
What to do next
- To achieve the same results as in Visual Basic 6.0, use the optional ArrayIsDynamic argument to the FilePut and FileGet functions. (How to use the ArrayIsDynamic & where to put it?)
- When opening a file in Random mode, use the StringIsFixedLength argument."
Again, a million thanks for any help in advance.
Last edited: