Skip to sidebar Skip to content
Ipercube Technical
Jack of all trades, master of none
Date: Time: - Stardate:
Welcome, Log in by clicking  Here!
SS64
MDN
Stack
Code
GitHub
Wiki
Convert
V Studio
  • Home
  • VB Functions
    • Access Functions
    • Assembly Info
    • Color/Image Functions
    • Data Table Functions
    • Email Functions
    • Active Directory Functions
    • LDAP Functions
    • Excel Functions
    • Logging Functions
    • Source Code Retrieval
    • String Functions
    • Sql Functions
    • Object Utilities Functions
    • System and Utilities
    • Utility Forms
  • VB Classes
    • Environment Variables Helper
  • ABAP
    • ABAP Reports
    • ABAP HTTP Functions
Ipercube Technical
  • Home
  • VB Functions
    • Access Functions
    • Assembly Info
    • Color/Image Functions
    • Data Table Functions
    • Email Functions
    • Active Directory Functions
    • LDAP Functions
    • Excel Functions
    • Logging Functions
    • Source Code Retrieval
    • String Functions
    • Sql Functions
    • Object Utilities Functions
    • System and Utilities
    • Utility Forms
  • VB Classes
    • Environment Variables Helper
  • ABAP
    • ABAP Reports
    • ABAP HTTP Functions

Get Assembly Resource List (Assembly)

Returns a formatted list of all embedded resource names within the specified assembly.

This method is useful for debugging or exploring the contents of embedded resources in an assembly.

VB
    Public Function GetResourceList(Optional assembly As Assembly = Nothing) As String

        If assembly Is Nothing Then assembly = Assembly.GetExecutingAssembly()

        Dim allNames = assembly.GetManifestResourceNames()
        Dim szResourceName As String = $"Assembly: {assembly.GetName}{vbCrLf}" +
                                       $"========================= Resource names ========================={vbCrLf}"

        For Each name In allNames
            szResourceName += name + vbCrLf
        Next

        Return (szResourceName)
    End Function

Posted by ipercube


© 2026 Ipercube Design