Dim strconf As String = "config.txt"
strcont = "Settings"
writefile(strcont, strconf)
If Setting1() = 1 Then
strcont = "Setting=True"
writefile(strcont, strconf)
I'm calling a function to write into a text file. The first statement gets written but the statement in the if block and all subsequent if blocks for that matter don't get written. Am I doing something wrong?
strcont = "Settings"
writefile(strcont, strconf)
If Setting1() = 1 Then
strcont = "Setting=True"
writefile(strcont, strconf)
I'm calling a function to write into a text file. The first statement gets written but the statement in the if block and all subsequent if blocks for that matter don't get written. Am I doing something wrong?