Results 1 to 4 of 4

Thread: Properties of a VB-project

  1. #1

    Thread Starter
    Frenzied Member Lightning's Avatar
    Join Date
    Oct 2002
    Location
    Eygelshoven
    Posts
    1,611

    Question Properties of a VB-project

    I'am trying to change the properties of a VB-project, whitout opening the project. The purpose of this is:
    Set the project to NO COMPATABILTY
    Build the DLL
    Set the project to BINARY COMPATABILTY
    Build the DLL for the second time
    This has to be done for several (20) projects, in a batch file. I have everything working (I can build the DLL's with a batchfile), but I can't change the properties of the project

  2. #2
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359

    Re: Properties of a VB-project

    Originally posted by Lightning
    I'am trying to change the properties of a VB-project, whitout opening the project. The purpose of this is:
    Set the project to NO COMPATABILTY
    Build the DLL
    Set the project to BINARY COMPATABILTY
    Build the DLL for the second time
    This has to be done for several (20) projects, in a batch file. I have everything working (I can build the DLL's with a batchfile), but I can't change the properties of the project
    You could write an app that parses the .vbp file
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  3. #3
    New Member
    Join Date
    Sep 2002
    Location
    Lisboa, Portugal
    Posts
    8
    if you open the .vbp file with the notepad, you should find a line near the bottom of the file like this:

    CompatibleMode="1"

    1 means project compatibility. If you want no compatibility, set it to 0.

    now, you could do that in that batch, or one by one...

    Hope it helps

  4. #4

    Thread Starter
    Frenzied Member Lightning's Avatar
    Join Date
    Oct 2002
    Location
    Eygelshoven
    Posts
    1,611

    thnx

    thnx I'll work it out

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