- Strength to Increase Rep
- +6
- Strength to Decrease Rep
- -1
- Upvotes Received
- 17
- Posts with Upvotes
- 17
- Upvoting Members
- 14
- Downvotes Received
- 3
- Posts with Downvotes
- 3
- Downvoting Members
- 3
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 … |
|
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;( … |
|
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 … |
|
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 … |
|
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!! |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
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. |
|
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? |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
I have an arraylist that hold an array of object each which contain a "name". how can I sort the arraylist by name alpabetically? |
|
[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); … |
|
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 … |
|
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] … |
|
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 … |
|
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 … |
|
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 |
|
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 … |
|
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 … |
|
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 … |
|
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? |
|
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 … |