Unable to find type [Drawing.Image]: make sure that the assembly containing this type is loaded


  1.    16 Aug 2007 #1
    IT Staff Guest

    Unable to find type [Drawing.Image]: make sure that the assembly containing this type is loaded


    what must i always do to avoid this common error :

    make sure that the assembly containing this type is loaded ?




      My System SpecsSystem Spec

  2.    16 Aug 2007 #2
    Oisin Grehan Guest

    Re: Unable to find type [Drawing.Image]: make sure that the assembly containing this type is loaded


    On Aug 16, 1:11 am, "IT Staff" <jkk...@hotmail.com> wrote:
    > what must i always do to avoid this common error :
    >
    > make sure that the assembly containing this type is loaded ?


    PS> [void][reflection.assembly]::loadwithpartialname("system.drawing")

    - Oisin

      My System SpecsSystem Spec

  3.    16 Aug 2007 #3
    RichS Guest

    Re: Unable to find type [Drawing.Image]: make sure that the assemb


    You can also use the Resolve-assembly cmdlet from the PowerShell community
    extensions
    --
    Richard Siddaway
    Please note that all scripts are supplied "as is" and with no warranty
    Blog: http://richardsiddaway.spaces.live.com/
    PowerShell User Group: http://www.get-psuguk.org.uk


    "Oisin Grehan" wrote:

    > On Aug 16, 1:11 am, "IT Staff" <jkk...@hotmail.com> wrote:
    > > what must i always do to avoid this common error :
    > >
    > > make sure that the assembly containing this type is loaded ?

    >
    > PS> [void][reflection.assembly]::loadwithpartialname("system.drawing")
    >
    > - Oisin
    >
    >

      My System SpecsSystem Spec

  4.    16 Aug 2007 #4
    Oisin Grehan Guest

    Re: Unable to find type [Drawing.Image]: make sure that the assemb


    On Aug 16, 8:44 pm, RichS <Ri...@discussions.microsoft.com> wrote:
    > You can also use the Resolve-assembly cmdlet from the PowerShell community
    > extensions
    > --
    > Richard Siddaway
    > Please note that all scripts are supplied "as is" and with no warranty
    > Blog:http://richardsiddaway.spaces.live.com/
    > PowerShell User Group:http://www.get-psuguk.org.uk
    >
    >
    >
    > "Oisin Grehan" wrote:
    > > On Aug 16, 1:11 am, "IT Staff" <jkk...@hotmail.com> wrote:
    > > > what must i always do to avoid this common error :

    >
    > > > make sure that the assembly containing this type is loaded ?

    >
    > > PS> [void][reflection.assembly]::loadwithpartialname("system.drawing")

    >
    > > - Oisin- Hide quoted text -

    >
    > - Show quoted text -


    Which I wrote, ironically. :-)

    - Oisin

      My System SpecsSystem Spec

  5.    16 Aug 2007 #5
    Oisin Grehan Guest

    Re: Unable to find type [Drawing.Image]: make sure that the assemb



    On Aug 16, 8:44 pm, RichS <Ri...@discussions.microsoft.com> wrote:
    > You can also use the Resolve-assembly cmdlet from the PowerShell community
    > extensions
    > --
    > Richard Siddaway
    > Please note that all scripts are supplied "as is" and with no warranty
    > Blog:http://richardsiddaway.spaces.live.com/
    > PowerShell User Group:http://www.get-psuguk.org.uk


    and alternatively, using pscx, there is a GAC: drive. Calling invoke-
    item against any of the paths -- wildcards also work -- will load the
    assembly(ies). This is handy for batch loading of related assemblies.
    e.g.

    PS > ii gac:system.workflow*

    GAC Version Location
    --- ------- --------
    True v2.0.50727 C:\WINDOWS\assembly\GAC_MSIL
    \System.Workflow.ComponentModel\3.0.0.0__31bf3856ad364e35\System.W...
    True v2.0.50727 C:\WINDOWS\assembly\GAC_MSIL
    \System.Workflow.Activities\3.0.0.0__31bf3856ad364e35\System.Workf...
    True v2.0.50727 C:\WINDOWS\assembly\GAC_MSIL
    \System.Workflow.Runtime\3.0.0.0__31bf3856ad364e35\System.Workflow...
    True v2.0.50727 C:\WINDOWS\assembly\GAC_MSIL
    \System.WorkflowServices\3.5.0.0__31bf3856ad364e35\System.Workflow...

    ("ii" is an alias for invoke-item).

    - Oisin

      My System SpecsSystem Spec

Unable to find type [Drawing.Image]: make sure that the assembly containing this type is loaded

Similar Threads
Thread Forum
ASP namespace strong type access for dynamically loaded user control
ASP namespace strong type access for dynamically loaded user control (web application, not web site) I have a user control in a web application...
.NET General
Re: Unable to cast COM object of type 'ADODB.RecordsetClass' to class type 'System.Object[]'
"Scotty" <matthieu.sarthou@xxxxxx> schreef in bericht news:1b139922-a0c7-496c-b58d-cbe03f53ec7c@xxxxxx Hello Scotty just change Dim tmp() as...
.NET General
Windows wallpaper image type
Hello, I find that the image type used by windows for the background is of a too bad quality to properly display my wallpapers. Is it possible...
Vista music pictures video
Search unable to find Word documents when "Document" type selected
Hello all, I've noticed a bit of a weird issue on my system, running Windows Vista Ultimate 64-bit. When I try to run a search with kind:document...
Vista file management
Display actual file type, not description of the type
Is it possible, in Windows Explorer Search, to display the actual type, rather than the description of the type? eg .mp3 rather than "MPEG...
Vista file management
Checking whether a type is loaded _efficiently_?
Does anyone have any thoughts on how to test whether a type is available without attempting to create an instance of it?
PowerShell
Could not locate the assembly for type
Hello, Could not locate the assembly for type Krystal.CompanySchema.Store.CompanyDivision, Krystal.CompanySchema.Store, Version=0.1.0.0,...
WinFS

Our Sites
  • Ten Forums
  • Eight Forums
  • Seven Forums
  • Help Me Bake
  • Site Links
  • Contact Us
  • Privacy and Cookies
  • About Us
    Windows Vista Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

    Designer Media Ltd
    All times are GMT -5. The time now is 00:25.
    .