User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 427,940 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,656 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Showing results 1 to 31 of 31
Search took 0.01 seconds.
Posts Made By: puneetkay
Forum: Java 2 Days Ago
Replies: 4
Views: 97
Posted By puneetkay
Re: trouble importing commons-io-1.3.2

Hello again,

If you have successfully added library to your project. Then just simply use Import statement in your java classes

Info about Use and Import Packages: Click Here...
Forum: Java 2 Days Ago
Replies: 3
Views: 109
Posted By puneetkay
Re: list

Heres the sample code:
ArrayList<String> arr=new ArrayList<String>();
arr.add("Test");
arr.add("Test1");
arr.add("Test2");
arr.add("Test3");
arr.add("Test4");

for(String a :...
Forum: Java 2 Days Ago
Replies: 4
Views: 97
Posted By puneetkay
Re: trouble importing commons-io-1.3.2

Hello,

Right Click on project and go to BuildPath, then click on Libraries Tab.

Click 'Add Library' button then create a User Library, Name it and import JAR into that library.

Now, Select that...
Forum: Java 19 Days Ago
Replies: 0
Views: 154
Posted By puneetkay
SMS Sender Software ( Need Help )

Hello,


Im planning to design a software that will send SMS to a group of numbers. Users will be able to create unlimited group and add unlimited numbers.

It will work same as Nokia PC Suite SMS...
Forum: C# 20 Days Ago
Replies: 12
Views: 11,023
Posted By puneetkay
Re: Unable to view message if wrong data enter or null data enter

It works when correct details are entered ?

I checked it again and working fine with me.

Regards,
Forum: C# 21 Days Ago
Replies: 12
Views: 11,023
Posted By puneetkay
Re: Unable to view message if wrong data enter or null data enter

Hello,

if (admId == autAdmin && passw == autPass)
{
MessageBox.Show("Welcome!");

}
...
Forum: Java 23 Days Ago
Replies: 6
Views: 323
Posted By puneetkay
Re: Help with my main method

Hello,

For now, i have 2 ways in my mind. (Recursive method & Do While loop).

1st One) Create a method and cut body of main method into it. Then on showOptionPane if user entered YES then call that...
Forum: JSP 23 Days Ago
Replies: 13
Views: 635
Posted By puneetkay
Re: help me

Hello,

There are two ways to add usernames from ArrayList to ComboBox (that i have in mind now).

One is using forloop, Get each username from ArrayList and add it to ComboBox.

and second one is,...
Forum: Java 24 Days Ago
Replies: 3
Views: 264
Posted By puneetkay
Re: Stack

Hello,

Please check here : http://java.sun.com/javase/6/docs/api/java/util/Stack.html

Hope this will clear your confusion :)

Regards,
Forum: Java 24 Days Ago
Replies: 8
Views: 355
Posted By puneetkay
Re: Help With BMI Calculations

Oops! sorry about that. Please mark this thread as Solved. :P

Regards,
Forum: Java 25 Days Ago
Replies: 17
Views: 610
Posted By puneetkay
Re: Need urgent help! please.

Ok, Its done!



import java.io.*;
import java.util.*;

public class Postfix
{
private static Stack operators = new Stack();
Forum: Java 25 Days Ago
Replies: 8
Views: 355
Posted By puneetkay
Re: Help With BMI Calculations

No, Im trying to help him with the simplest way as you can see he is newbie.

Even, im a newbie. im just sharing my knowledge here :) If im wrong, you seniors are here to help us.

Regards,
PuneetK
Forum: Java 25 Days Ago
Replies: 7
Views: 257
Posted By puneetkay
Re: JCombobox

I think, the you better add items as String then you will be able to add 00, and use items index number.

By doing this, you will be able to add 00 and index will be same as value because you will...
Forum: Java 25 Days Ago
Replies: 17
Views: 610
Posted By puneetkay
Re: Need urgent help! please.

Hello again,

Its working fine with me.



Only space is required.

If im still missing something. Please be more clear :)
Forum: Java 25 Days Ago
Replies: 8
Views: 355
Posted By puneetkay
Re: Help With BMI Calculations

Hello again,

There must be some calculation problem then because program is working and giving an output too. I dont know about BMI formula so i cant tell you surely.


weight *= pound; // Equals to...
Forum: Java 25 Days Ago
Replies: 7
Views: 257
Posted By puneetkay
Re: JCombobox

cboStart.addItem(new Integer(1));
cboStart.addItem(new Integer(2)); // and so one to 12

