First, I don't always respond when the question has nothing
specifically to do with AutoCAD's .NET API (e.g., a general
.NET programming topic, which is the case here), or when it
has been answered before here, and can be found by just
searching the newsgroup.
For managed assemblies, you can use what I showed
in the answer that Matt says wasn't really good.
For all dlls, you can use:
#using System.Diagnostics
public class MyClass()
{
public static void ListModules()
{
foreach( ProcessModule m in Process.GetCurrentProcess().Modules )
{
Console.WriteLine( m.FileName );
}
}
}
Consider using other general .NET resources on the web
where you can get answers to _general_ .NET programming
questions immediately without having to wait.
--
http://www.caddzone.com
AcadXTabs: MDI Document Tabs for AutoCAD 2008
Supporting AutoCAD 2000 through 2008
http://www.acadxtabs.com
"perry"
wrote in message news:5561540@discussion.autodesk.com...
Matt S wrote:
> I asked a similar question a while back and didn't really get a good response, although the context of my question was restricted to .NET assemblies.
>
> http://discussion.autodesk.com/thread.jspa?messageID=5515294
Well, at least you got SOME response!
Getting nothing here.
I tried something like...
if (Autodesk.AutoCAD.Runtime.ExtensionLoader.IsLoaded("acpublish.arx"))
Utilities.prompt("\npublish loaded");
But did not work so well, Cant seem to find anything like "listarx"
Perry