Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
14% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
8
Posts with Downvotes
6
Downvoting Members
6
2 Commented Posts
~28.2K People Reached
About Me

A passionate software engineer. Software engineer by interest and tester by fate.

Interests
Programming,Testing,Football,Songs,Driving
PC Specs
Miscrosoft Vista(32-bit) Home Premium Service Pack 1Intel Core 2 DuoT6500 @ 2.10 Ghz2GB RAM
Favorite Tags

133 Posted Topics

Member Avatar for derekcpt

[code=html] <html> <body> <form> <input type="text" id="field1"> <input type="text" id="field2" ><br> Answer <input type="text" id="ans" onfocus="document.getElementById('ans').value=document.getElementById('field1').value*document.getElementById('field2').value" > </form> </body> </html> [/code] When you Click on the 3rd field, it will display the answer i.e. the product of the first field and second field. I hope this is what you wanted. …

Member Avatar for jubbar003
0
183
Member Avatar for anithasalavadi

If you want to open the excel file in the same window the following steps can be followed: 1. Go to Windows Explorer. 2. On the Tools menu, click Folder Options, and then click on the File Types tab. 3. From the Registered file types list box, select the XLS …

Member Avatar for Makara
0
5K
Member Avatar for anuj_sharma

Hey Guys, I am interested in web development but i am confused in which platform to choose, Java or .NET. I have done core java but i got to know from somewhere that Java is basically for software development and DotNet is specifically for web development but Java can be …

Member Avatar for rumisa
0
342
Member Avatar for anuj_sharma

Hey Guys, I've made a couple of web pages and now i want to add a master page to all the pages. But when i tried to add the master page the following error occured "Content controls have to be top-level controls in a content page or a nested master …

Member Avatar for ShivaSaurabh
0
540
Member Avatar for faiza
Member Avatar for anuj_sharma

Hi, I am trying to add content to an excel sheet using the below code. However, when I open the excel sheet, nothing is added. Please advice. public class StepNoToExcel { HSSFWorkbook wb = null; String fileName = "C:\\StepNoForEvidences.xls"; File file = null; StepNoToExcel() { file = new File(fileName); if(!file.exists()) …

Member Avatar for dougWill
0
283
Member Avatar for anuj_sharma

Hi, I am trying to develop something but I am stuck. it's not about the code but about the implementation. The application captures screenshots and then inserts all the images in a RTF document. Now, the user is also supposed to write a one line description for each image inserted. …

Member Avatar for rtellez700
0
155
Member Avatar for anuj_sharma

Hi, I need to write a program which can decrease the free disk space. For eg, if the free disk space is 5GB, the application should ask the user how much space do you want occupy. Application should take the input eg, 2GB and decrease the disk space to 3GB. …

Member Avatar for anuj_sharma
0
113
Member Avatar for bo0ga

> new Try using this: while (!(line = reader.readLine()).equals("<title>")) Not sure that the logic you are using will get the desired results. Try thinking over it again.

Member Avatar for NormR1
0
209
Member Avatar for anuj_sharma

I have created an application which puts all the images at a user defined location in a rtf document. The code is working fine and the images are getting inserted. However, if I open the document and add some text manually and save the file, the file size increases dramatically. …

Member Avatar for anuj_sharma
0
643
Member Avatar for anuj_sharma

Hi, I created an application which allows a user to capture screenshots and save them as images at a pre-defined location. Now, I want to insert the saved images to a word document. I am aware of Apache POI, but that is still under development and it seems that you …

Member Avatar for anuj_sharma
0
1K
Member Avatar for anuj_sharma

am trying to add images to a rtf document. I am able to add images to the document but I can't append any images. This means that when the 2nd Image is added, the first image is removed. I think that whenever the code is executed a new rtf document …

Member Avatar for anuj_sharma
0
1K
Member Avatar for anuj_sharma

Hi, I am trying to create document using iText. I am using Eclipse IDE. I've imported the jar files (itextpdf-5.2.1.jar and itext-xtra-5.2.1.jar). However RtfWriter2 is not being recognised as a class. Document doc = new Document(); RtfWriter2 writer = new RtfWriter2(); RtfWriter2.getInstance(doc,new FileOutputStream("testRTFdocument.rtf")); Can someone help me in figuring out …

Member Avatar for anuj_sharma
0
367
Member Avatar for anuj_sharma

Hi, I've created a small application that allows the user to capture the screenshot and save the image at a user defined location. It also allows the user to capture the screenshot of the active window as well. The issue is with the active window. I have learnt that Java …

Member Avatar for anuj_sharma
0
360
Member Avatar for anuj_sharma

Hi, I have an application that is running in the system tray. It displays a popup menu when the user right clicks on it. I need to set shortcut keys for displaying the popmenu and also for the menu items. Is this achievable? If yes, then please advice.

Member Avatar for anuj_sharma
0
148
Member Avatar for anuj_sharma

Hi, I am trying to get a screenshot of the active window on the screen, for which unfortunately Java does not have an API. It allows me to capture the screenshot of the whole screen but not of the active window. Now, I did a bit of workaround but it …

Member Avatar for anuj_sharma
0
263
Member Avatar for anuj_sharma

Hi, I am trying to start to learn Delphi but I am unable to find any useful resources. I am not even able to find any IDE to download !!! I am very new to Delphi and need your help. Give me some tips to start from and then from …

Member Avatar for anuj_sharma
0
127
Member Avatar for anuj_sharma

Hi, I am getting an error "Illegal Start of Expression" on the following code: [CODE] obj.NoOfJumps(1, 2, 3, {1,2,3}); [/CODE] Here, NoOfJumps is a method defined in a class which does not have the main method. This method accepts 4 arguments namely 1)Integer 2)Integer 3)Integer 4)Integer Array Can someone please …

