huntercobrax Posted July 23, 2004 Posted July 23, 2004 [/code]Public Sub SaveRecord() uData.Name = frmMain.txtName.Text Put #gFileNum, gCurrentRecord, gPerson End Sub[VB/] The error is 'Put' is not declared. Do i have to import something, or is 'Put' not featured in .NET? If its not what replaces Put? Quote
huntercobrax Posted July 23, 2004 Author Posted July 23, 2004 It doesnt seem like 'Get' is supported in .NET either, what is supposed to replace these methods? Quote
keitsi Posted July 23, 2004 Posted July 23, 2004 Take a look at FileStream and StreamWriter on MSDN. Most of that kinda stuff are in seperate classes now and should be used instead of legacy VB calls. http://www.xtremedotnetalk.com/showthread.php?t=79977&highlight=binary+file Quote BS - Beer Specialist
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.