Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
84% Quality Score
Upvotes Received
17
Posts with Upvotes
17
Upvoting Members
14
Downvotes Received
3
Posts with Downvotes
3
Downvoting Members
3
3 Commented Posts
0 Endorsements
Ranked #464
~37.3K People Reached
Favorite Tags
Member Avatar for jazz_vill

Hi I want to count the number of occurence of each characters in a string from a client then the server will compute the occurences and pass back to the client the result.You may have noticed that I used String for result coz im planning to send a string to …

Member Avatar for Reshma_2
0
2K
Member Avatar for avinash_545

Hi everyone. I am currently doing small exercises on classes. Suppose you have 2 classes: Person (superclass) and Student (subclass) the class Student is extending the class Person. When creating new objects of type Student, when do use the following options: option 1: student x= new student( ..); option 2;( …

Member Avatar for stultuske
0
197
Member Avatar for pmark019

This code is a java code. Can you please help me convert this to c#? private static URL URLObj; private static URLConnection connect; static String source = ""; public static void main(String[] args) { try { URLObj = new URL("http://students.usls.edu.ph"); connect = URLObj.openConnection(); connect.setDoOutput(true); } catch (MalformedURLException ex) { System.out.println("The …

Member Avatar for cale.macdonald
0
460
Member Avatar for mehbube.arman

Hello I am new to T SQL. I tried some project with sql command using C# coding. But now I am willing to consider running T SQL commands like making procedures using C# coding. ie. I want to my program run T SQL query/command. What/ How to do this? Thanks …

Member Avatar for cale.macdonald
0
63
Member Avatar for code101

hi! Im new to ADO.NET and i want to enter data into a database via a windows form application. my database has been created using sql management studio. Please do help as im pretty confused. Thanks!!

Member Avatar for cale.macdonald
0
48
Member Avatar for surajrai

Hi, I am working on a component based application. I have a method that does some calculation and returns nothing. say: public void DoSomething(int x, int y) { // do something } How to write testing for it. I can pass some dummy x,y values. But how and what we …

Member Avatar for cale.macdonald
0
234
Member Avatar for mangal123

hi i am creating a lab attendance mgmt s/w in C# and i want to do when the computer start then the login page of my s/w is be open ..... so please tell me the process and if any one have code then please give me the direction to …

Member Avatar for Seten
0
119
Member Avatar for r4rozen

using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace DiceSimulator { public partial class Form1 : Form { StandardDie die1, die2, die3, die4, die5; Random rand; public Form1() { InitializeComponent(); rand = new Random(); } /// <summary> /// This is the Event …

Member Avatar for cale.macdonald
0
235
Member Avatar for user220

Hi, I am new to the field of SQL and C#. In my form I have few textboxes whose values are to be inserted into SQL table on Submit button click. I have created Insert.cs App_code class which handles the Database operations. And code behind will insert the textbox values …

Member Avatar for cale.macdonald
0
167
Member Avatar for M.Jama

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Shapes; using Business; Guys, I want to populate the DataGridview with a dataset I have created but I am having problem and I would be thankful if …

Member Avatar for M.Jama
0
209
Member Avatar for hany-h

Hi guys, I have a class (DrawPanel) which extends Jpanel.This class generates random shapes (lines,recangles and ovals) . I am suppose to add a statusbar to this class but I can't add even a simple lable to this panel... I am so frustrated and would be so appreciate if anyone …

Member Avatar for JamesCherrill
0
150
Member Avatar for Singlem

Hey I have been looking at google page for some time now and can't seem to find a straight answer. I have a application that is released. Now I want to update that application. How can make a updater? It is released a Installable app, but I don't want to …

Member Avatar for zachattack05
0
110
Member Avatar for newgeekintown

Hello guys, I am doing my final year project on data mining using the privacy preserving techniques of genetic algorithm. I am struck on how to implement the crossover of the chromosomes(transactions). Anybody having the idea of the code in C# ,please please send it.

Member Avatar for cale.macdonald
0
97
Member Avatar for kangkan_14

How to read only integers from a file in java? Suppose the file has something like this: (14,2,3),(2,3,4) (2,6,78) Now I want to read only the integers not the brackets and commas.How do I do it?

Member Avatar for ztini
0
3K
Member Avatar for Torm7311

I am in the process of taking my first java programming class, and this question may be simple for some of you. Here is the question.. Write an application that reads five numbers between 1 and 30. For each number that is read, your program should display the same number …

Member Avatar for Torm7311
0
164
Member Avatar for mette-mari

Hi all, I have been reading up on creating a C# application that can take plugin and understand the principals of that. However all the examples read have it so that when the DLL is called it creates its own form with controls on it. What I would like to …

Member Avatar for mette-mari
0
127
Member Avatar for nickelsunshine

I am at the end of my quarter and have two programs to write and need help. I dont even know where to begin. I have decided to change my major to something else, but I dont want to fail this class and hurt my GPA. I have a programming …

Member Avatar for cale.macdonald
0
459
Member Avatar for nickelsunshine

I am having a problem getting this program to run. I have tried all I can but it keeps telling me It can not find the IndexList and it is here. You see it. Maybe part of the code is missing something I am not sure. Help Please Due in …

Member Avatar for cale.macdonald
0
93
Member Avatar for coding101

I have an arraylist that hold an array of object each which contain a "name". how can I sort the arraylist by name alpabetically?

Member Avatar for Eric Cute
0
87
Member Avatar for jishent

[CODE]import java.io.*;public class Ex9a{ public void rollBack(BufferedReader in) throws IOException{ String line=""; if((line=in.readLine())!=null){ rollBack(in); } if(line!=null&&!"".equals(line)){ System.out.println(line); } } public static void main(String[] args) throws FileNotFoundException{ PrintStream out; Ex9a t=new Ex9a(); out = new PrintStream(new FileOutputStream("outfile.txt")); out.println(ioe); out.close( ); String fileName="infile.txt"; try{ BufferedReader in=new BufferedReader(new FileReader(fileName)); t.rollBack(in); }catch(IOException ioe){ System.out.println(ioe); …

Member Avatar for jon.kiparsky
0
381
Member Avatar for olsane

how do I create a 2d array, where the user choos the size of the array? or have to make this: 1 2 3 4 5 1 O O O O O 2 O O O O O 3 O O O O O 4 O O O O O …

Member Avatar for Dhruv Gairola
0
105
Member Avatar for Phil++

Hey, I'm trying to download a file from the internet and save it to my desktop.. The code compiles but at runtime it does not download the file: [CODE] try { WebClient fileDownloader = new WebClient(); fileDownloader.DownloadFile("http://www.google.com/logos/2010/lebanonind10-hp.jpg", "/Users/p/Desktop"); } catch(Exception ex) { Console.WriteLine ("The file cannot be downloaded!"); } [/CODE] …

Member Avatar for Momerath
0
68
Member Avatar for Dean_Grobler

Hi there, A thread was started earlier about splitting up a String using the split() method of the string class. Reading that did help me quite a lot in solving a problem of mine that is VERY similiar. Say I have this in a txt file: "Dean Grobler 0794400541 NA …

Member Avatar for Dean_Grobler
0
171
Member Avatar for LianaN

Hey! I need to add a child node (its name is stored in Object child1) to the specific parent node (Object hierarchy). To do that, I try to find the parent node and then add the child node to it. However, e.printStackTrace() provides the error message (see below). What am …

Member Avatar for LianaN
0
1K
Member Avatar for famida11

how to do validationn of textbox for the following in swings using netbeans 5.5 1)only character 2)only number 3)only date 4)length of the text entered

Member Avatar for cale.macdonald
0
62
Member Avatar for hatux

The following code is part of a searchengine the specific piece of code sorts out the different searching options. While running it i get the catch (Exception e) error [CODE] import java.util.*; public class ObtainKey { public static void KeyAnalyzer() { int idx = 0; int tokenCount; String input; String …

Member Avatar for hatux
0
173
Member Avatar for someone5

Hi, I made two classes in Bluej, in the first class I have constructed a window and the other class is a form where data can be inputted. How can I put the form in the window and make the window visible. Is this possible or do I have to …

Member Avatar for someone5
0
1K
Member Avatar for hatux

It might be quite newbie question but i've been through my books and searched online; yet still didn't find any answers. I have a couple of classes with methods in them. In my main : [CODE] public class main { public static void main(String fileslist[]) { new Folder(); Search SearchFiles …

Member Avatar for cale.macdonald
0
83
Member Avatar for funlove201

hey can someone please help me with this thing? I wanna open a link when someone clicks on a button how can I do that?

Member Avatar for cale.macdonald
0
127
Member Avatar for LianaN

Hi! I have a problem with the array of JTextField components. So, the code is shown below and it can be successfully compiled: [CODE] txtAdminTextFields = new JTextField[nrOfCols]; ... tableAttributes.getColumnModel().addColumnModelListener(new TableColumnModelListener() { public void columnMarginChanged(ChangeEvent e) { for (int i=0; i < nrOfColsFin; i++) { txtAdminTextFields[i] = new JTextField(); txtAdminTextFields[i].setPreferredSize(new …

Member Avatar for JamesCherrill
0
319