Posts

Showing posts from 2012

WAY TO INCLUDE EXTERNAL JAR FILES(LIB)INSIDE PROJECT JAR

                                 WAY TO INCLUDE EXTERNAL JAR FILES(LIB)IN PROJECT JAR when we create a project using  net beans IDE the jar will be created automatically inside a dist folder which will be located  inside  the project folder itself .But this JAR will not contain the external jars which you have added for your projects.(jars inside the library folder). You can create a project jar that includes the external jars using the following step: 1.Go to the project folder which you  have created using netbeans IDE. 2.create a new folder named ' NewDist'  inside the project folder directory. 3.create a file named ' JarMaker.bat ' in the folder which you craeted( NewDist ). 4.copy the below code in the file. Code: ------- @echo off echo * --------------------------------------------...

RUN AND SEE THE MAGIC!!!!!!!!!!!!!!!!!!

Image
                                             RUN AND SEE THE MAGIC!!!!!!!!!!!!!!!!!!   Open notepad and copy the following code Save it as Anything.vbs Run the script by clicking the file and see the magic.!!! Set wshshell = wscript.CreateObject("WScript.Shell") Wshshell.run "Notepad" wscript.sleep 400 wshshell.sendkeys "H" wscript.sleep 100 wshshell.sendkeys "i" wscript.sleep 200 wshshell.sendkeys " " wscript.sleep 200 wshshell.sendkeys "I" wscript.sleep 200 wshshell.sendkeys " " wscript.sleep 100 wshshell.sendkeys "a" wscript.sleep 100 wshshell.sendkeys "m" wscript.sleep 200 wshshell.sendkeys " " wscript.sleep 100 wshshell.sendkeys "s" wscript.sleep 100 wshshell.sendkeys "a" wscript.sleep 100 wshshell.sendkeys "r" wscript.sleep 1...

Make A Live Disco On Your Keyboard!!!!!

Image
                                            Make  A  Live  Disco On  Your   Keyboard!!!!!                      1.open a notepad.    2.paste the code given below.            Set wshShell =wscript.CreateObject("WScript.Shell")            do            wscript.sleep 100            wshshell.sendkeys "{CAPSLOCK}"            wshshell.sendkeys "{NUMLOCK}"          ...

HOW TO USE NOTE PAD AS YOUR PERSONAL DAIRY!!!!!

Image
                                                                             HOW TO USE  NOTE PAD AS YOUR PERSONAL DAIRY!!!!! 1. Open a blank Notepad file. 2. Write  .LOG  and not  .log  (case sensitive) as the first line of the file, followed by a enter. Save the file and close it. 3. Double-click the file to open it and notice that Notepad appends the current date and time to the end of the file and place the cursor on the line after. 4. Now type your notes, save and close the file. 5. Now place the cursor on the line after and type your notes. Each time you enter your notes, the time and date gets attached to the notes. Thus your Personal diary is ready to use now !