.Net Framework 4.0.30319 SP1Rel
vb.net 2010 10.0.40219.1 SP1Rel

I have searched on the web for this, but all I can find is how
to use a command window from VB.net, nothing on how to not
get the window. I need to not have the window come up.

This problem is both when running debug in the IDE and after installing
with the .MSI.

When one of the command windows comes up it has
"file:///C:/ProjsVB.net/ImportCSV/ImportCSV/bin/Debug/ImportCSV.EXE"
as the title on the window. This is the .exe of the program I am
running. Nothing can be typed into the window.

One of the places it opens a command window is on the cn.Open()
statement below.

Code:
   Dim cmd As New SqlCommand
    Dim cn As New SqlConnection(gConnectionString)
    Dim dr As SqlDataReader

    Try
      cmd.Connection = cn
      cmd.CommandText = "dbo.spSelectCurrent"
      cmd.CommandType = CommandType.StoredProcedure
      cn.Open()
      dr = cmd.ExecuteReader
It also happens on this sleep statement, with a the same title on the
window:
Code:
      AboutdlgNew.Show()
      Application.DoEvents()
      Thread.Sleep(3000)
      AboutdlgNew.Close()
      AboutdlgNew.OKButton.Visible = True
By the way, I started this program as a new project in a new solution
and added 3 forms from an existing project: Copied files into the project
folder, Show All Files, right-click and Include. Then I had to define
Public ProgressfrmNew as New Progressfrm in order to use a form. I
doubt this is related to the problem I am having. The problem occurs
in a module, not a form.

Thanks in advance.