[SIZE=2][COLOR=#0000ff]Dim[/COLOR][/SIZE][SIZE=2][COLOR=#000000] proc [/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]As[/COLOR][/SIZE][SIZE=2][COLOR=#000000] Process = [/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]New[/COLOR][/SIZE][SIZE=2][COLOR=#000000] Process[/COLOR][/SIZE]
[SIZE=2]proc.StartInfo.FileName = [/SIZE][SIZE=2][COLOR=#800000]"C:\Program Files\IBM\SQLLIB\BIN\db2cmd.exe"[/COLOR][/SIZE]
[SIZE=2]proc.StartInfo.Arguments() = [/SIZE][SIZE=2][COLOR=#800000]" connect to myDB"[/COLOR][/SIZE]
[SIZE=2]proc.StartInfo.WindowStyle = ProcessWindowStyle.Hidden[/SIZE]
[SIZE=2]proc.Start()[/SIZE]