string[] youFiles = new string[] { };
for (int file = 0; file < youFiles.Length; file++)
{
ProcessStartInfo psi = new ProcessStartInfo("gacutil",
string.Format("-i {0}", youFiles[file]));
psi.CreateNoWindow = true;
psi.WindowStyle = ProcessWindowStyle.Hidden;
psi.RedirectStandardOutput = true;
Process p = new Process();
p.StartInfo = psi;
p.Start();
p.WaitForExit();
}
Cheers ! :-)
"J. Chambers" wrote:
Quote:
Hi,
I have a simple COM+ vb 6.0 dll which is a wrapper for a .NET object. The
.NET object queries active directory and returns if the user is valid or not,
i can get the dll to work outiside of COM+ but not in it.
I have created the tlb file for the .NET object, exposed it to the COM
interop and referenced it in the vb 6.0 dll using the visual studio.net 2005
command line and installed into the global assembly cache.
The application is distributed and uses msmq - any help with this would be
much appreciated. |