Results 1 to 6 of 6

Thread: References

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2002
    Posts
    320

    References

    I'm new to VB.NET/ASP.NET. I am required to work on a maintenance project in ASP.NET using web forms.
    It has a defined an object
    Dim objDBService As New DBService.Connection()
    I get an error 'Type DBService.connection is not defined'
    and I don't see if it is a Dll/class included in this project.
    Please advice where shall I look for it if I can't find it in the references in the solution explorer.

  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    What is DBService? Is that a class you made? Or a DLL you made?

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2002
    Posts
    320
    That's what I do not know. This code is not written by me but some other programmer, I have just been given the zip file.

  4. #4
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    So you have the code for the DBService class? Then either cut and paste it into your other project or better yet compile it into a dll and then reference it. You'll need to browse to the location of the dll to add it to the list of references.

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2002
    Posts
    320
    I have already checked, I do not have it in any of the folders provided, it is being referenced couple of times. It probably contains all database connection information ..

  6. #6
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    Ok I am confused here. You have it referenced in other projects, how did you set those references if you can't set this one? Also if you select a reference in the list of references then it shows the path to the assembly in the properties dialog (lower right).

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