Need help with VB6 Task

Hi,
I have the below given proj file in C:\Program Files\MSBuild\ExtensionPack\MyProjects\ Directory on my build server.
There are two problems / questions I need resolved
1. If I place the proj file elsewhere outside the program files directory, what path should TPath have. For example if I need to save hte below given test.proj file at c:\MyCompany\Projecgts\Test.proj.
2. CruiseControl.net gives me this error with the below given proj file
C:\Program Files\MSBuild\ExtensionPack\Samples\test.proj (15,5): error: Non-zero exit code from VB6.exe: 1

Hi Mike,
Just one more thing. How do I update the version number of the vb6 project so that I may handle the versioning from CC.net itself. Is there a task or an exe already available which could help me do that?

Hi Mike,
I tried to do as you've suggested above. I have been somewhat successful too. Because it does replace the string as requested. However, it adds some invalid characters at the beginning of the file. And I dont think I understand why.
This is the proj file:
*********************************************************************************************
<Project ToolsVersion="3.5" DefaultTargets="Default" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\ExtensionPack\MSBuild.ExtensionPack.tasks"/>
<ItemGroup>
<ProjectsToBuild Include="C:\CI\builds\MyCompany\Clients\DM\project1.vbp">
<OutDir>c:\Output\</OutDir>
</ProjectsToBuild>