CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2004
    Posts
    1

    Question Namespace in VB.Net

    I have created an enterprise template project MCMSystem under my Visual basic .net solution. Under which I have various projects such as DataAccess Which has a class patient and others. I have created this class under the namespace MCMSystem.DataAccess. Now when I want to access this class from another project in the solution I have to give the import statement as imports DataAccess.MCMSystem.DataAccess.Patient and not as MCMSystem.DataAccess.Patient

    How can I resolve this.

  2. #2
    Join Date
    Jul 2003
    Location
    Singapore
    Posts
    1,822
    [QUOTE=hhpatanwala] I have created this class under the namespace MCMSystem.DataAccess.QUOTE]
    this class created under the namespace is an internal class right?(pardon me, but i am asking from the C# perspective.)
    R. Thomas
    "Be anxious for nothing, but in everything by prayer and supplication, with thanksgiving, let your requests be made know to God; and the peace of God, which surpasses all understanding, will guard your hearts and minds through Christ Jesus."Philippians 4:6-7
    "Rejoice always, pray without ceasing, in everything give thanks; for this is the will of God in Christ Jesus for you."1Thess. 5:16-18

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

Featured