I am new in vb 2012 and when I tried to apply VB6 source of the two differ, I've been searching in google how to use this source vb 2012 but I do not find it, anyone there who can help me how to use this source in vb 2012, the following source code is
Dim FileTeks As String
FileTeks = App.Path & "\conn.ini"
UserName = Trim(txtUserName.Text)
Pass = Trim(txtPassword.Text)
Server = Trim(txtServer.Text)
Open FileTeks For Output As #1
Print #1, Enkrip(Server, 4)
Print #1, Enkrip(UserName, 4)
Print #1, Enkrip(Pass, 4)
Close #1
thanks for the help