CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 8 of 8

Thread: Spirits??

  1. #1
    Join Date
    Mar 2001
    Posts
    8

    Spirits??

    Can anyone direct me to a good website on Spirits? I am a VB person but only good with the networking side. I am make a fun usermanager type program for NT Server


  2. #2
    Join Date
    Jan 2000
    Location
    MO, USA
    Posts
    1,506

    Re: Spirits??

    I'm not familiar with Spirits - other than those mystical entities. What sort of thing is it? Are you looking for something that can help you with user management? Looking using the ADS API. This website has some sample apps to show the users for a given system:http://www.netfokus.dk/vbadmincode/winnt.htm.

    good luck,

    john

    John Pirkey
    MCSD
    http://www.ShallowWaterSystems.com
    http://www.stlvbug.org
    John Pirkey
    MCSD (VB6)
    http://www.stlvbug.org

  3. #3
    Join Date
    Jan 2000
    Location
    MO, USA
    Posts
    1,506

    Re: Spirits??

    I just found out that the link has moved - here's the front page for the site i posted earlier:
    http://www.vbadmincode.btinternet.co.uk/.

    hope this helps,

    john

    John Pirkey
    MCSD
    http://www.ShallowWaterSystems.com
    http://www.stlvbug.org
    John Pirkey
    MCSD (VB6)
    http://www.stlvbug.org

  4. #4
    Join Date
    Mar 2001
    Posts
    8

    Re: Spirits??

    Hello Johnny101, I am very good with the networking api and can create some very nice NT tools to make life easier for system admins, what I want to do is ad some action to it, like on mouse click event i want to insert a picbox. I was told that I should use spirits by an VBGuru.


  5. #5
    Join Date
    Jan 2000
    Location
    MO, USA
    Posts
    1,506

    Re: Spirits??

    For something like that you shouldn't need anything special. Just use the click event of whatever object you want to trap and in there do what you want you want with the picture box. If you want to load a picture into a picture box, there are a couple of ways you can do this. If you placed the objects into an ImageList control, you can get it back from there. You can also use the LoadPicture function that takes the path to the graphic as a parameter. Using the image control or the picture box usually isn't that hard. a few times playing around with it and you should have it.

    good luck,

    john

    John Pirkey
    MCSD
    http://www.ShallowWaterSystems.com
    http://www.stlvbug.org
    John Pirkey
    MCSD (VB6)
    http://www.stlvbug.org

  6. #6
    Join Date
    Apr 2000
    Location
    South Carolina,USA
    Posts
    2,210

    Re: Spirits??

    Are you sure you ar not talking about "SPRITES" instead of "SPIRITS"?

    John G

  7. #7
    Join Date
    Mar 2001
    Posts
    8

    Re: SPRITES??

    Ok know I feel like an idiot. Yes I meant "SPRITES". What I wanted to do was move a picbox across a form and I was told by a vb guru that that wasn't the right way to do it. He sead to use "SPRITES". I am a networking API person who wanted to make my Usermanagement Programs to have a little humor. What I need to be able to do is On mouse click event I want to place a picbox on that location of the form. Is there a better way to do this. Or should I just stay in my field of networking API's. Thanks for the patience.


  8. #8
    Join Date
    Apr 2000
    Location
    South Carolina,USA
    Posts
    2,210

    Re: SPRITES??

    OK. Sprites it is. There are many samples ont there on how to created Sprites. One I saw on
    Http://www.FreeVBcode.com looks real nice.
    Here is the header file for the download
    Go to the site. The download is at
    Http://www.freevbcode.com/code/Bitmap_Region.zip
    '
    there are many more samples out there. You might look on Planet-Source-Code.com/vb for more.
    '
    '
    Use a Bitmap to Create a Skinnable Irregular-Shaped Form
    Author: Elad Rosenheim (Developer of the Month)
    Category: Screen/Graphics
    Type: Applications
    Difficulty: Advanced


    Version Compatibility: Visual Basic 5 Visual Basic 6


    More information: A lot of applications today allow custom bitmaps ("skins") to be used as the user-interface/background to the program - Take Winamp for example.

    Some applications (such as the MP3 players Sonique and kjofol) allow you to use non-rectangular bitmaps with transparent sections.

    The following demo does just that. I'm no graphics artist, though, so to create a better-looking skin you'll have to work hard - but the code is here for you to do it.

    Note that you can move the form by pressing and dragging the mouse anywhere on the form - even though it doesn't have a title bar.

    This code has been viewed 6368 times.

    Instructions: Click the link below to download the code.

    code/bitmap_region.zip



    John G

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

Featured