Member Avatar for Ezzaral
0
149
Member Avatar for agmolina90

What trouble are you facing? What error are you getting?? If you analyse the error closely then you might be able to debug.

Member Avatar for Taywin
0
602
Member Avatar for anuj_sharma

Hi Everyone, What is the difference between a software getting installed on win xp and win 7? Is there any difference and if there are how can you check the differences?

Member Avatar for W1ND0W5
0
220
Member Avatar for justyno

Schedule the process using Windows Task Scheduler i.e. if you are on Windows platform or the GNome Task Scheduler for Ubuntu.

Member Avatar for peter_budo
0
63
Member Avatar for sear899

I agree with Peter on this. Everyone has their own reading pace and some books might help and some will not. My recommended book to start off java would be Complete Reference by Hebert Schidlt. It really helps you with the basic concepts.

Member Avatar for peter_budo
-1
131
Member Avatar for anuj_sharma

Hi Guys, I was going through a [URL="http://www.daniweb.com/software-development/java/threads/374765"]thread[/URL] in this forum and there is one very good reply to this thread. In the past Ive never used such techniques to idetntify how many classes would I create in my program, thus my programs used to be complex. Can you suggest …

Member Avatar for JamesCherrill
0
169
Member Avatar for sneha mehta

Would you please give me the code for it..i m bit confused what to do in this program?? Hope this helps. import java.io.*; class sumNo { public static void main(String args[]) { int prevNum=0,currNum; BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); char ch; try { do { System.out.println("Enter a number"); currNum=Integer.parseInt(br.readLine()); …

Member Avatar for masijade
0
86
Member Avatar for anuj_sharma

Hey Guys, I have the following code: [CODE] class A { int a,b; A(int i,int j) { a=i; b=j; } void showab() { System.out.println(a+" and "+b); } } class B extends A { int k=20; void showabk() { System.out.println("a="+a); System.out.println("b="+b); System.out.println("k="+k); } } class Test { public static void main(String …

Member Avatar for anuj_sharma
0
93
Member Avatar for oldezwe

I am guessing that you will be creating this on JSP. For staters you could get help with below: 1)Users will register a username, password, and weblink to their account Create two textboxes namely 'username' and 'passwd', and one submit button. 2)There will be restrictions to the password in length …

Member Avatar for anuj_sharma
0
162
Member Avatar for anuj_sharma

Hey Guys, I have the following code. [CODE] public class Main { static int a = 3; static int b; static void math(int x) { System.out.println("x = " + x); System.out.println("a = " + a); System.out.println("b = " + b); } public static void main(String[] args) { math(100); } static …

Member Avatar for stephen84s
0
106
Member Avatar for Sidd_

I am guessing that you havent even tried searching it for yourself. So my advise would be to first search yourself and then if you have nay problems, then we will be happy to help you.

Member Avatar for anuj_sharma
0
106
Member Avatar for LianaN
Member Avatar for anuj_sharma

Hi, Can anyone tell me what is the problem with the below code: [CODE] String eleSrc=srcEle.toString(); String srcdata_list[]=eleSrc.split("-"); String eleDest=destEle.toString(); String destdata_list[]=eleDest.split("-"); int found=0; for(int i=0;i<srcdata_list.length;i++) { for(int j=0;j<destdata_list.length;i++) { if(srcdata_list[i].equals(destdata_list[j])) { found++; System.out.println("matches"); System.out.println("after matches"); break; } else { System.out.println("in else"); } } System.out.println("out of first for lopp"); if(found==0) …

Member Avatar for anuj_sharma
0
339
Member Avatar for charlie123

Well i think that JSP is much more secured than the other two. I hope some professional can clear this out. :)

Member Avatar for kwesiaryee
0
247
Member Avatar for anuj_sharma

Hi, I have two XML files namely (1)'message_gen.xml' and (2)'message_user.xml'. The (2) file is correct and the (2) is generated by an application. The (2) file should be same as that of the (1) file i.e. it should have the same elements, the same element content. I am currently using …

0
86
Member Avatar for anuj_sharma

Hey Guys, Can anyone please provide me the link for downloading Visual Studio 6.0(Full Version) Thanks.

Member Avatar for abelingaw
0
229
Member Avatar for anuj_sharma

[CODE] #include<iostream> #include<conio.h> #include<string.h> using namespace std; int main() { char ch; do { char str[80]; cout<<"\nEnter The String\n"; gets(str); int len=strlen(str); for(int i=0;i<len;i++) cout<<str[i]; cout<<"\nContinue?\n"; cin>>ch; } while(ch=='y' || ch=='Y'); getch(); return 0; }[/CODE] On executing the above program, the loop asks "Continue?" only once and after that it …

Member Avatar for anuj_sharma
0
100
Member Avatar for anuj_sharma

Hey guys, Please tell me how to load data from an excel file to a mysql database using jsp.

Member Avatar for kumar pushkar
0
112
Member Avatar for NewOrder
Member Avatar for blood08

You've missed out on a semicolon after 'die'. do this: .... or die(mysql_error()); This will not give an error

Member Avatar for saiprem
0
265
Member Avatar for anuj_sharma

Hey Guys, I have a form which on submission inserts value to the database using ajax. But i want that after the values have been inserted the form should reload which means that i want only the form fields to be reset. Please tell me how to do this.

Member Avatar for Thirusha
0
81
Member Avatar for anuj_sharma

Hey Guys, Should i use hidden textboxes or session variables to pass values between various jsp pages??

Member Avatar for jwenting
0
88
Member Avatar for anuj_sharma

Hey Guys, I am making a Online Testing application. I have one form which sets the settings of the test. The values submitted by the user through this form is passed onto another page. On the second page the user submits questions and answers. Now i want the values submitted …

Member Avatar for peter_budo
0
88
Member Avatar for anuj_sharma

Hey Guys, I want to add options to a dropdownlist based on the selection of item in another dropdownlist. But i want the items to be retrieved from the database in the second dropdownlist and i want to do this using Ajax. Please suggest, if possible with some codes.

0
80
Member Avatar for anuj_sharma

Hey Guys, I have often noticed that most times when we register to a website it asks for a long length password. Why is this so?? What not use shorter length passwords as it would be much more easier to learn. I hope i am not asking a silly question.

Member Avatar for Graphix
0
72
Member Avatar for GiRL,IT
Member Avatar for anuj_sharma

Hey Guys, I want to redirect a page to another page in JSP after a certain validation has been done using AJAX. If the validation is done it should redirect the user to another page but if validation is not done then it should remain on the same page. Please …

Member Avatar for futingkiller
0
118
Member Avatar for anuj_sharma

Hey Guys, I am using JSP with AJAX. After a certain JSP script is processed the output is sent to the responseText. Now, I want to check what output responseText consists so that i can perform further processing. For eg, I want responseText to contain"yes" or "no" and depending on …

Member Avatar for Airshow
0
170
Member Avatar for Dani

A web Developer but not an expertise in one technology. I have developed web applications on ASP.NET, PHP & MySQL and currently i am working on JSP.

Member Avatar for anuj_sharma
2
760
Member Avatar for anuj_sharma

Hey Guys, I am using Ajax with JSP.What I am trying to do is when the user enters a name and clicks on the button it goes to a jsp page. On the jsp page it is checked whether the name is present in the database or not. If it …

Member Avatar for Airshow
0
77
Member Avatar for anuj_sharma

Hey Guys, I want to convert a character to it's bit representation. For eg: If i have the char 'J' then it's bit representation is '01001010'. Pleae tell how??

Member Avatar for masijade
0
87
Member Avatar for anuj_sharma

Hey Guys, I want to use mySQL with java and for this purpose i downloaded the mysql-j connector from the mysql website. But i dont know how to poceed forward. Please help..

Member Avatar for Ezzaral
0
95
Member Avatar for sudharani

You can install IIS as follows: 1)Go to control Panel 2)Go to Add/Remove Windows Components 3)Check IIS n Click OK

Member Avatar for thewebhostingdi
0
78

The End.