I have been doing some research on the net, and found many ways of doing this, but it all leaves me with the same question. Wich one is the better to use? What i want to do, is a simple yet stable configuration system for any of my projects that are done in VB.NET. So, the articles I found around the net shows configuration methodswith XML files for the app.config, or the web.config for asp.net, some of them say that the use of INI or write to the registry, are out of use or obsolete BUT are good if you …

Member Avatar
Member Avatar
+0 forum 2

Hello everyone, I am not a professional at vb.net so help me out. I have made a small program and a want to add a serial control to it.... here is my code.... Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If TextBox1.Text = "12345" And TextBox2.Text = "12345" And TextBox3.Text = "12345" And TextBox4.Text = "12345" And TextBox5.Text = "12345" And TextBox6.Text = "12345" Then Form2.Show() Me.Hide() Else MsgBox("Incorrect Serial Number") End If End Sub End Class Now, that code is all fine, but every time i open up my program, it …

Member Avatar
Member Avatar
+0 forum 7

The End.