• /r/visualbasic
  • Encrypt Connection String

    Hi there, so I am looking to try and encrypt my connection string in the app.config OR hard coding would be sufficient. I have no idea how to do this. I have done quite a bit of research and there have been code snippets given like : Dim config As System.Configuration.Configuration = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLev el.None) Dim […]

  • /r/visualbasic
  • Why wont my code work?

    When I get to my first set of choices and I choose one it doesnt do what I think I told it to do: If userinput = “A” Or userinput = “a” Then hasLightsaber = True If userinput = “D” Or userinput = “d” Then hasHelmet = True If hasLightsaber = True Then Console.WriteLine(“You picked […]