How to set nodes visible and invisible?
How to check the left child and right child of a parent in asp.net?
View Articleproblem: While loops with c++ string
program runs fine, but when it turn back to input again, the function stuck. I cannot use "cin >>" for c++string because it won't accept whitespace (" ") #include <iostream> #include...
View ArticleHow to prompt user to enter filename in c
I am trying to create a program that will ask the user for a file name and then read that file. This is the first part of an assignment that will teach us how to encrypt plain text files. Here is what...
View Articleminimax connect 4 game algorithm not working
Hi, I am trying to write a connect 4 game by trying to improve on tic tac toe algoritm from the book. My game however does not respond to my moves in any sensible way and I am failing to see way. I...
View ArticleSQL STATEMENT IN VB6
I have a syntax error in vb6 select sql statement: SELECT DATA001.FNAME,DATA001.SNAME,EMMA-WEB.ZIPFILE FROM DATA001,EMMA-WEB WHERE DATA001.RECNUM = EMMA-WEB.RECNUM I know that my error is when I put...
View ArticleSorting Java Array problem?
Hi guys, We are meant to create a method called sortTheArray (self explanatory)... We are not allowed to use java.util.Arrays according to the specification even though its much easier... We have to...
View Articleneed indentifier for class
Hello there. i have this class which is 4 arrays that hold information i want to be able to get the information that i need in different class where i call that class. what identifier should i use to...
View ArticleSelect case and ASCII encoding
Hi, I am playing around with system.net.sockets and have a problem. I am converting an ASCII message to a string, but when testing the string with a select case it is not recognised. I am not sure what...
View Articlefirst AND last name output with grades
on line 28 and 29 i do not understand the errors i am getting main.cpp:28: error: conversion from 'std::string*' to non-scalar type 'std::string' requested main.cpp:29: error: conversion from...
View ArticleMulti Column Combobox with editable forecolor item
First of all I need a Multi Column Combobox. When I have a multi column combobox I need to be able to edit the forecolor of a random item in combobox. I load lots of data so I need a fast performance...
View ArticlePrint data function trouble
My print data function for some reason will output the first name, last name all grades and the avg for the first entry in a file correctly but will not print any other names or grades but will for...
View Articlehow do i capture tab key
i have a form and on that form i want to catch the tab key so that when a user hits the tab key it goes to a defined textbox or drop down. i have tried tab ordering but its not working , my forms key...
View ArticleSimple 'if else' code not being executed
I have some very simple code which all runs fine apart from the if/else code I have tried to include at the end. The program allows me to enter the variables I have defined but then finishes and...
View ArticleJava unable to perform action
This is a source code I find in the web. When I open this project in eclipse or netbean on my computer, humanVsHuman.java, it cannot funtion well.When I click the valid move, it doesn't move. But when...
View ArticleModifying XML values using C#
Hello everyone, I'm trying to create a program where I can 'log' certain values. For example, I want to know how many cookies I eat each day. The 'total' should read the total amount of cookies I ate...
View ArticleHelp with VB.Net and MySQL: Next/Previous Record
Hi, I am developing a program for my uncle where I am storing his clients data using MySQL in a database. I have created a basic form where the data from the database is displayed in different...
View Articledeletion those matching pairs between two strings
I have the set of matching pairs say p[0]=(0,1),p[1]=(1,2),p[2]=(4,0),p[3]=(0,5),p[4]=(2,4),p[5]=(3,3),p[6]=(5,1),p[7]=(1,7),p[8]=(2,6) now,I want to print those pairs whose sum is same but the...
View ArticleClasses printing 0.0
class Circ{ public static double pi = 3.14; public double radius = 0; public double area = 0; public Circ(){ } public Circ(double newradius){ radius = newradius; } public double getradius(){ return...
View ArticleJava inheritance program using gates.
I have to create a program using java inheritance while also incorporating the gave gates (and, or, nand, nor). Then i have to take the java gates and test them through the program. So far the program...
View Articleunable to get database table values into jtable on displayPane3
import java.awt.*; import java.awt.GridLayout.*; import java.awt.BorderLayout.*; import javax.swing.*; import javax.swing.JPanel.*; import java.awt.event.*; import java.sql.*; import...
View Article