| Blog Messages | View My Message |
Add Messages |
| Test |
| By : Dhananjay |
|
posted on 25.10.07 @ 21:35 Hello |
| File Handling at Client Side using Javascript |
| By : Dhananjay |
|
posted on 19.07.07 @ 01:19 File handling in Javascript can be done using FileSystemObject object, and its properties and methods. This object is part of Microsoft\' Scripting Engine, and thus this column is applicable only to Microsoft Windows operating systems.
The following piece of code creates a new file at the specified location and write the line
\"File handling in Javascript \" into it.
var fso = new ActiveXObject(\"Scripting.FileSystemObject\");
varFileObject = fso.OpenTextFile(\"C:\\\\Sachin.txt\", 2, true,0); // 2=overwrite, true=create if not exist, 0 = ASCII
varFileObject.write(\"File handling in Javascript\");
varFileObject.close();
The parameters for the function OpenTextFile are as follows:
Parameter 1: PATH - The file gets created at the path specified on the client machine. If only the file name is mentioned here, the file gets saved on the desktop of the client system.
Paramter 2: I/O mode, indicates the mode of the file opening. Possible values are:
1 Opens the file for reading.
2 Opens the file for writing.
8 Opens the file for appending.
Parameter 3: CREATE, is a Boolean value indicating whether to create the file if does not exist (true) or to issue an error message if the file does not exist (false).
Paramter 4: FORMAT, is optional and indicates the file type. If not specified, the default file type is ASCII. The possible values of format are:
TristateUseDefault -2 Opens the file using the system default
TristateTrue -1 Opens the file as Unicode
TristateFalse 0 Opens the file as ASCII
http://www.codeproject.com/useritems/JavaScript__File_Handling.asp |
| Rules |
| By : Manish |
|
posted on 09.07.07 @ 23:21 Learn the rules so you know how to break them properly .... |
| X-Lite configuration |
| By : Abhay |
|
posted on 29.06.07 @ 23:56 If your DTMF tones do not work once you are in a call please try this:
Dial ***7469 (send)
Once you get the advanced options menu up, filter first for DTMF.
Find the Force Inband DTMF entry, double click on the entry and change the value accordingly. (0 or 1)
Then filter for 2833. Find the RTP 2833 enabled line, double click on the entry and change this value accordingly. (0 or 1)
Setting both to 0 will result in your sending SIP INFO DTMF.
One of the 4 combinations available should work for your server. (11, 10, 01, 00) |
| Do not use alert but firebug |
| By : Abhay |
|
posted on 02.06.07 @ 01:38 download from http://www.getfirebug.com
this is indeed the best way to fix html/ javascript code debugging css
use console.debug
console.info
console.warn
console.error
to have messages on firebug console. |
| DDD for C and java debugging |
| By : Abhay |
|
posted on 02.06.07 @ 01:25 http://sourceforge.net/projects/ddd
see this for visual studio like testing and debugging tool for java , c ,c++ and perl . |
| Mochikit for generating javascript application |
| By : Abhay |
|
posted on 02.06.07 @ 01:22 see www.mochikit.com for drag and drop functionality with js , also interpreter and GUI for generating javascript |
| REDHAT Enterprise 4 on Pentium Dual Core Machine |
| By : Kesh@Cancer |
|
posted on 26.05.07 @ 04:27 Some times there are errors on installing Linux on the new Pentium Core Dual Processor machine.
In that case start the installtion by:-
linux all-generic-ide pci=nommconf
and it will start your installtion as usual...
after installation make the changes in /etc/grub.conf--------
kernel /vmlinuz -2.6.9.5.ELsmp ro root=/dev/VolGroup00/Logvol00 all-generic-ide pci=nommconf rhgb quiety |
| think positive |
| By : Shraddha |
|
posted on 02.04.07 @ 21:04 Things don\'t get better by worrying about them |
| Friend |
| By : Dhananjay |
|
posted on 30.03.07 @ 05:09 A true friend is someone who thinks that you are a good egg even though he knows that you are slightly cracked. ... |
| Leadership |
| By : Gomathy |
|
posted on 29.03.07 @ 22:46 Management is doing things right; leadership is doing the right things!*!*!. |
| Friend |
| By : Gomathy |
|
posted on 29.03.07 @ 22:40 A friend is someone we turn to
when our spirits need a lift.
A friend is someone we treasure
for our friendship is a gift.
A friend is someone who fills our lives
with beauty, joy, and grace.
And makes the whole world we live in
a better and happier place. |