Results for "Volume: Java_Volume1"
Provides ease for Async Download requests, includes support for the following alternative AutoRedirection with cookie support, posting data to a url, authentication, proxy usage, resuming from file or data, write directly to a file or buffer response.
This code gives the "enter" key the same functionality as the "tab" key in a vb form. When the user presses the "enter" key, it moves the focus to the next control, based on the tab index order. Don't forget to set the KeyPreview property of the form to True. (My thanks to Pennington. His TabToEnter2 code laid the foundation for this code.)
Just a small program to flip a string
Easily create a drop down menu for navigation on a webstite. There can be an unlimited number of independant menu-bars, each of which can be fully customized.
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.
Easily add a shopping cart to your e-commerce site! All you have to do is call a few simple JavaScript functions. Very little knowledge of JavaScript or HTML is required!
This may seem simple but I didn't find anything like this anywhere and I thought I should add it so it will help others. This artitle is to show you how to send a string variable as a downloadable file in asp.net.
Makes a little pong style game
The program is a basic cd player in MS J++. It utilizes the Win32 APIs 'mciGetErrorString' and 'mciSendCommand' to talk to your cd drive. It works fairly well. It has all standard cd player functions, including: Play, Stop, Pause, Eject, Back, Forward. I also included a drop-comboBox to jump directly to a track. Check out my screen shot to see the excellent user-interface. The program also implements my 'FlatButton' control that I created to mimic that of CorelDraw.
First off, I am not the original author. I merely ported the C# sample to VB.NET. The purpose of this code is to help you implement a Plug-in framework for you applications. This will allow you, and others, to extend your original application without having to re-compile the main application. All credit goes to Roy Osherove for the original source, plus links to his homepage and 2 MSDN sample projects can be found in the readme.html file of the zip file. Enjoy.
Loads an animation file (.LCD or VMI/VMS pair) created with the DREAM ANIMATOR and www.booyaka.com, and displays it in mini or normal size. (has javascript control options). This is not a DREAMCAST VMU emulator, just an animation player. Show how to read files into vectored arrays of classes of classes. Converts binary data into images, stored as frame classes stored in Animation class used by main class.
This code reads a CD's Identification Number and then access the CDDB for a list of Tracks and information about the CD.
Very useful Java script code for validating date strings such as might be entered on a form. Also function to format date string to standard mm/dd/ccyy format.
This code was written to display an image an constantly refresh it without reloading the entire page. This works great with webcam software that constantly uploads a picture to your server. All you have to do is put this applet into your page with the name of the image in the Tag, and it will constantly refresh the image without forcing an entire page reload. This example includes a test image, test page, the class file, and the source code java file.
Simple code to do a simple thing.....Allows user to enter 10 number and puts those numbers into a number array, the prints it back to the user in reverse.
A Easy way to READ/WRITE and DELETE from the registry. I've designed this class to be as easy as posible to use. To read write and delete from the registry is actually easy (if you know how). With this code you can be a pro in the regestry without realy working with the nitty-gritty of the API Call's etc. Hope you guys/gals out there could use this code. Thanks VB Qaid for the Write Reg functions. I have to thank all the input I got in the comment section of this code as well. You guy's made this code better, I thank you (Enrique, Chris).
This just for beginners. It shows how variables can exist in different scopes
This code allows the user to find the area of circle by clicking a command button and then typing in the radius of the circle. It is very helpful to anyone working on a calculator project. I am also coming out with area of triangle and square.
DataEasy_VB: is an application written in Visual Basic.Net (converted from the c# similar submission as some of you requested) which would allow the user to load any Microsoft Access file (file format '.mdb'). This application uses OleDb as a backhand communicator with the file to allow the user to : select, delete, insert and modify the database and then save all the changes to the original file. Along with the Data Grid control TextBoxs and Labels are generated automatically and dynamically at run time to allow easy and efficient data input according to the data in the .mdb file loaded. If the file has more than one table in its database, a combobox in the application will allow the user to choose which table to work on. By right clicking column headers who’s data type is either ‘integer’ or ‘DateTime’ the user can opt for either inserting Automatic numbering based on previous cell’s value incremented by 1 or insert that day’s date automatically in their respective column on adding new data. Also provided a Search and Filter capability, by right clicking the search form’s column headers the user can filter in the element (of the column clicked) he\she wants to view. Multiple filtering can be done by filtering more than one column. The user can also use a simple search, by typing in the search textbox to find data in the database. I have included a database file ‘textbooks.mdb’ file with the application so you can try the program. I hope this program will be useful in learning how to load and modify databases and link to ‘mdb’ files, your votes will be highly appreciated :).
This code provides a client-side custom "drop-down" box in a table format. The table format allows you to have more information in a column format for a given "option". IE 4.0+