Advertisement

Results for "Volume: Java_Volume1"

Java_Volume1 #87062
Making Life Easier with Pseudo Code

The purpose of this article is to introduce you to the world of Pseudo Code and help you improve your development skills.

Java_Volume1 #87063
CommandBar

This is a remake of vbAccelerator's CommandBar Control. In this version, everything is included in one ActiveX control, so no dependencies (like SSubTimer and vbaImLst) required.

Java_Volume1 #87064
Remote MDB Access

This Active-X Control allows you to access your MS-Access file on your webserver.you only need to put the serverside script on the root of the webserver which you want to access the file I included scripts in ASP and ASP.NET Open the testproject that shows all the use this Control

Java_Volume1 #87065
A 3D Gouraud Shading w/o Blur Motion. Pure VB *UPDATED*

Rotation with Gouraud Shading its in *Pure VB* (only DirectX 7.0 initialization fullscreen mode, if you want to see rotating meshes in full screen). Runs faster on my K6-2 350Mhz, with 16 Mb Voodoo card, so imagine on Pentium IV or Athlon 2000 Mhz with ATI or nVidia card! xD. See screenShot to believe me. This source its a modification of 3DvbBlurMotion (see CodeId:51406). There is a flag to run the source at fullscreen mode (320x240 at 16 bpp). Use the keys Z,X or Y to change speed rotation. There is a flag to make blur motion to the mesh.I included a short "howto" txt file if you want to make your own meshes. Reports will be apreciated. Thanks for optimizations to Carles P.V. Enjoy it! *** UPDATE *** I just update more meshes, now are 28. The new meshes aren't LOW POLY optimizated. See READMEFIRST.txt for performance testing and other information. PSC don't let me upload this new meshes files. You can download from here: http://www.geocities.com/vbrules2k/meshes.zip (585 Kb aprox.) Sorry for this "trouble". See You, and thanks 4 the votes!

Java_Volume1 #87066
Direct Connect Client

It's logging into a Hub on DC (Direct Connect) It let's you talk and so on.. It's also very good for those that want to know how the Direct COnnect Protocol works like.. How to make a connection, How to send data and so on.. Use with care and have fun.. (DO not forget to vote if you like / Learned from it)

Java_Volume1 #87067
Auto wordwrap text with the fixed width

Sometime the string of a item in some grid or list control is too long to display it complete. So we want to auto display it with multi-line. My code just do it,It auto wordwrap the string with fixed width. You can define the dismember of each word,such as ",","?",":",and so on. after processing,this class will return the conten of each line ,and the height of block text following the font of hdc

Java_Volume1 #87465
Another Progressbar without any OCX

It's just one Sub-Procedure that can fill a picturebox as if it was a progressbar. Also you can choose one of more than eight different styles!

Java_Volume1 #87466
Clock with nice GUI effects

GUI (Graphical User Interface), Always-On-Top forms, Transparency with specified color, Clock

Java_Volume1 #87467
I ARE FILTER (aim proxy)

An AIM/SOCKS4 proxy with tons of features. You'll have to excuse the sloppy code as I've been working on this project for over 6 months. Check the readme.txt file for information on using it with AIM. Please vote!

Java_Volume1 #87468
A Network Drive Mapping Module

Module used to map network drives to next available drive letter and to disconnect network drives. Very Simple to use.

Java_Volume1 #87469
Text boxes 101

The purpose of this example is to show beginners some different ways to use text boxes. Some of the things include password masking using any character, limiting input to numbers only, locking and unlocking the box at runtime, dragging and dropping data between boxes and using drag and drop on the box itself to place it anywhere on the form. I've used PSC for several years now and decided to make some very basic examples for beginners. I also realize that all of this stuff is probably floating around here already, but I want to give my 2 cents worth. Examples for other controls will be added when I get the chance. I plan on covering them all, one at a time and try to be thorough for each. Happy coding.

Java_Volume1 #87558
File Finder v0.1

File Finder v0.1 will scan an entire disk, a directory tree, or a single directory, searching for the file you specify. It is very fast, and can scan a whole 10gb disk in under a minute (roughly 30-40 seconds). It displays all the matches it finds by filename, path, size, and file date/time. During searches, it displays stats of what it has found so far for you, so you can keep an eye on what is happening. This version (0.1) is fully functional, but is limited in some areas, such as wildcard usage. Version 1.0 will be a fully funcional search program, with all the bells and wistles, so look out for it shortly. The code used in this program is loosely based upon my previous submission, Drive Indexer (http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=53001&lngWId=1). If you like File Finder, please vote/comment. If I don't get enough interest, I won't bother with a new version.

Java_Volume1 #87559
Win CE Device Connection Detect II

