how do we call a listener method from normal method in java
how do we call a listener method from normal method in java
View ArticleRead data from DataGrid
Hey guys, I am reading data from an MS SQL database into a DataGrid. What I'm trying to accomplish is to read the contents of a specific Column & Row from the DataGrid, after the information has...
View Articletask making a binary search tree in graphics.h
i have been given the following task Program Description: Write an application to show graphically the following functions of a binary search tree. a) Insertion in a tree using Breadth first insertion...
View ArticleWhy Is It Recommend To Set Fields Using Properties?
So I frequently for example see code like this private string number_one; private string number_two; private string SetFistNumber { set { this.number_one = value; } } private string SetSecondNumber {...
View ArticleError in Linker - Error LNK2019
Hey there, I am having a error when trying to build a Win32 Desktop application in VS 2012 here is the code:- #include <Windows.h> #include <d3d11_1.h> static TCHAR szWindowClass[] =...
View Articlethe problem the output is zero
I have problem with the output it gave zero.. when i type give me zero.. i need know where is the problem exactly and what i should be do .. #include <stdio.h> #include <stdlib.h> #include...
View ArticleJava identifiers naming exeptions
Hello i'm really new to java and need some help with a assignment my teacher gave me. Do you guys know any Identifiers in java that breaks the naming convention?
View ArticleUnable to Capture Image in Windows 7 by Vb.net
Hi. I tried to code using Avicap.dll, and it is working fine in windos Xp But when I tried my codes under Win 7 OS, it failed to capture. is there any way please Sugest me. Thanks In Advance
View ArticleGetting two values from one checkbox form
So I have a mysql table for the charges of a hospital. My program currently only gets the price of the checked procedure. But now, I also want to get the procedure name when it is checked....
View Articletask in c - Recursion (don't know where to begin)
hello, this is part of our task: definition: an almost balanced partiton of an array is to split an array into 2, that the sum of the sub-groups are equal, and one one of the groups as 2 more numbers...
View Articlenot able to search the updated record
The code for update button and search button work fine but the search button does not work for a record which is updated. If I insert a new record and then click search,it works.But,if I update that...
View ArticlePicturebox in Visual CSharp
Hello, I just have a question. How can I shorten my code? It is intended to randomize the images in the 3 picturebox. (i'm doing the slot machine program with this..) Here's my code: int number1; int...
View ArticleAbout a game in rpg using c language
Hi I and two friends are creating a game in rpg and we are having trouble with the player to move in any direction and we try to use the switch case but give us a error.
View ArticleLogon failure: unknown user name or bad password"
I am creating code to open website in vb.net and passing the use name and password to that site. But I got error " Logon failure: unknown user name or bad password" This is my code. What's wrong in...
View Article.sdf tables question
Hi Guys, I have a table which holds employee data, i.e address etc what i would like to do is create a new table programmatically and attach it to each of the records in the database. so for instance...
View ArticleVPN connection problem
Hi there. I am new to the forum. I have established a VPN connection with "success" but when I'm connected I can't lose internet connection... (I'm not able to open websites in IE). Can anyone help me?...
View Article(Question) Show text for a certain time in a textbox
Hello! Im making a 'Memory Game' in Visual Basic. I have 2 textboxes, in Textbox1 a random text appears and in Textbox2 the user have to write down the text that appeared in Textbox1. I have made this...
View ArticleRestricted 3 body simulation not working correctly
Hi, Iam currently trying to do an assignment where i have to write a simulation for the restricted 3 body gravitational problem, with two fixed masses and one test mass. My program is working to...
View ArticleProblem with adding <img> tag to the code
The user uploads a plain text file with a decimal value(eg. 36.81) on each line of the file. I have to upload this, open it and make a histogram out of it. I have done everything but cannot do it with...
View ArticleMinimum and Maximum Array Problem
Here is the assignment: Write a method called countInRange that accepts an array of integers, a minimum value, and a maximum value as parameters and returns the count of how many elements from the...
View Article