Advertisement

Results for "top"

2002ASP #5310
Enhanced VB Forms (v2)

2 controls that vastly extend the cababilities of Visual basic. *** VBEventWindow - provides a simple subclassing control. Events: - ActiveApplicationChanged, fired when your app gains or loses user focus - LostCapture, fired when your app gains or loses the capture - KeyPressed, fired when any of the keys are pressed - LowMemory, fired when the system is running low on memory - Move, fired when the form is moved - VerticalScroll, HorizontalScroll, fired when the form scrollbars are set - WindowsSettingsChanged, WindowsINIChanged , fired when the windows environment settings are changed - NonClientMouseMove,NonClientMouseDown,NonClientMouseUp,NonClientDblClick, fired when a mouse event occurs in the non-client part of your form - MinMaxSize, fired when the OS wants to know what size to make your form either in response to a minimise/maximise command or when the user is dragging the resize box. - MouseOverMenu, fired when the mouse is over a top level menu - WindowMessageFired fired for all the other windows messages Methods: - InvalidateRect, Sets part of the form invalid to indicate that it needs to be repainted Properties: - ClassName, returns the windows class name fo the form - DeviceContext, returns the device contect of the form (for graphical operations) - HorizontalScrollbar, VerticalScrollbar, sets or unsets scrollbars on the form - TopMost sets the form to float over the top of other forms - Transparent, makes the formclient area invisible Use: In the form load... Private Sub Form_Load() Me.VBEventWindow.ParentForm = Me.hWnd End Sub *** VBSysTrayCtl - Provides a simple control to allow your application to use the SysTray Events: - MouseMove, Fired when the mouse moves over the tray icon - MouseDown, Fired when a mouse down event occurs over the tray icon - MouseUp, Fired when a mouse up event occurs over the tray icon - MouseDblClick, Fired when the user double clicks the Tray Icon Methods: - ShowIcon, displays the icon in the system tray area - Hideicon, removes the icon from the system tray area - Refresh, updates the icon displayed in the system tray area Properties: - Tooltip, the tip that is displayed if the user hovers the mouse over your systray icon Use: In the form load.... Private Sub Form_Load() Me.VBSysTrayCtl1.Tooltip = "Merrion Computing" Me.VBSysTrayCtl1.ShowIcon End Sub Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer) Me.VBSysTrayCtl1.Hideicon End Sub

2002ASP #6275
StayOnTop .. the Real One

'I developed this code because I have seen many people boasting that their code being 'the one that stays avove all of the other windows .. well I hae never found their 'claim to be true so I wrote this code .... in order to test my code just use any 'yes any stay on top form in the software world and I bet it won't fail ... what more 'it can be on top of even the menu items of the Windows start menu ... jus place the 'form around three inches above start menu and you see the menu items going behind it 'isn't this cool ... 'Just remember me Bis and askbiswa@hotmail.com .... I know now my mailbox is going to 'be flooded with mails for more cool and simple stuff like this .... well I promise 'once I get started I know I will never stop ... so write back soon ... if you like 'it

2002ASP #6312
Add Intellisense to your Scripting Language

