Re: Sorting images based on dimensions into folders.

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Brian Wolven wrote:
There is a script by the "Four Guys from Rolla" crew that does this; I used it in an HTA that displays my wallpaper collection and permits me to change the image or application mode (stretch/tile/etc.). I couldn't find it again with a quick Google search, so I'm going to re-post it here.

Brian, my google beats your google.

Here is the discussion:

http://www.4guysfromrolla.com/webtech/011201-1.shtml

Here is the code:

http://www.4guysfromrolla.com/webtech/code/imgsz.asp.html

cheers, jw

p.s. I couldn't resist commenting on the code. It's extremely
impressive -- after all, who would have thunk that you could
do something like that in vbs? Or even want to attempt it?

On-the-other hand, UGH!!! All that messy byte-manipulation
being done without the benefits of enabling features found
in other languages. I have seen similar code (to gfxspex)
written in vb, using byte arrays and "move byte" operations.
But even there with vb's increased functionality, it still
looks awkward.

Yes, I know there are plenty of scripters out there who will
never-never-never use any (unreliable and untrustworthy)
3rd-party controls, and this code is a prime example of the
lengths to which one will go to avoid using any 3rd-party
controls.
.



Relevant Pages

  • Re: Dumb questions :)
    ... The HTA thing is beyond me for the moment, ... to find those 3rd part controls on the web.. ... >> Is VB WMI systax similar to WSH and VBSCRIPT WMI? ...
    (microsoft.public.scripting.vbscript)
  • Re: Conditonal List Processing
    ... your example 'C' code grouped the controls under labels, ... then compare the tag property of each control to the variable to ... Private Sub isLockControls ... This permits disabling to be started from a selected point determined by ...
    (microsoft.public.access.formscoding)
  • Re: Does anyone know how if their is a COM object I can call on to open HTAs?
    ... > information that the parent script will need to do some functions. ... > HTA also does some Active X controls, So I can't use an HTM. ... "The HTA also does some Active X controls, So I can't use an HTM. ... You can run ActiveX controls in a Web page but you'll get a ...
    (microsoft.public.scripting.vbscript)