For the DSR files, the problem lies in something on the machine. If a dsr file is checked in from one machine and checked out on another, it won't compile without the GUI. We've found the culprit to be the "Typeinfocookie" setting in the dsr file. So I wrote a C# project that gathers all of the typeinfocookie information prior to checkout of files, and another that sets it after checkout of files before compilation. There are a few other workarounds I wrote in C# for VB automated builds, such as fixing the freaking references to GUID's that VB likes to change... VB SUCKS (old VB at least)!!!! If you want any of this, let me know and I'll shoot you a copy.
Eric <>< ----- Original Message ---- From: Richard Gavel <[EMAIL PROTECTED]> To: nant-users@lists.sourceforge.net Sent: Friday, January 5, 2007 9:28:42 PM Subject: Re: [NAnt-users] Compiling VB6 Web Project We had a similar issue due to a lot of VB6 webclass projects. I was forced to write a NAnt custom task that would invoke a WinBatch script that performed the necessary GUI interactions with the VB6 IDE. Further, since I use CruiseControl and a service does not have access to the console, I had to create a local system based service to interact with WinBatch and communicate with it via .NET remoting. ------------------------------ Message: 5 Date: Thu, 4 Jan 2007 12:23:24 -0600 From: <[EMAIL PROTECTED]> Subject: [NAnt-users] Compiling VB6 Web Project To: <nant-users@lists.sourceforge.net> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="us-ascii" I have a couple of VB6 Web Projects (the ones with .dsr files) and I can't seem to get them to compile on the command-line. Has anyone been able to do this? Is there some trick I'm missing? The only thing I can seem to find on the subject is this from Microsoft: http://support.microsoft.com/kb/190165 but my .DCA files and .DSR files wind up in the same directory (we put .DSR files in a folder called Designer and .cls/.bas files in a directory called DllSource). Compiling from the vb6 gui works fine, but obviously prevents us from automating the build. TIA -Dan ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users ____________________________________________________________________________________ Yahoo! Music Unlimited Access over 1 million songs. http://music.yahoo.com/unlimited ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users