Results 1 to 3 of 3

Thread: Build errors on 'DBNull', 'Math', 'Chr', etc......

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2002
    Posts
    2

    Build errors on 'DBNull', 'Math', 'Chr', etc......

    Ok,

    We are trying to move a project from a folder called 'proj2' to a folder called 'proj'. Both folders are in the exact same root folder.

    The project worked just fine under 'proj2', but has met the max number of build errors in the 'proj' folder.

    Here are some examples:

    alpha(10) = Chr(10 + 64) <-- "Name 'Chr' is not declared."
    Dim blue = RGB(219, 229, 253) <-- "Name 'RGB' is not declared."
    "Name 'vbCrLf' is not declared."

    There are more including DataSet having an error.

    The weird thing is that we have a reference to System.Data in the project!

    The next weird thing is all these things worked no hitch before.

    Any ideas?

  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    What kind of project is it?
    Are these locations on the same computer?

    Try resetting all the references.

    Try the 'Fix an application' wizard in the .NET Framework admin tools.

    Very, very strange.

  3. #3
    Fanatic Member
    Join Date
    Sep 2002
    Posts
    518
    Did you rename any of the *files* inside the directory? The IDE does wierd things when you mess with a project's filenames outside of the environment and then try to load the project.

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