Skins in VB?

Sharky Forums


Results 1 to 5 of 5

Thread: Skins in VB?

  1. #1

    Question Skins in VB?

    How do I use skins in a VB application? Are there any good sites to check for this particular topic?

    ------------------
    Manoj

    P III 450 MHz
    192 MB RAM(PC 100)
    ELSA ERAZOR X 32 SDR AGP
    AUREAL VORTEX 2
    CREATIVE PC-DVD 6X
    DXR 3 DECODER
    8 GB SEAGATE
    ASUS P3B-F
    HP 8250i rewriter
    SAMSUNG SAMTRON 75 E
    300W PS
    | GA 7VRX | AMD ATHLON 1800XP@2000XP | Volcano9|512 MB Mushkin DDR PC3000 | GeForce3 Ti200 | Creative Audigy OEM | Seagate Barracuda III 40GB | HP 8250i Burner | Samsung 16X DVD | Logitech Cordless Desktop | Samsung Samtron 75E Monitor | HP Scanjet 2200 | 300W PS | 2 Exhaust, 1 Intake Fans |

  2. #2
    Mako Shark dighn's Avatar
    Join Date
    Nov 2000
    Location
    Vancouver, BC Canada
    Posts
    3,171

    Post

    VB does not have native support for skins. You would have to write your own skin system.

    ------------------
    So easy to use, no wonder it's number one!!!
    Where do you want to go today?
    Member of NT Jocks
    Tesla coils are not weapons
    .

  3. #3
    Hammerhead Shark
    Join Date
    Oct 2000
    Location
    Toronto, Canada
    Posts
    1,493

    Post

    hm... you can change color such as active windows color, but that's window's skin not VB skin

    ------------------
    DHAHL3seasons GP:73 G:121 A:55 Pts:176 GWG:12 +/-:184
    UWSWA1season GP:9 G:12 A:8 Pts:20 GWG:3 +/-:-3

    uwcdc.com or namgor.com
    DHAHL3seasons GP:73 G:121 A:55 Pts:176 GWG:12 +/-:184
    UWSWA6seasons GP:41 G:53 A:46 Pts:99 GWG:5 +/-:-25
    MCBHL3seasons GP:14 G:20 A:8 Pts:28 GWG:4 +/-:19

    uwcdc.com or monkis.com

  4. #4
    Reef Shark
    Join Date
    Apr 2001
    Location
    Austin, TX
    Posts
    371

    Post

    Originally posted by dighn:
    You would have to write your own skin system.
    Precisely. However, something like Winamp shouldn't be that hard for any moderately skilled VB programmer to accomplish though.

    All you'd have to do is design an open framework of importing images (BMP/JPEG/GIF) on top of your program. Each control would have it's own image. The images would be read from a directory/zipfile some place, they would need to design a naming system for the images (button1.gif, button2.gif). Each of the images would need to be a certain width, height, etc. When the program launches, it loads the current images ontop of all the controls. Kind of like getting dressed before leaving the house

    With significantly more effort, you could develop something that would allow you to place the controls anywhere you wanted. This would allow for far greater customization! A simple config file would need to be provided along with the images. It would need to describe the size, shape, and position of all the controls, as well as the images they will use to "get dressed". This config file would need to be parsed, and then that information would be used to move all the controls to their appropriate places, then slap on the images. The reason it's so much more complex to do it this way, is because there are many more things that can go wrong parsing config files, and moving controls around than when you're just placing images on things.



    ------------------
    Advocate of the Sharky (Ultra) High-Resolution Club [SHRC]
    main(i){putchar(341513875>>(i-1)*5&31|!!(i<6)<<6)&&main(++i);}
    Advocate of the Sharky (Ultra) High-Resolution Club [SHRC]
    main(i){putchar(341513875>>(i-1)*5&31|!!(i<6)<<6)&&main(++i);}

  5. #5
    Reef Shark
    Join Date
    Apr 2001
    Location
    Austin, TX
    Posts
    371

    Post

    For the record, I would not recommend the latter of my above recommendations to a Visual Basic program, and would suggest dipping into C++ via COM.

    ------------------
    Advocate of the Sharky (Ultra) High-Resolution Club [SHRC]
    main(i){putchar(341513875&gt;&gt;(i-1)*5&31|!!(i&lt;6)&lt;&lt;6)&&main(++i);}
    Advocate of the Sharky (Ultra) High-Resolution Club [SHRC]
    main(i){putchar(341513875>>(i-1)*5&31|!!(i<6)<<6)&&main(++i);}

Posting Permissions

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