Results for "Volume: Java_Volume1"
A Windows like calender utility for date selection.
This code adds allows you to add menu item's on your form while you are running it(runtime :)...
Ok, I ran into a problem, MS out of some odd wisdom didn't do as you would think with the defaultvalue of a data column. you would think it so simple right? In a database such as SQL server you can set the default value to a function, I can do this with a datacolumn too such as. column1.defaultvalue = system.guid.newguid Though this has an issue, if you use this in a grid you will see as you add new rows that the darn guid is the same. It's calling the newguid only once when setting up the table and it's holding that value static for the rest of the life of the datatable\datacolumn. This goes against common knowlege in how MS does things in other area's, such as the before mentioned SQL server using NewID() will get you a new ID each time. Keep in mind that even other funtions like Now() (which returns current date time) won't work, the defaultvalue will always be the same datetime. So I don't have a solution for the default, I have a different solution. Custom datatable and custom datacolumn classes. You will see in my custom column style that there is a new property called (autogenerateguid)if set to true then it will then set each new row with the correct new guid. Though this is all code based, it works for what I need it to do. It also features the use of an un-documented function and class. NewRowFromBuilder Function System.Data.DataRowBuilder Class I've seen other post's that show to use the rowchanging or positionchanged events in order to do the same thing, this example gets to the source of the newrow creation. What would be better is that if you assign a function that MS would call that function each time instead of this lame static method.
A markov chain is a sequence of random variables in which the future variable is determined by the present variable but is independent of the way in which the present state arose from its predecessors. The code is a simple example of a markov chain that generates somewhat random text output from a given text input.
I had a problem when downloading mp3's. With no cd burner or network i couldn't get my mp3's to a friends house. So i made an mp3 splitter. A normal 4.0 mb song could fit on three disks. but it this splitter can support up to 30 mb's. I doubt any song is longer than that
This sample will teach you how to write your own controls. In this case blinking label control. This control is writen from begining. All ownerdraw. I hope it will help someone to learn how to override methods and write their own controls. Vote if you like it.
This program draws a reddish pyramid with a fountain in the middle which contains wavy water, and sprays out blue particles (well it was SUPPOSED to look like water, lol). There is also a red globe in the center of all of this floating in midair for no reason at all. This project was a great learning experiance for me, but keep in mind it isn't all original coding. I got the base code from Dustin Davis' project at http://www.planetsourcecode.com/xq/ASP/txtCodeId.1080/lngWId.3/qx/vb/scripts/ShowCode.htm and I learned much of the stuff that I added to it at nehe.gamedev.net.
Part 2 This changes the status bar prompt, after loading from "done" to anything you want.
This Script displays a different Banner each time your site is loaded.Took Me 5 minutes
If you want to hide your links from the status bar use this script
To every vb coder who once wished his/her program could easily transfer files across the internet (like ICQ): your dream has come true. These 2 simple functions take care of everything! Features: Toolkit provides both sender and receiver with the option to accept or decline the file transfer. A window with progress bar shows users the transfer completion level. Either user may cancel the transfer at any time. You can download an EXAMPLE PROGRAM showing how to easily integrate the file transfer toolkit into YOUR chat application.
I wrote this tutorial for those who wish to fully understand things from the beginning. If something is not explained clearly or is incoherent, please let me know and I will try to fix it ASAP!
This code can multiply, divide, add or subtract any values given to it. Its a very simple code but also being simple does do the job of any highly advacned programmed calculator
Converts Hex [0 - FFFFFFFF] to Decimal [0 - 4294967295] using Currency type to avoid the sign bit.
This program allows simple desktop access the the Microsoft Word spelling and thesaurus engine using OLE Automation. You can Spell Check, Produce Anangrams, use the Thesaurus and look up the meaning of words. THIS IS A COMPLETE WORKING APPLICATION
An Image Preloader preloads images to a web-page viewers hard drive before they need the picture. In other words, no more waitng for those darned mouseovers! Please Rate My Work!!!!
Simple function to check if file exists. Detects Normal & Hidden files. Improvement of code from Greg G., and incorporating a suggestion by Larry Rebich.
Do you use different user logins in Windows? Tired of having the same StartUp folder just because the users share the same Start Menu? Then this solves your problem!
This system will teach you how to: Populate the DataSet programmatically instead of with a wizard, Using stored procedures, fill a DataSet with complete tables from the database and then create relationships between the tables, Write the business logic to dynamically build a SQL statement to fulfill the user's criteria given on the Search Screen, Fill a DataSet with the results of the SQL query, Verify in the Output window that the data in the DataSet correctly reflects the user criteria entered on the Search Screen, Simple and complex data binding, Building the Add/View/Edit Products and Suppliers Screens, Using the ErrorProvider control to validate user input, Using DataViews to filter and sort data in the DataSet, Using the DataReader to return a single record, Updating a DataSet based on user input, Allowing the user to add, edit, and delete data in the DataSet on the Add/Edit/View, Products and Suppliers screens, Creating a second dataset that contains all changes made by invoking the GetChanges method, Checking for errors in the changed dataset by checking the HasErrors property, Saving the changes in the DataSet back to the database using Stored Procedures, Accepting or rejecting the changes made based on whether the updates were successful and Handling any errors that occur. Using Northwind SQL database
This example shows you how to create professional looking menus on your web pages with just 2 lines of java script code. The predominant amount of work is done with straight HTML and the Style tag. Menus, and menu items can easily be added. Example includes sub menus, color, and 3d effects. Highly customizable.