Results for "Category: Miscellaneous"
This program is probably the best program I have ever done. Although I had to borrow some codes to make it perfect. This is the last vesion. Look at the screenshot and you can see that I have rounded corners on the form and a SYSTRAY when the form is minimized. You can put background pictures in and you can preview them also. There is a HELP section in there just about the program. Thanks in advance and PLEASE LEAVE COMMENTS and VOTE APPROPRIATLY.
I have made a code ticker so you can just check it for new codes put on PSC. Check out screenshot.
This is a phone on your computer that you can call people and if you have a mic you can talk. So this is just the first version and if you guys like it i'll make like and address book and speed dial and more stuff if you suggest it.
This example (which should be under VisualBASIC but has ended up in the wrong section - apoligies) demonstrates a number of API calls available from netapi32.dll which can get all the workstations, users, groups and local groups from a domain and provide extensive information on each entity. The code could form the basis for developing a domain management or monitoring package. Some of the API calls that are demonstrated include: - NetGetDCName, NetUserGetInfo, NetGroupEnum, NetSessionEnum, NetGroupGetUsers, NetLocalGroupEnum, NetLocalGroupGetMembers, NetServerEnum, NetShareEnum, NetUserEnum, NetWkstaUserEnum
Analog onscreen clock. Has very nice menu. Stays always on a top. Remember last position. Colors have to options: one of 16 system colors or mode «Auto», which chooses black/white color, depend on background. ToolTip - current date. You can drag it werever you want on a screen and choose a size from 400px to 1000px. Please rate it. Report any bugs to SergeyO@MailCity.com
This is just a quick demonstation on how you can use the windows API to print colored text in your basic console application.
This will remove your program from the Windows Task List with ONE line of code !!! It supports ALL versions of Windows ( 9x , Me , NT , 2000 , XP)
It is method that delay time as much as time that designate. There is no problem even if use over midnight. With Sleep function, use and lowered CPU's use rate.
Tired of that crappy participation rating of yours? Is a Low or Guru rating not good enough?? Then the KaZaA Participation Hack is for you! This program fake transfers files locally so that you too can be a supreme being. Only works pre KaZaA v2.1 (they fixed this...) Most people probably still have KaZaA 2.0 though. Source is fully documented (at least what is mine...) and very easy to understand.
Check to see if a form is loaded without actually loading the form, or access public form variables without causing the form to load
This is a breakthru for those who doesn't have shell account. With this application you setup and installa a php "eggdrop" from a advanced Web Interface. You can control the bot from IRC while your configuration goes thru the Web Interface
Font configurations, advanced countdown settings do I need to say more? Tired of annoying commercials, and lots of other crazy stuff ? Just try it, and you'll see that it's one of the simplest countdown scripts on web. *brags*
Hey everyone. A great TIP here! I don't know if this has been brought up before (did a search but found nothing) it may even be in VB books - but some of you may not know this... Did you know that (in the code) you can right-mouse click over a particular procedure, function, word, method, event, any declared variable, etc... Then choosing "DEFINITION" from the menu selection will jump you to where it was declared or the code for it?! See screen shot for example of this. Then after you get there, right-mouse click again and choose LAST POSITION to jump back where you came from? How useful is this? Coulden't remember how something was declared? Need to check the code real quick for a function? You have several modules/forms/classes in your code?, etc... Give it a try (similar to highlighting something and pressing F1 for help) This may be a simple trick and many of you may already know this. But for those of you that don't, please VOTE. I think it's worth it. Comments are welcome.
The purpose of this text is to attempt to answer the incessant queries on coloring text in RichTextBoxes. There is no magic command to do so, unless of course you have purchased a third party control from somewhere or other. There are plenty around, and some are cheap, some are not... Please read the article, download and enjoy the code. I'd appreciate a little feedback, and maybe a vote? Just so I know which bits are good, which aren't, and which i've left out. Thanks =) Update [15/10/02]: Fixed first line bug - thanks Rob =)
Sample code showing how to create threads in cpp.Please give ur ratings too
I've had a few people come to me with how to do multi treading. I've looked around PSC and there are plenty of projects that have multi-threading but none solely for multi-threading. So I did up a simple multi-threading console application that passes data back to the parent thread via events. This is a very simple example and is designed to show how multi-threading can be used. The key to understanding what you would use multi-threading for is to keep one simple thing in mind. All UI (user interfaces) elements must be in the parent thread. You can not have anything that interacts direct with the UI in a seperate thread. For example if you are running a long business process and get an exception, then use a message box to show that exception then nothing will ever be shown to the user. It's in a background thread so the user never see's it. It can also lock the application up since the messagebox is waiting for the user to click ok. What you would do in such an example would be to pass the error message back to the parent thread and let the parent thread display the error message. This is also a good example to show how you could update a progress bar on the parent thread with the process of the thread (like how far along the process has gotten in getting or doing something). Hope this helps. Sometimes you just need to break something down to bare basics to get a good understanding of it. Though this is only one example of how to work with threads, there are many other ways.
You can now save a whole class in a field of a table and call it and run it. This code will provide the answers of how to turn a string into code that runs. kind of like Scripting your application though much more powerfull
Ok what this example does is load a DLL that has a form called Form1 (yea I know that isn't creative) and show it to the user. Then you can unload the DLL and it unlocks the DLL. You see when using the createinstance of an assembly it will load that instance into the current appdomain. Once it's loaded and created it then locks the assembly (the dll or exe). You have to completly quite the application in order to delete the DLL. This project allows you to load an assembly and use a class then unload it without ending the entire application. I needed this in order for my dynamicly compiled forms to work, you see if I compiled at runtime a form and viewed it it would lock the DLL, then when I recompiled it I would get a lock error. Even though I closed the form I pulled from the DLL. So this method allows me to view then unload then recomile then view to my hearts desire. Hope this is useful to others. Please Vote I looked everywhere for an answer to this problem and they where slim to none, not one example in VB.net and the ones in C# where really bad most of the time.
Cool looking status/progress bar, slightly modified from user control found on PSC. I only modified code, I take no credit.
This is just a simple way on how you can manipulate icons to simulate animated cursors in VB. This is just for beginners and I hope this will help. Coming up! The ultimate winsock tutorial for newbies