Search results

  1. D

    Question Dynamically creating database

    I am using vb .net 2003 and sql 2000,and I am trying to create a database using textboxes to name them and I keep getting syntax errors with this code. Dim cmd As New SqlCommand(strSQL, cn) Dim res As String res = TB1.Text Dim strSQL As String = _ "IF...
  2. D

    invalid parameter

    It was the path to colorbars.I moved them to a different folder and it worked.
  3. D

    invalid parameter

    It was copied from the ide but the code is right in the editor. I don`t know what happened to it here. The full msg is:An unhandled exception of type 'System.ArgumentException' occurred in system.windows.forms.dll Additional information: Invalid parameter used. When I step into the debugger I...
  4. D

    invalid parameter

    Can anyone tell me what causes this to throw an exception:'System.ArgumentException` Imports System.Drawing Public Class Form1 Inherits System.Windows.Forms.Form #Region " Windows Form Designer generated code " Public Sub New() MyBase.New() 'This call is required by the Windows Form...
Top Bottom