This project shows how you can add an Intellisense List (like the one in VB where you type an object name, then a "DOT", and then a list pops up -- that's the Intellisense List). Designed to allow you to enter in YOUR SCRIPTING LANGUAGE COMMANDS AND OBJECTS quickly and easily (using an external text file). All efforts were made to make this act exactly as the one in VB does. Press TAB or ENTER to select an item in the list. Clicking TAB immediately automatically selects the first item in the list. You can begin typing the property name and the "closest match" will be highlighted as you type. Backspacing on your typed entry also does the same. Multiple "DOTS" (eg: me.text1.font.) works. Insertion of "DOT" characters in the middle of a string works. Location of intellisense box goes to where it can fit in view (bottom right, bottom left, top right, top left) depending on where your current cursor location is. This project Took me some time troubleshooting, so I hope some of you out there can use this. UPDATED ON AUGUST 9th! Fixed a few unhandled errors, added more comments to help you see what is happening, Wrapped Intellisense core functions into subs for easier include in your projcets, and added the ability for different styles of the Intellisense box (Office XP stlye, VB6 style, and a hybrid style) as many of you have requested.

2002ASP #8550
Prevent viewing of javascript and stylesheets

Prevent unauthorized viewing of website javascript and style sheet files. Simply rename all your style and javascript files to the .asp extension. Then include the validate_view.asp file at the top of each file. Open the validate_view.asp file and change the top the constants to those required. Then finally call the procedure name "validate_view" with the current files content type as the parameter.

2002C #8883
Make Form always on top without API !

It automatically makes your form on top until they close or end the program and it is all API free!

2002C #9433
A BETTER way to avoid Free Net Access Banners!!

This is an update to code I posted Yesterday. The sole purpose of this code is to allow you to use a free ISP, without the wasted desktop\browser space of ad banners. In the previous app the banner was hidden using Win API Functions. This worked except the banner ad people have hard coded there Banner Apps to stay on top at all times. Hence, the code to hide the banner had to be executed over and over again causing the "Hider" App to canstantly execute code. THis Method Minimizes the banner... THe banner will still be on top, but it will only be a title bar that you can position in the "White SPace" of the Browser toolbar. No adds will be displayed. YOu will not even know it's there.

2002C #9548
BEGGINER Form On Top

Puts Your form on top.

2002C #10250
Post-it : Desktop Stickys

Post-it is a desktop notepad the designed to look like the famous stickys. It is drag-drop, transparent, and the choice of always on top (.exe provided is on top). Good for whatever ya want i guess..

2002C #11415
Keep a form on top!

This code keeps a form on top of all other windows.

2002C #12198
Live Longer with this Program!!!

It has been proven that when you see a happy face, it also makes you smile or be happy as well, which is part of positive thinking and causes you to live longer. This program displays a yellow happy face on the screen, always on top of other windows. It moves to a different random location when you move the mouse over it. This code demonstrates how to make a window on top, move the form on the screen, and how to make certain parts of the form transparent. Good luck and be happy!

2002ASP #8301
Securing Your IIS Web With User Login Security (Easy Yet Comprehensive)

Securing Your IIS Web & Content With Access MDB Based User Security (Simple Yet Comprehensive) This past week, I sat down to tackle the chore of securing my personal IIS web server... specifically, my web app I previously posted here (MP3Tool.Web).  It was a learning experience to say the least, and so I thought I'd zip up my work and share that experience with the rest of you. The Chore: secure an IIS web or entire server via user logins. The Solution: the magic of my security approach is achieved by making use of the Global.ASA file and sessions.  As it's name implies, it functions as something of a global over all the other asp pages on a web site.  You can find documentation on the global.asa posted here on psc, so I won't repeat those details here (and the rest of this assumes you know what global.asa is).  My security approach makes use of the Session_OnStart on event.  It is triggered the first time a user tries to hit an ASP page on your site... and occurs BEFORE the target asp page is served up by the server.  This is key to making this approach work.  When a session is first started, a number of activities take place.   1) a connection to the database is established (held as an object in the session at the top of the page) 2) the "hit" is logged in the database by IP # and date 3) we test to see if the IP # has been "banned".  If it has, I came up with a pretty slick way to implement the ban.  Attached in this zip is a VB project for my ResponseHelper com object (my solution to my problem expressed in my previous post, MP3Tool.web, about streaming back binary data back directly on the asp response).  In this case, we're not streaming back a binary persay, but an HTML page that looks and works exactly (with 1 smiling exception) to the Server Not Found page IE serves up.  Because I use the com object to stream the file back, rather than a .Redirect, the end user is none the wiser (their browser location never changes).  =) 4) this part is probably optional, but then I put in a browser check to ensure that IE is being used by the client. =) 5) we test to see if a specifically named cookie exists on the client.  This cookie is used to "persist" a user's login... much the same way your developer login is persisted (if you so choose for it to be) here on psc. 6) if no cookie was detected, then we test to see if the Login.htm form is being posted.  While the "target" of the Login.htm page is the Login.ASP page, we actually intercept and process all logins in the Global.asa file.  Login.asp file theoritically should never actually be hit.

2002C #11275
DataFX (Updated 3/21/02) New Feature!!

