From: "bao song" <[EMAIL PROTECTED]>
> Hi all,
> i am trying to wirte a script for automating visual C++ builds, i checked
> both the OLE/COM Object Viewer and OLE Browser, seemed that there is no such
> entry. Of course, followed the general pattern as:
>
> eval {$app = Win32::OLE->GetActiveObject('MSDev.Application')};
> die "MSDev not installed" if $@;
> unless (defined $app) {
> $app = Win32::OLE->new('MSDev.Application', sub {$_[0]->Quit;})
> or die "Oops, cannot start MSDev";
> }
> $app->{'Visible'} = 1;
> $app->Documents->Open(...);
>
> i started up the Visual C++ successfuly, but, i filled the '
> MSDev.Application' just by guess, and i could not get full documentation
> about the object, thus i've no idea what i can do with it. would someone
> help on:
> 1. tell me the entry for Visual C++ in either OLE/COM Object Viewer or OLE
> Browser
Try to
start the regedit.exe,
go to HKEY_CLASSES_ROOT\MSDev.Application\CLSID
copy the default value of that key
go to HKEY_CLASSES_ROOT\CLSID\<that value>\LocalServer32
copy the path to the executable specified in the default value of
that key
open that executable in "OLE/COM Object Viewer"
> or
> 2. where can i get the full documentation on the object
> thanks in advance!
Try http://msdn.microsoft.com
HTH, Jenda
===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed
to get drunk and croon as much as they like.
-- Terry Pratchett in Sourcery
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/