Results for "Volume: C_Volume2"
Microsoft Indexing Service is a service that provides a means of quickly searching for files on a machine. The most familiar usage of the service is on web servers, where it provides the functionality behind site searches. It provides a straightforward way to index and search your web site or machine. This simple app. provides a way of accessing that functionality via VB. My initial reason for looking at Index Server was so I could search for documents in a particular directory that I have set up. If you create your own Catalog and add certain Directory's (collectively the dir's. are called the 'Scope') to that Catalog, you can then specify which Catalog to search in. Handy if you have documents that need to be kept in separate folders etc. (see the Help file) Included is a handy ListView builder which only needs a recordset and the target ListView, and an Internet Explorer imbedded in a form used as the Help file. I hope you find all of this useful and if so (or if not!), please leave a rating and comments. Regards....
In one line - well, with a little cheating ;-)
That horrible bug found by Lavolpe scared me into spending half the night going over this code with a fine-tooth comb. Minor optimizations and major commenting added. Anyone who downloaded the code before this update will probably want to scrap the old version and grab this one. Also check out the new screenshot. If that's not stress testing, I don't know what is! Inspired by Lavolpe's "GDI Font Management" submission, this code is a drop-in replacement for common gdi api calls. The benefits of using this code as opposed to the api calls directly are two-fold: 1. Identical fonts, brushes and pens are shared between all procedures who request them. A reference count is kept, and the objects are deleted when no longer in use. 2. Debugging is simple, simply change a few compiler constants and you will receive a debug message if any font, brush, pen, DC, or bitmap handles are leaked. This code is very fast, because it hashes the gdi objects and uses a linked list to store the necessary information. Actually it's a bit more complicated than that because the nodes in the list must be looked up by the gdi object when creating an object and by the handle when destroying it. So two linked lists are kept, but only one set of nodes. One is used to lookup by the gdi object and the other by handle.
Stop! Before taking Ulli to the winner: A L.E.D. clock in one line of VB code and only ONE command! ;))) Putting the focus onto the 'Visual' in our beloved programming enviroment VB I got another solution. (Plz don't kill me for it :))) ) Light Templer
This is a very simple enocde decode routine that I created for a program where I didn't want to store the password in a plaintext string. This routine then came in handy when creating a client/server program where to stop people sending spurious commands to either the server of the client - I encrypted the time in minutes and it was sent with every bit of data - if the time was out by 3 minutes then the server or client discared the data - this is just one example for this bit of code. The routine currently runs 100 times in encryption or decryption but is a for loop - so easy to change - just make sure that the encryption and decryption routines run the same number of times. As an example "Planet Source Code Rocks" becomes "8=EMPT\chipu{$'/49;>?DEHKRY\dehiosuv{}~$+1369;CKQRZ[^`cfglpuw~$%*0479AFKNQSZ]ekry~$*-48:ACHOVW_elrz$D`UbYhrGcifWYr7cXYrFcW_g" The key to the encryption and decryption is the number at the beginning of the string (which is randomly chosen during encryption - and because it is a printable character gets encrypted itself on every subsequent encryption). This routine is for from unbreakable but is going to throw of the person who just wants to quickly find the password.
This code improve Office 2003 Button for VB. With MouseOver effect (No Flicker), CheckButton, ToolTipText, Frozen (Enabled Property). You can built a nice Toolbar. I Just improve and join same other code peaces from PSC. THANKS PSC
A more complex LED UserControl. uses a hacthwork of 20 'wires' to draw numbers/UpperCase letters. Another spin-off of the LED clock challange , but not in the running way more code than absoutely necessary (if no where near 64000 lines). Please feel free to adapt for yourself. Lots of comments in the UserCOntrol should help modifications/additions. ------------ Oops left the screenshot at home but it's only 8K so give it a go.
ThunderVB is a Addin for Visual Basic 6 sp6 that adds Inline Asm/C , non ActiveX Dll creation , Asm and C code coloring and Asm Code completion on the VB ide. This is some outdated code that was released as a "public beta test". Expect a new release soon.. The ThunderVB development team [ Raziel and Libor].
This code makes your taskbar transparent when the mouse is not on it. When the mouse approaches the taskbar fades up. This is my first entry. U can also control the speen of fade ups and downs and the taskbar transparency level. Please enjoy thr code.
This is a continuation of the LED-Battle thats has been taking place lately. Not the smallest code, but this graphical LED clock easily allows for skinning the numbers. Simply make 11 small images for "0123456789:", place them in a folder which is the skin name (Skin Folders go within program folder) and set the mSkin constant. Also uses a borderless frame dragging technique. Very simplistic and basic. No need to vote.
Get Serverlists from the public GameSpy Master!
Tired of seeking through your hard rives to find Access databases, to compact them and gain some free space? Then this tool could help you. Basically it parses all the directories and sub-directories of a given hard drive unit, and tries to find Access Databases. When this operation is done, you can repair or compact them. I gained on one of my HD unit over 6Gb of data. What you need to make this project work: vbalSGrid6.ocx and ssubtmr6.dll fro vbAccelerator. These files should be in the libs directory. If ever they had been removed then, just go to this url: http://www.vbaccelerator.com/home/VB/Code/Controls/S_Grid_2/S_Grid_2/VB6_SGrid_2_Binary.asp 1- Open a blank project. 2- Goto to project -> references and select ssubtmr6.dll, it should register it for you. 3- Open your the test project (an error should appear), then goto project, components, and select the vbalSGrid6.ocx 4- close the test project. 5- restart it it should be ok. You'll also need Microsoft DAO 3.51 or 3.6 (depending on the Access version installed on your computer). Generally 3.51 works well with Ms Office 97 databases 3.6 or above should suit best to newer versions of Access. I'm currently using Ms Office PRO 97, and thus for referenced DAO 3.51. If you have troubles or do not understand how to make this thing work, don't hesitate to send me an email.
The cGFX Class allows you to make super SEXY tools in seconds!!! A Demonstration tool is includet!
Ever written a usercontrol that exposed a Font property? Then this code is for you. cFont.cls uses offers many features you won't get with the StdFont object. You can call the Browse method to show the Font dialog and the font properties will be set automatically if the user chooses a font. You can set the font to the ambient font or a system font and it will update itself provided that you call OnAmbientFontChanged from your usercontrol's AmbientChanged event or OnSettingChange in your WM_SETTINGCHANGED handler. All of the properties from the LOGFONT structure are exposed, including charset, escapement, etc. And I even included a property page that allows for multiple properties on multiple controls to be edited simeltaneously, all your controls have to do is implement the iSupportFontPropPage interface. Sound good? I had hoped so! Bug reports are much appreciated. Also, anyone who has downloaded my last submission, GDI management, should check out the new version I just uploaded with additional optimizations and much more in depth explanations and comments.
Is to generate VB Code out from a flowchart.. Please vote...Download now...see for ur self. if u feel upgrading it or something, ur free to...but please just even our name placed on ur about/help/anywhere where people will know will be much appreciated.. thanks..
This is a basic layout for a shell that looks like Linux RedHat. Comes with a few custom controls for easy customization. Has a 'startmenu', 'taskbar' as well has desktop icons. i was really bored and this is what i came up with. i didnt mean for this to have any use, just did it for fun.
Well commented Splash Screen. Shows how to create a nice splash screen for your program that fades in slowly, pauses, and then fades out. Fairly simple, but professional looking. Uses 3 API calls and a simple loop. Please leave comments/opinions...even if you don't vote.
How you can access all the properties, methods, and events of the html object libray/webbrowser control with using any webbrowser or winsock or inet control. Most people believe that in order to use these objects you have to load some sort of browser object into memory..which has always been problem for me since i know that IE has a lot of security holes. the secret basically lies in one method of the HTMLobject library. it is the ".CreateDocumentFromURl" method It goes something like this
This example Excel spreadsheet shows how to get live datafeeds for Stock using Excel Querys. I have password protected the workbook, but I will give that to you, so you can see the 'Protection' functionality in use. (Password = 'stockquotes'). There are hidden sheets that contain the Listings for each industry sector (this is set at startup of the workbook), but these could be parked in a database such as Access or SQL if you liked. I have used a ListView to manage the stocks that you need quotes on. Anyway, I hope that this is useful! It could be adapted for other markets, which is why a database of sectors/markets would be handy.
Example on how to send an SMS using a standard GSM mobile Phone using the PDU encoded telegram common to all GSM mobiles.