Ever be in the middle of coding and forget the field names in your database? Well this little tool is for you. Open an Access Database and it will display all of your fields as well as the description and ALL of the properties for each field. You can Drag field names right from the list into your code. Never have to memorize (or type) those long field names again. Click the stay in front button and the application will stay on top, click it again and it will fall behind other windows when it loses focus. You can also search for a field name. If enough people like this I will convert it from DAO to ADO. Please leave comments. :) Sorry for the missing .bas file. Its there now. *** 3/20/02 - Added recent file list *** 3/21/02 - Added datasheet option which allows you to open the selected table and add, delete, modify, and view data from the selected table. You can use SQL to filter the datasheet and it also has the "Stay on Top" feature. You can open as many DataSheets as you want. ADO Version coming soon!

2002C #11626
GrafxSuite (GUI Compoents)

(www.pezcore for more info & skins) It boasts features such as Resizing at Runtime by the user, Easy Skinning, Interactive Min/Max-Restore/Close buttons, Form Fitting and more! | New Features: | GraFxConsole (new) Icon in the top right hand corner (new) Move the form from the control (new) New graphics (not in screen shot) (new) 'Mould' support to make Control 'just' like the form! Real-time Resizing means the user can change the size of the control when and as they wish Interactive Buttons means you can create a completely fake form which has minimize, maximize & restore & close buttons with your own code. You can also enter your own commands for clicking, double clicking and so forth on the title bar Icon support means you can have an icon in the top right just like a normal form Easy skinning means you can take a JPG, BMP, GIF and edit it in Paint, and simple paint package to create your own skins Error Handling means that if there are any errors the user isn't interrupt and the control will load defaults rather than crash your program | GraFxButton Skinnable button with transparency (new) Autosize to Bitmap (new) Set Transparency colour (new) Set On, Over, Click, Disabled Bitmaps (new) Offset Caption & Picture (new) Set Highlight Colour/Picture | GraFxProgress Skinnable progress bar (new) Can be Bitmap or Colour (new) Min/Max/Value settings (new) Loading x% text & colour (new) Font Options (new) Event for 100% complete

2002C #12243
Wintasks

This program does about anything you can think of: Shut down, restart, log off, connect/disconnect to internet, enumerate windows, create Veda designs, stay on top, montor cpu, tells length in windows, date, time, what mouse is over, disble/enable: screen saver ALT-CTL-DEL Taskbar Desktop Icons, empty recycling bin, auto mouse move, minimizes to windows tray, minimize all, change screen resolution, open CDRom drive, open every thing in control panel, copy files, rename files, run files, force on top, finds **** in textboxes, changes keys into ASCII #s, opens "find files", open winfiles, open explore, AND MUCH MUCH MORE!!! This is by far my best program uses TONS of API calls!!! Have Fun!

2002C #12854
API Programming Series Article #3 Bring a Window to Top

In the third article we see how to bring a window to top using the Win32 API.

2002C #13930
Snap form to top/left/right/bottom of screen

When draged to top/left/right/bottom of the screen will snap to the closest side when it comes within 30(or other desired number) pixels of a side much like winamp.

2002C #10117
Enigma Encryption Example

