Advertisement

Results for "Category: Miscellaneous"

ASP_Volume2 #39138
SMALLEST CODE FOR FINDING WHETHER PROGRAM IS RUN FROM VB IDE OR COMPILED EXE

This function will return whether your program is running in Visual Basic Or it is running from the compiled EXE. This Function tries to print in the immediate window using the Debug.print method, which is available only in VB IDE and will be removed while compiling the code to EXE (or dll or ocx). The value being print using Debug.print method the raises a division by zero error and the error handler set the InIDE function to TRUE. I saw another code in Planet source code doing the same thing using a static variable and also calling the same function recursively. but this code is smaller than that.

ASP_Volume2 #39147
MSFlexGrid Highlight

Shows how to highlight a row in the MSFlexGrid based on a Column name and Value given any color.

ASP_Volume2 #39155
OCX/DLL Detect - Find required OCX and DLL Files

You can find all required OCX and DLL files in your own VB projects.

ASP_Volume2 #39156
VBCompress

This code compress and expand files with LZ. The code is fully compatible to microsofts compress.exe and expand.exe.

ASP_Volume2 #39168
EASY Step-by-Step ANTIVIRUS or ANTITROJAN

Grr....They took down my last upload of this.. But here it is again! This is 5 easy steps to make ur own kewl anti-trojan or anti-virus.

ASP_Volume2 #39172
Call CDECL DLL's - impossible?

CDECL DLL functions cannot be called from Visual Basic... or so they'll tell you... such dll's use a incompatible technique for parameter stack cleanup. The included class uses VB+ASM to slay the "impossible" cdecl call dragon, even allowing 'C' style variable length/type parameter lists and the use of VB bas module functions as cdecl callback routines. The convention used with a cdecl function is that the caller cleans the stack on return; the stdcall convention is that the called function cleans the stack at function end. The advantage of stdcall is reduced program size, 6 calls to a function, one bit of cleanup code. The advantage of cdecl is that variable length/type parameter lists are "safe" because the caller, he who pushed the parameters onto the stack, cleans the stack... he knows exactly how many parameters he pushed and thus knows the required adjustment on function return. Years ago I worked on a team that lost a project because of our inability to speedily resolve this issue for a third-party dll - So, perhaps not the sexiest submission of the week, however, it might just save your a*s someday. The included sample demonstrates variable length/type parameter lists and callbacks routines, focusing on the std 'C' library qsort (quicksort) function.

ASP_Volume2 #39175
Search combobox and listbox as you type

See screen shot. Find text in a combobox or a listbox as you type.

ASP_Volume2 #39178
Improved XP Styles (UPDATED)

ONLY FOR WINDOWS XP OR ABOVE This is the Professional approach to enable XP visual styles in vb app. No Manifest files....no mess...2-3 clicks do the job. Actually, i was coding an app and wanted to implement xp visual styles in it. I found many submissions on PSC which were using the same technique, i.e create a manifest file in the same directory as the executable. Then i looked at Microsoft's apps like Notepad.exe, and wondered that they did not use any manifest file, actually the real technique is to embed the manifest XML in the exe's resources. So, here it is, the Easiest Professional approach to XP Styling. The procedure is simple, add the XPStyle user control and manifest.res to the VB Project and place the XPStyle user control on the very first form that loads in your app (mostly the MDI form) and then compile your code and run it to view the XP Styles applied. Isn't it easy...Please do vote if you like my submission. I'm not boasting that its the BEST technique, but i guarantee its the easiest and most workable thing.

ASP_Volume2 #39198
Protect your Apps with FAST-CRC Tagging

Very simple example on CRC checks on file. Program allows to add patching protection to an executable file. It consists of two different projects: the APPLY project which is a program that computes the CRC and adds a tag to the main file you want to protect, and the MAIN project which is the file that is to be protected. This code combines the wonderful fast CRC-computation class of Fredrik Qvarfort with the original idea of Detonate (which unfortunately is just too slow on files over 1MB), so please give them all the credits. this is just a simple implementation.

ASP_Volume2 #39203
shell Notification

It Is the Shell notification program. it Notify You For Every thing You Do In Explorer

ASP_Volume2 #39215
IP Address in MS Masked Edit Control

Enter IP Address into Microsoft Masked Edit Control, check if entry is valid (0-255) and jump to the next section of the mask using the dot (.) as separator, if the section is shorter than 3 digits (such as : 192.168.24.1).

ASP_Volume2 #39216
my calculator

a calculator . Its not the best one ever i know that .but it is my first time ever sending a program here . i dont expect lots of praise , but if someone can show me a beter way to do what i did i would be glad . i was told i should have used the select case for some parts but im sorry i didnt know how to.

ASP_Volume2 #39223
VBReFormer

A note on VBReFormer

ASP_Volume2 #39227
Useless Animation 2

I've added more movement to this version.There are still a few logic bugs, but will figure them out later.Although not really necessary to fix it, as this is mostly for fun and has no real use.

ASP_Volume2 #39246
System Resource Monitor

Monitor System resources & memory & log to Memory & File. Complete solution, including internal Log Handeling with easy-to-use interface, Plus file system methods.

ASP_Volume2 #39250
Multiple animated systray icons

A simple demo on how to 1) add many icons to the systray 2) scroll a custom text in the icons. From this example you can learn how to place icon to systray, learn how to use API (BitBlt used), how to convert a graphic to an icon, how to show a properly working popup menu in the systray icon and some other little coding tricks. The code is not optimized for speed, but is fully commented for your reading and learning pleasure. You are free to use this code in your programs and you don't need to mention my name anywhere (though it'd be great if you credited me or my site in your documentation). Vote if you feel so :)

ASP_Volume2 #39259
TaskBar Utilities - Made Easy

TaskBar Utilities - Made Easy is a program that hides the specific aread of TaskBar made easy... Please Vote!!! Thank You!!!

ASP_Volume2 #39263
CodersAssistant V2

Allows the user to perform bitwise logical functions in real time. Designed to assist with assembly coding, but is good for any bitwise coding. Great tool for learning HEX & Binary numbers also.

ASP_Volume2 #39265
Flash<=>VB Example with 3 CheckBoxes

VB might be one of the greatest tools for fast programming but - the user interface! isn't it at least a little clumpsy and boring? But there ist help, called macromedia flash! I think much mor coders would like to use flash-movies for the user-end but ... isn't it a pain to handle the inteface? NO IT ISN'T ans it's worth to become familiar to it!

ASP_Volume2 #39273
xdgDock (UPDATE)

This is a desktop "Dock" that allows you to create and delete shortcuts to your most used programs, an alternative to having to use the start menu or the Recent Used list upon it actually. This is the first of it's re-vamps, full skinning support coming soon, along with a system resources meter also! ____________________________ UPDATED! Simple Skinning Support is now in place, along with CPU and RAM usage that is now in a show-and-hide spot (see the new white icon on the bottom of the bar?) I have to give credit to the people that has made code that i am currently borrowin from, that is until i com eup with a more efficient way to do what i need for it to do... The Winux Project, for the RAM and CPU Usage AND the creator of B2 for me to get the system folders (Start Menu, Favorites, Ect...) Still has the delete bug in it (just exit out of it and then re-start it), and when you run it your task bar will go away, but just close the Dock and it will come back, that i sbecause in the next version there WILL be a start menu built in to it. READ THE HOWTO for doing skins, i would very much like to get people to make skins for this thing, you know? (HOWTO is in the Skins/Default folder AND in the root of the zipfile)__________________________ http://geocities.com/pfcmurphy/xdgDock.zip

Languages
Top Categories
Global Discovery