Results 1 to 8 of 8

Thread: Using icons, images, strings from other .dlls and .exes (this be kinda resolved)

  1. #1

    Thread Starter
    Hyperactive Member Colonel Klink's Avatar
    Join Date
    Aug 2002
    Location
    Gold Coast, Australia
    Posts
    329

    Using icons, images, strings from other .dlls and .exes (this be kinda resolved)

    ok... here is the scenario... say for example, i wanted the default file icon from shell32.dll (which is the first icon) or a picture strip from that same dll

    how would one get it in VB? I mean straight from the DLL in code... not using a thing like resource hacker
    Last edited by Colonel Klink; Jul 8th, 2004 at 09:38 AM.
    Our Father, who 0wnz heaven, j00 r0ck!
    May all 0ur base someday be belong to you!
    May j00 0wn earth just like j00 0wn heaven.
    Give us this day our warez, mp3z, and pr0n through a phat pipe.
    And cut us some slack when we act like n00b lamerz, just as we teach n00bz when they act lame on us.
    Please don't give us root access on some poor d00d'z box when we're too pissed off to think about what's right and wrong, and if you could keep the fbi off our backs, we'd appreciate it.
    For j00 0wn r00t on all our b0x3s 4ever and ever, 4m3n.

  2. #2
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373
    look at the extracticon and extracticonex API functions

    if you dont have it already go to allapi.net and download the API guide

  3. #3

    Thread Starter
    Hyperactive Member Colonel Klink's Avatar
    Join Date
    Aug 2002
    Location
    Gold Coast, Australia
    Posts
    329
    thx and what about picture strips/bitmaps and strings?
    Our Father, who 0wnz heaven, j00 r0ck!
    May all 0ur base someday be belong to you!
    May j00 0wn earth just like j00 0wn heaven.
    Give us this day our warez, mp3z, and pr0n through a phat pipe.
    And cut us some slack when we act like n00b lamerz, just as we teach n00bz when they act lame on us.
    Please don't give us root access on some poor d00d'z box when we're too pissed off to think about what's right and wrong, and if you could keep the fbi off our backs, we'd appreciate it.
    For j00 0wn r00t on all our b0x3s 4ever and ever, 4m3n.

  4. #4
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373
    what extracting them from DLLs and EXEs?

  5. #5

    Thread Starter
    Hyperactive Member Colonel Klink's Avatar
    Join Date
    Aug 2002
    Location
    Gold Coast, Australia
    Posts
    329
    i mean using them without saving them to the HD.... like Shell32.dll,1 kinda referencing
    Our Father, who 0wnz heaven, j00 r0ck!
    May all 0ur base someday be belong to you!
    May j00 0wn earth just like j00 0wn heaven.
    Give us this day our warez, mp3z, and pr0n through a phat pipe.
    And cut us some slack when we act like n00b lamerz, just as we teach n00bz when they act lame on us.
    Please don't give us root access on some poor d00d'z box when we're too pissed off to think about what's right and wrong, and if you could keep the fbi off our backs, we'd appreciate it.
    For j00 0wn r00t on all our b0x3s 4ever and ever, 4m3n.

  6. #6
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373
    i think you are talking about resource files if Im not mistaken... you can hold bitmaps, strings, etc in resource files that will be compiled with your exe so you dont have to worry about them sitting on the HD

  7. #7

    Thread Starter
    Hyperactive Member Colonel Klink's Avatar
    Join Date
    Aug 2002
    Location
    Gold Coast, Australia
    Posts
    329
    nah... i know what ya talkin about... but im talking... which isnt what im talking about (try to ya get ya mind around that one :P heh)

    i meant just say, for example, i needed to get a windows logo bitmap from different vesions of windows... in XP the windows logo looks different from the win98 one for example

    but dont worry about... i mainly wanted the icon one... the other 2 were just out of general curiosity
    Our Father, who 0wnz heaven, j00 r0ck!
    May all 0ur base someday be belong to you!
    May j00 0wn earth just like j00 0wn heaven.
    Give us this day our warez, mp3z, and pr0n through a phat pipe.
    And cut us some slack when we act like n00b lamerz, just as we teach n00bz when they act lame on us.
    Please don't give us root access on some poor d00d'z box when we're too pissed off to think about what's right and wrong, and if you could keep the fbi off our backs, we'd appreciate it.
    For j00 0wn r00t on all our b0x3s 4ever and ever, 4m3n.

  8. #8
    Hyperactive Member Eyes.Only's Avatar
    Join Date
    Oct 2001
    Location
    Minnesota
    Posts
    347
    actually i think your looking for some api functions more along the lines of LoadResource, LockResource, and FreeResource. Its a bit complex but some searches on those should get you going in the right direction.

    Those are for loading the resource module of an exe or dll at which point you can get data from it using the appropriate functions...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width