http://img37.imageshack.us/img37/6701/viewl.jpg
this is what i get any ideas on how to fix this?
Type: Posts; User: Daren
http://img37.imageshack.us/img37/6701/viewl.jpg
this is what i get any ideas on how to fix this?
i get this showing up -- the list box is empty as you can see and the test lable prints out crap
http://img37.imageshack.us/img37/6701/viewl.jpg
int itemCount;
public struct addressBook
{
public string lastName;
public string firstName;
public string street;
public string...
I'll explain it in easy terms-- looking at code isn't always the best.
static means that it is represented as the same variable through out all the classes. Like if you wanted a tax rate of...
for (int i = 0; i < origArray.Length; i++)//take the array and cycle through the elements
{
space = origArray[i] +"\n" + space ;//reverse the array
...
unfortunately I am not writing to a console but to a label-- and when I do this it only prints the last element. I need it to print out all the elements.
string[] origArray = new string[] { "b", "c", "d" , "e"};
for (int i = 0; i < origArray.Length; i++)
{
lblOrig.Text = origArray[i];
...
considering XML is patented and Microsoft just lost a huge lawsuit to that-- I say be wary on how you use XML.
WPF is a portion of Visual Studio.NET that embodies VB and expands on it. Vista 64 is not compatible with it. Vista 32 is. I have used WPF in the past and it is kinda a pain in the ass. Basically...
it can also bite you in the butt. Static in java can give tons of headaches if not implemented correctly.
I have no idea what your asking
Since most people tend to always give absolute definitions I'll try to explain it in layman's terms.
a linked list is a list of items that in some way relate to each other to create a kind of data...
what error is it giving you or what is it doing that you don't understand?
basically he is saying that your main would be like something like this:
public void main(String[] args)
{
run();
}
run()
{
bunch of code
your question isn't so easy to understand....
basically if I understand it correctly you need 2 classes
class 1 is an object class
class 2 is your main class
class 1 contains data for the...
i found it c# vs2008 has its own masked text box tool --- unlike vb2008 wheer you can just adjust the textbox to a masked setting, C# has its own text box called masked text box.
how do I find the control for a masked text box in C# in VS2008? I can easily find it in VB2008 but in c#2008 I can't seem to locate the control. Any pointers would be welcomed.
thanx
daren
why did you put public static string this line
public static String getMagasinProche(double lat,double lon){
the static is stating that it will be a definite double double and once you go...
you should download something like jgrasp to help you since you are starting JAVA.
what you typed is hard to understand-- even your question is hard to understand--- put code tags on your code to make it easier to read and tell us exactly what part of the program isn't working. I...
here is both a constructor and a method
class dog{
public dog{} //constructor makes an object of the class dog
public void setFeatures{
string face;
string color;
int legs;
in JAVA you can make something global by the following ways
declare the variable as a public variable, a static variable, or a private variable.
you would declare it like so
class thisOne{...
instead of size of() JAVA uses .length() as follows:
int[] cars = {"ford", "chevy", "honda"};
for(int j = 0; j <= cars.length; j++)
System.out.print(cars);
that will take the array...
1st off dl Jgrasp or some sort of of JE---
***reason is that the program will tell you what line of code is bad
I believe the error your getting is because the Main portion of your class is not...
download JGrasp--- pretty easy to use but it it all hard coding... The thing about JAVA, WYSIWYG isn't the best for it. JAVA is a simpler form of c# and thus just writing the code will make it...
use this one it's mistake free
import java.util.Scanner;
public class TrianglesProject2{
public static void main(String [] args){
System.out.println("Welcome to David's Triangle Solving...
if your trying to close the program it would be me.close()
but I can't really understand what your asking for.
i figured it out ty
I don't understand why I'm getting this error. All I did was copy a working method and changed the variables. I also created a new edge class and a new vert class and changed all their variables.
...
while(true) {
String str = JOptionPane.showInputDialog(null, msg, "", 1);
int selection = Integer.parseInt(str);
switch(selection) {
case 1:
displayAll();
break;
case 2:
insert();
When I call the insert method it errors. Says no such method
Hi,
Does anyone know how to make a binary tree accept user input and then place the input into a binary tree? I need it to be like add a club member and the user inputs the name and ID.
...
i get cant find symbol errors on print(), meesage dialog, length(), and is empty
any help would be appriciated
Daren
import java.io.*;
import javax.swing.JOptionPane;
import java.util.*;
can anyone tell me what an algorithm for the following situation would look like?
i need to make a program in which the user enters a city name and x and y coordinates. depending on how many...
i have to make a recursion program and this is what i have. Any ideas on how to make it work would be appreciated.
thanx
Daren
import java.io.*;
import javax.swing.JOptionPane;
import...
ty for the reply but i figured it out.
public static void exponential()
{
//declare variables
double num;
double cons = 2;
System.out.println("The powers using a for statement are: ");...
you are missing a } after
System.out.println( "End of method doesNotThrowException" );
}
post the code so we can see it
i need to make a method in which a for loop is used to calculate 2 exponent n. Does anyone know the math formula for mutiplying a number by an inferred exponent?
i have this
public static void...
I'm using Vista(x86) and I have to add a data source to an emulator (cell Phone)
It shows connected 100% but the tables dont show up on the data source. Also the data grid doesnt have the smart tab...
did you try right click/properties/background or even font color?
you have to declare a html tag in its own file. Let's say you make your applet and want to see how it works. You then have to make a html file that calls the applet to work.
show us the code so we can see it more clearly
is there any reason why this wont transfer the information from control 2 to control 3?
Thanx in advance
Daren
OK this is taking place in VB.net 2008. I have created datagrids and a search text box where a user will enter a specific type of book for example if they enter business in the text box it will...
View the above samples but please dont just out right copy it unless it was a share ware thingy.
Private Function NumberToString(ByVal num As Double) As _
String
' Remove any fractional part.
num = Int(num)
' If the number is 0, return zero.
...
' Convert a number between 0 and 999 into words.
Private Function numbers(ByVal num As Integer) As String
Static onetonineteen() As String = {"Zero", "One", "Two", "Three", "Four",...
I cant get the datagrid to populate.
Any idea why it wouldnt populate? I get an error Datamember property 'getemployees' is not found on the data source.
I's using a stored procedure for this.
...
I fixed it ty though
It is an error in VB2008 that doesnt recognize databases if you are using vista 64