Getting an enum back from string
0
binding a combobox to an enum property
8
I like to have these two methods in my toolbelt, even though it's syntactic sugar, I think it aids clarity.
8
This routine will get an image stored in a SQL database (IBM Informix shown here) as a BLOB and return it to the screen.
To place this on an HTML page simply add
I have an MD5 hashed version as well, but can't share that...(So you can have encrypted id's passed)
Have fun,
Jeremy
To place this on an HTML page simply add
I have an MD5 hashed version as well, but can't share that...(So you can have encrypted id's passed)
Have fun,
Jeremy
9
The easiest way to give columns in a DataGrid the look you want is to use a DataGridTableStyle and to add a GridColumnStyle for each column in the grid.
10
Adds any character at the given index of a string.
NOTE: Count starts from 0
NOTE: Count starts from 0
10
This simple function simply removes the character at the given index from a string.
NOTE: The count starts from 0
NOTE: The count starts from 0
3
create a random string of 16 chars
6
I use something similar to this in an application named Shock 3. It provides you with your own Custom settings that can handle your own Custom types as well.
9
Function that splits a given string into sections based on the allowed length for a section. Does not split words up. Splits string on Space character (can be set to another character)
4
To create a chatprogram in java we need 2 classes one for Client and one for Server from which the client will be able to connect and exchange text messages. to compile the code simply type these commands in command prompt window:-
1)ipconfig(memorize the Ip address)
2)javac client.java
3)javac server.java
4)java server 10.69.23.203 (You need to type your own ip address)
5) After this you need to open another command prompt window(Make sure the server command prompt window is also open). now type:
java client 10.69.23.203
Thats it.
if anyone have any problems please post a comment and i will answer all of your questions or if you are having trouble in compiling.
1)ipconfig(memorize the Ip address)
2)javac client.java
3)javac server.java
4)java server 10.69.23.203 (You need to type your own ip address)
5) After this you need to open another command prompt window(Make sure the server command prompt window is also open). now type:
java client 10.69.23.203
Thats it.
if anyone have any problems please post a comment and i will answer all of your questions or if you are having trouble in compiling.









