Hi there! I'm new to Vb Forums. Just introducing myself. Anyways, I am a new Vb.NET programmer and I am starting to get the drift of things. Not close to good or basic , but anyways here is my problem. I am using a MsgBox and it has vbYesNo. If they click 'Yes' I want Vb to hide the Form1 and open Form2. Here is my code
The error I get is with the & COD4.Show() . It says Expression does not produce a value . Any clue? Please don't make fun or anything I'm just starting! Thanks for your help!
Code:
Dim Answer As Long
Answer = MsgBox("Are you sure you want to make a CoD 4 CFG?", vbYesNo, "Are you sure?")
If Answer = vbYes Then
Me.Visible = False & COD4.Show()