Hi,
I don´t know why Intellisense is broken on your IDE but it works for me and
the code is:
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
Dim objAssembly As System.Reflection.Assembly
Dim objAssemblyName As System.Reflection.AssemblyName
objAssembly = System.Reflection.Assembly.GetExecutingAssembly()
For Each objAssemblyName In objAssembly.GetReferencedAssemblies()
MessageBox.Show(objAssemblyName.ToString)
Next
End Sub
--
Best regards,
Carlos J. Quintero
MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com
<uf*********@yahoo.com> escribió en el mensaje
news:11**********************@z14g2000cwz.googlegr oups.com...
Thank you Carlos for your reply....
I am trying to read the project's references at runtime and populate a
listview with information about the reference (Name, Full Path, and
Date Modified). I tried
System.Reflection.Assembly.GetReferencedAssemblies , but
GetReferencedAssemblies was not available in intellisense.
I'm really struggling with this, do you think you could post some code
that will read each of the project's references and just display the
information in a message box? I would be so grateful.
Thanks.