cboStart.addItem(1);
cboStart.addItem(2); // and so one to 12


Use any of these two...
Forum: Java 25 Days Ago
Replies: 17
Views: 610
Posted By puneetkay
Forum: Java 25 Days Ago
Replies: 8
Views: 355
Posted By puneetkay
Re: Help With BMI Calculations

Hello,

try this :


double pound = .0453592;
double inches = .0254;

Scanner scan = new Scanner(System.in);
Forum: Java 25 Days Ago
Replies: 17
Views: 610
Posted By puneetkay
Re: Need urgent help! please.

StringTokenizer st = new StringTokenizer(s);

Creates a StringTokenizer for the String s that uses whitespace (blanks, tabs, newlines, returns, form feeds) as delimiters.

But your input string:...
Forum: C# 34 Days Ago
Replies: 4
Views: 202
Posted By puneetkay
Re: help with text file

Hie,

This one is just a simple program that creates a StreamReader object for adding a text into list by reading settings.ini file. Program is using Do While loop for reading.

That means, code in...
Forum: C# Jul 11th, 2008
Replies: 2
HCF
Views: 371
Posted By puneetkay
Re: HCF

Hie,

Thanks buddy, but i didnt really get the algo.
Heres the one from me:
=======
1 Input: num type variables M,N, HCF. (eg: M=100, N=125)
2 Find the smaller one from M,n. (eg: smaller: M)
3 Start...
Forum: C# May 14th, 2008
Replies: 3
Views: 321
Posted By puneetkay
Re: GUI - very simple, but still couldnt solve, help pls

Hie again,

Yes, im also using Visual Studio .NET 2008.

What i want to know is.. What is "myRect" ??

Waiting for your reply!
PK:)
Forum: C# May 14th, 2008
Replies: 2
Views: 396
Posted By puneetkay
Re: Help with GUI. Updating between 2 forms.

Hie Jerry,

Thanks for reply and helping me.

Actually, your code didnt help me that much but thanks for the idea! Its working now :)

Regards,
PK:)
Forum: C# May 14th, 2008
Replies: 2
Views: 396
Posted By puneetkay
Help with GUI. Updating between 2 forms.

Hie guys,

Im creating a program that will display the details of every state of India when user will click on that states button.

I have two forms:
Main.cs = MdiParent form for program.
India.cs =...
Forum: C# May 14th, 2008
Replies: 2
Views: 409
Posted By puneetkay
Re: how to compute a string in c#???

Hie Umang,

As i know, you cant do manipulations in string type variables.

You will have to use int, float or double type variable for it.

class Program
{
static void Main(string[]...
Forum: C# May 14th, 2008
Replies: 3
Views: 321
Posted By puneetkay
Re: GUI - very simple, but still couldnt solve, help pls

Hie bagi,

Im also new in VC#(GUI) but still i have knowledge of C#(Console Applications).

Can you please tell me which tool are you using ? as im unable to find the tool for draw ellipse.

Waiting...
Forum: MS SQL Mar 6th, 2008
Replies: 12
Views: 15,356
Posted By puneetkay
Re: how to delete duplicate record in a table by using SQL query

Well guys.. im new for MS SQL.. i have a solution & it worked perfectly with me.

while creating table just add an extra attribute using identity keyword:
attributename int identity(1,1)
so everytime...
Forum: C# Jan 28th, 2008
Replies: 6
Views: 7,759
Posted By puneetkay
Solution Re: Displaying Prime Number

Hie Rhohitman,

Thanks buddy for snippet link but you are on C# section & thats a C++ snippet. :D
Forum: Software Developers' Lounge Nov 26th, 2007
Replies: 56
Views: 5,523
Posted By puneetkay
Re: Where are you guys from?

Same hea! INDIA :D
Forum: C# Nov 26th, 2007
Replies: 1
Views: 407
Posted By puneetkay
Help Error while running program. Please help!

Hello all,

I have created few programs & then i reinstalled windows on my pc & now all programs isnt working ?
Whenever i try to run them its shows Application Error - The application failed to...
Forum: C# Nov 21st, 2007
Replies: 6
Views: 7,759
Posted By puneetkay
Solution Re: Displaying Prime Number

Hie guys!

Heres something i have created to display all the prime numbers from zero up to the number entered by user.

using System;
class pnumber
{
public static void Main()
{
int value; // Value...
Showing results 1 to 31 of 31

 
All times are GMT -4. The time now is 6:45 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC