Нужна помощь с открытием и закрытием файлов в VB.NET.
Greetings, I'm a old time VBA and Basic programmer. I need a assist with opening and closing files in VB.NET. The CSV and the code is below. Can someone assist me with converting this to VB.NET. I will appreciated it. Thanks "James","ll","ddd",473.57,12700.00,0.03,,,"jan" "Frank","rr","lll",392.15,8600.00,0.04,"GTD","o","feb" "Nikola","C","ff",366.55,6900.00,0.05,,,"march" "Harrison","df","rr",360.76,6900.00,0.05,,,"aug" "Mark","tm","gg",358.60,8200.00,0.04,,,"julu" open "C:\Users\john\Desktop\data5.txt" for input as 1 open "C:\Users\john\Desktop\output.txt" for output as 2 Input #1,name1,code1,code2,num1,num2,num3,num4,scode1,scode2,date1 'Calcuations section write #2,Name1, Evaluation close 1 close 2
Что я уже пробовал:
Я пытался
FileOpen(filenum, "data5.txt", OpenMode.Input)
[no name]
https://msdn.microsoft.com/en-us/library/system.io.file.open(v=против 110). aspx