Here is the concept behind this representation of the Enigma Machine: The program uses virtual "wheels" that contain all of the printable characters on the keyboard. Think of the first wheel as the keyboard you are typing on. All of the wheels contain the same characters, but in a random, non-repeating order. Each time a character is pressed, the location of that character on the one wheel is used to as the index to lift the character off of the next wheel. Then the new character is searched for in the next wheel, and the pattern repeats itself across each wheel. The character lifted off of the final wheel is the output. This step is repeated for each character in the message. Decryption simply sends the message backwards through a similar, but reversed process. What really makes this encryption effective is that like the real life machine, the wheels rotate either to the left or right after each character. So the relationship between each character shifts constantly. As a result, even repeating characters such as "AAAAAAAAAAAAA" are represented with garbage such as "@n~WPnHv(.)z#" Another great part about an encryption scheme like this is its flexibility. You can add more wheels, more characters per wheel, change the order of the wheels, the directions the wheels spin, and change the starting position of each wheel. So, unless somone can figure out: 1) How many wheels are being used... 2) How many characters are on each wheel... 3) The order of the wheels... 4) The direction they spin... 5) The initial position of each wheel... 6) The order of the characters on each wheel... It would be virtually impossible to look at the encrypted characters and determine their relationship to one another. There are so many possibilities and combinations of the above criteria, it would have to be solved through brute force. I am no mathmatician, so if anyone can tell me the possible combinations, I would appreciate it. When the Germans used this machine, it baffled the Allies, who frantically tried to break it with no success. It wasnt until a German U-Boat was forced to surface in a naval battle and was captured that the Allies got a huge break. An Enigma machine was captured along with a code book that showed the information needed to decrypt the messages. The U-Boat was scuttled and the crew was kept in a top secret location. The U-Boat was simply considered lost during battle and Germans continued the war not knowing the truth. When the war in the Atlantic turned for the worse, the Germans, who believed their code to be unbreakable, believed that there were spies in their top level officials. They never considered that the code was being decrypted through a captured machine, so as a result, they set up elaborate networks to try and find these "spies". Paranoia being what it was, many loyal German officers were tortured and murdered for treason, even though they had commited no such offense. This code is by no means complete. I will try and enhance its speed and toughen its encryption even further. Ill also try and build a better sample app with more features. If you find a problem or have a suggestion, I would love to hear it. This program has now been updated to reflect many of the suggestions posted here. Thanks for some great feedback and keep coding! =)

2002C #13914
Enhanced VB Forms (v2)

2 controls that vastly extend the cababilities of Visual basic. *** VBEventWindow - provides a simple subclassing control. Events: - ActiveApplicationChanged, fired when your app gains or loses user focus - LostCapture, fired when your app gains or loses the capture - KeyPressed, fired when any of the keys are pressed - LowMemory, fired when the system is running low on memory - Move, fired when the form is moved - VerticalScroll, HorizontalScroll, fired when the form scrollbars are set - WindowsSettingsChanged, WindowsINIChanged , fired when the windows environment settings are changed - NonClientMouseMove,NonClientMouseDown,NonClientMouseUp,NonClientDblClick, fired when a mouse event occurs in the non-client part of your form - MinMaxSize, fired when the OS wants to know what size to make your form either in response to a minimise/maximise command or when the user is dragging the resize box. - MouseOverMenu, fired when the mouse is over a top level menu - WindowMessageFired fired for all the other windows messages Methods: - InvalidateRect, Sets part of the form invalid to indicate that it needs to be repainted Properties: - ClassName, returns the windows class name fo the form - DeviceContext, returns the device contect of the form (for graphical operations) - HorizontalScrollbar, VerticalScrollbar, sets or unsets scrollbars on the form - TopMost sets the form to float over the top of other forms - Transparent, makes the formclient area invisible Use: In the form load... Private Sub Form_Load() Me.VBEventWindow.ParentForm = Me.hWnd End Sub *** VBSysTrayCtl - Provides a simple control to allow your application to use the SysTray Events: - MouseMove, Fired when the mouse moves over the tray icon - MouseDown, Fired when a mouse down event occurs over the tray icon - MouseUp, Fired when a mouse up event occurs over the tray icon - MouseDblClick, Fired when the user double clicks the Tray Icon Methods: - ShowIcon, displays the icon in the system tray area - Hideicon, removes the icon from the system tray area - Refresh, updates the icon displayed in the system tray area Properties: - Tooltip, the tip that is displayed if the user hovers the mouse over your systray icon Use: In the form load.... Private Sub Form_Load() Me.VBSysTrayCtl1.Tooltip = "Merrion Computing" Me.VBSysTrayCtl1.ShowIcon End Sub Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer) Me.VBSysTrayCtl1.Hideicon End Sub

2002C #14978
[ leo html text fader ]

leo text fader is a fader that fades text from one color to the next and generates the html code. fade up to 11 colors many options. i worked hard so please vote. the forms also have no frams and are movible in all all windows plateforms. my own code. all code in the project is 100% mine except for the keep on top code all other is mine the whole project is pure vb code except for the kepp on top withch is compadible with all windows platforms. project is essy to add more colors if you want

2002C #15392
[ Form On Top ]

This will put your forms on top. Works good. It uses API calls to do this. Hope it helps you. Also Please visut my site, i got some video tutorials there about visual basic. http://www14.brinkster.com/computerteck/?p254

Languages
Top Categories
Global Discovery