Results 1 to 6 of 6

Thread: Error in compiling

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Dec 2002
    Location
    India
    Posts
    27

    Error in compiling

    hi,
    i am trying to use richtextbox class but i am getting this error.

    BC30466: Namespace or type 'Form' for the Imports 'System.Windows.Forms' cannot be found


    i had imported system.windows.forms and added reference as system.windows.forms.dll. But still i am getting the error.

    Could anyone help me out in resolving this problem.

    thanks
    Jasvinder

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    umm , you should add references to these two files :
    System.dll
    System.Windows.Forms.dll

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Dec 2002
    Location
    India
    Posts
    27
    hi,

    Thanks for yr reply. but the error is still there

    i had added references to
    system.dll
    system.windows.forms

    and i am still getting the error.


    looking forward for yr more help on it

    bye
    jasvinder

  4. #4
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Weird !!
    I'll tell you what I did : I created an empty proj (without any reference). Then added a form , and automatically those dll were added :
    System.dll
    System.Windows.Forms.dll
    System.Data.dll
    System.Drawing.dll

    so those seem the basic reference that might your app need . try adding the last two dlls and see if this helps !!

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Dec 2002
    Location
    India
    Posts
    27
    hi,
    Thanks for the reply.

    I had included all the dll viz
    system
    system.data
    system.drawing
    system.web
    system.xml
    system.windows.forms

    i am getting error when i am importing "system.windows.forms"
    i don't know why i am getting this error and how to debug it.


    Thanks
    Jasvinder

  6. #6
    Junior Member
    Join Date
    Mar 2003
    Posts
    16
    make sure that this file is their on your system.


    C:\WINNT\Microsoft.NET\Framework\v1.0.3705\SYSTEM.WINDOWS.FORMS.dll
    vijay pahuja
    mumbai

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width