The code is based on my article "Win CE Device Connection Detect". But someone may find it will be crashed for new version of ActiveSync. Thank Alber to remind me of this problem. After a simple test of my code, I have found why the code does not work. Once again VB's old problem, crash for multi-thread issue. As what we knew, VB is not a thread safety language. In this case, ActiveSync in process-server change the calling context to different context from original. It caused VB's runtime library crashed. Why does VB always crash for multi-thread? You can compile your VB code and generate a PDB for your debugger like VS or VS.Net.Use debugger to trap the error and you will understand why crash crash everywhere. VB's runtime always assumes we just live in single thread. Another solution for this case is creating a COM server and passes the object reference to ActiveSync's COM Interface. VB supports STA thread model and all of object calls will be protected by STA. But this is not what a good solution for this case "A simple implementation".My solution here is more complex but you don't have to create a COM server for your code. Since VB's code isn't thread-safety, we have to find it out and modify it. After observing the PDB behavior, we found following calls are not safe for MT. It's 'Any Win32 API code' and 'Most COM related VB-call'. Win32 API of VB's not safe. The problem is not caused by API but caused by VB's compiler adding some extra code (prolog/epilog) after each API calls (it's _VBASetSystemError and it's not safe). We use ReplaceVTableEntry technique to do a wrapper by VB's Module. Because function of a module in VB is not belongs to any object and it will be called safely. After our wrap functions are called, we need to do something like synchronization and force original thread to deal our request here. What can we do any synchronization stuff without Win32 API functions and most object calls? Here I design a simple mechanism for VB's user. I just pass all of parameters to a buffer and deal this buffer by a continual time-loop. You can see the code and know what it's. The problem is that we just deal the parameters asynchronous and never cares about something like thread-safety for parameters processing. But who cares!http://home.kimo.com.tw/kwyshell/http://kwyshekk.myweb.hinet.net/

Java_Volume1 #87560
ComTalk

This is a great program which uses MSAgent to create a helpful desktop character. ComTalk can tell you the time at regular intervals, remind you of dates, syncronise your clock to an atomic clock and has up to 10 voice-activated programs. Please vote and comments are appreciated.

Java_Volume1 #87218
File Exists on Remote FTP server

Use this program when you want to check if a file exists on the remote FTP server. I wanted an application similar to this very badly, but, coudln't find one anywhere. So, I decided to write this. This is an extremely simple program without any API, OCX,DLL etc. I assume you can use FTP from the command prompt. If you like the program, please vote.

Java_Volume1 #87219
CS Advanced NetStats Monitor

Uses the xp AllocateAndGetTCPExTableFromStack to get the standard netstats in xp but also the Process ID of what each connection has, thus letting us find out which program is on the net. This program came from 2 different sources one from here by JayStacey , who in his version had some of my bandwidth code and just a few bugs in the code, not much though. The second came from a VB .Net example here http://www.codeproject.com/csharp/iphlpapi.asp?target=netstat Nice program also uses the AllocateAndGetUdpExTableFromStack to get the UDP connections to. This program isnt perfect of course, nothing really is, and I dont get credit for the code, just cleaning it up. I did this example for I could learn of these new undocumented api calls for XP and 2003 (and hopefully furture versions.) I will be using this in a upcoming program of mine. Please enjoy the code and I hope you learn something, cause you wont find any documentation on it from Microsoft, as of yet anyways.

Java_Volume1 #87220
_ List Box Class (EXTENDS THE FUNCTIONALITY OF STANDARD LISTBOX CONTROL) _

The class file will add many useful features to the listbox, such as the ability to remove duplicates quickly, load a file, save the list, and much more. It also gets around the problem with a listbox only being able to hold up to 32,767 items without errors. Please Vote!!!

Java_Volume1 #87221
Dynamic Scrolling bar Chart using only Picture box, supporting two different display styles

This demo will let you display dynamic bar chart using two different styles, one static and other scrolling using only picture box,i searched many sites and codes for this functionality but can't get what i was looking for , the only solution i got used Microsofts MSchart Activex control but it was around "1 mb" more then my app. itself (if filesize is not a concern to u then it is the most flexible), so here it is a bar chart display using only picture box, pls. do vote if you liked it. also, don't forget to visit my website http://www.deepeshagarwal.tk for lots of free software's.

Java_Volume1 #87222
A Simple Hyperlink

A simple Hyperlink with Complete Mouseover effects that shows 2 ways to execute a url with less than 10 lines of code.

Java_Volume1 #87223
Absolutely Fastest, Smallest Code to Shutdown a Windows NT/2000/XP Computer

This code instantly shuts down any NT-based OS, ie Windows NT 4, Windows 2000, XP, Server 2003, Longhorn, etc. (Not 95/98/Me). I know there's a lot of code on the site that does this, but remember that on NT, things get harder because your process needs the shutdown privilege. Other coders have used Win32 APIs to gain this privilege, but as I have said in my previous articles...the power lies in Native API. In this unique example, only a single API call is needed to enable the privilege, followed by another API call to instantly terminate the computer. If you compile this application, double-clicking on it will shut down your PC within a second. Do what you please with it...it might not be very useful most of the time (because it doesn't save any files), but if you ever need a quick shutdown (let's say you just ran a virus), this is as fast as pulling out the power cord.

Languages
Top Categories
Global Discovery