Search   

Friday, February 10, 2012

Support » Support Forum

Register  Login

 Menu  
 
    

 Welcome!  
 


Welcome to the NDO support forum!

kreis.gif Please register/login at the site if you want to post a thread. We sometimes copy support mails of common interest to the forum. They appear with anonymous sender.
kreis.gif Please post your messages in English language if possible. You can do your posts also in German, we will translate your post and our answer so that all users of the forum can read your posts.
kreis.gif The forum software requires that javascript is enabled.
kreis.gif Please do not insert licence information or licence keys in forum posts.
kreis.gif If you know a good answer to a post of another user, feel free to reply!
kreis.gif The forum is monitored. We reserve the right to remove posts we consider not to be useful for other forum users.

   Print   

      
 NDO Support Forum  
 
SearchForum Home
  NDO-Forum postings in english please, if possible.  Developing with NDO  QueryHelper...
 Re: QueryHelper
 
 2/2/2007 10:59:07 AM
Mirko
109 posts
5th


Re: QueryHelper

If you add a reference to an assembly, you can choose, if you pick up the assembly undert the tab "Projects" or the tab "Browse". In the first case you get a project reference and VB uses the source code of the given project for intellisense and for the static compiler checks. Since the QueryHelper classes don't exist in the source code, VB can't find it. In the second case you get an assembly reference and VB uses reflection to examine the compiled assembly. Thus VB is able to find the QueryHelper classes. The drawback in the second case is that you can't distiquish between the Debug and Release versions of your assembly. We recommend to compile both the Debug and Release builds into the same directory.

C# treats project references a little bit different. While intellisense is also based on the source code, the C# compiler checks always use reflection. So, if you type a QueryHelper expression, intellisense behaves as if the QueryHelper doesn't exist. But the expression will be compiled without errors.

Best Regards:
Mirko

  NDO-Forum postings in english please, if possible.  Developing with NDO  QueryHelper...
  SearchSearch  Forum HomeForum Home