drodriguez73
March 19th, 2001, 04:14 PM
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
|
Click to See Complete Forum and Search --> : Spirits?? drodriguez73 March 19th, 2001, 04:14 PM 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 Johnny101 March 19th, 2001, 04:39 PM 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 Johnny101 March 19th, 2001, 04:41 PM 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 drodriguez73 March 19th, 2001, 04:59 PM 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. Johnny101 March 19th, 2001, 06:22 PM 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 G Duffy March 19th, 2001, 06:30 PM Are you sure you ar not talking about "SPRITES" instead of "SPIRITS"? John G drodriguez73 March 19th, 2001, 07:26 PM 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. John G Duffy March 20th, 2001, 09:53 AM 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 codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |