HighTechTalks DotNet Forums  

438 Object doesn't support this property or method

Dotnet Distributed Applications microsoft.public.dotnet.distributed_apps


Discuss 438 Object doesn't support this property or method in the Dotnet Distributed Applications forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
J. Chambers
 
Posts: n/a

Default 438 Object doesn't support this property or method - 10-19-2007 , 10:47 AM






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.

Reply With Quote
  #2  
Old   
Nikolay Podkolzin
 
Posts: n/a

Default RE: 438 Object doesn't support this property or method - 12-11-2007 , 04:22 AM






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.

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.