64,152 Solved Topics
Remove Filter ![]() | |
Hello all, I'm trying to validate against someone entering letters into an input box. Here is the code I have so far that doesn't seem to do work after I add the second part to verify if what they entered is numeric. I don't even the get input box anymore. … | |
I'm having frustrations with C++... when I try and compile my code (as simplistic as it is), I keep getting a 'Shape' not declared error, but I'm fairly certain that I've written it correctly. shape.h [CODE]#ifdef shape_h #define shape_h using namespace std; class Shape { public: Shape(); virtual ~Shape() = … | |
hello, i've intalled framework2.0,but i still can't use ArrayList in the .NET 2003. Why? thank you | |
I am trying to write a program that calculates the surface gravity on each planet in our solar system. I have the printing of the results assigned to a static method. However, I have a problem. There are two for statements I am using in this program. The last for … | |
hello , i've intalled .NET 2003 and framework1.1 . if i want to use the some methods from framework2.0. please tell me do you have methods? | |
Hi all, I have written a C++ code that reads data (as double) from a huge binary file with size 2.5 GB, then process the data and write it to another binary file. What is really strange, the code works fine and smooth in Borland C Builder 6, but since … | |
When I run my program, I get the word None as output for a line. I don't have a print statement that contains that word. When I debug no errors found. Any ideas what it can be? | |
I am wrking on a VB6 project,and I m new to this,I need to save the inputs values from the text boxes from the VB form,and using the command button,i need to save the data into the access database which i had created named Dtldb.mdb How do I use Data … | |
Please help me :( I am in dire need of a scientific / mathematical word processor for either Windows XP or Mac OS X. Something that utilizes LaTeX maybe? | |
hi, there...i need help.im not sure if my codes are appropriate.. [code=asp.net]<asp'Label id:"lblreport" runat="server" text"type of report"></asp:Label> <asp:dropdownlist selected="true" value="annually"></asp:ListItem> <asp:dropdownlist selected="true" value="Monthly"></asp:ListItem> <asp:dropdownlist selected="true" value="weekly"></asp:ListItem> <asp:dropdownlist selected="true" value="Daily"></asp:ListItem> </asp:dropdownlist>[/code] im getting error telling 'cannot have multiple selection'. | |
I am developin a project in VB6,i need to save the data inputs in form to the Access Database,using the save button......... Plz help me Thnks in advance:) | |
HI, I am currently creating a personal website which i uses Dreamweaver build in rollover image for buttons, and at the same time i am using Shadowbox for the gallery, but i realise that the auto generated code for the rollover is interfering the Shadowbox from working properly, is there … | |
Hello, I have not had a huge amount of experience with regular expressions. Any help you can give is greatly appreciated. I have an input file like this: [CODE]Name: Bob, Age: 20, Details: Likes chocolate Hates lettuce, Location: London Name: James, Age: 42, Details: Sometimes goes swimming, Location: New York … | |
Good dat to everyone.! Ive just so tired just to finished my thesis. Ive got problem in php summing up while looping and filtering. here is my code: [code=php] mysql_select_db($database_enamysqldb, $enamysqldb); $query_recpayment = "SELECT amountpaid, username, SUM(amountpaid) FROM paymentsummary WHERE username = %s and foryear = %s and forlevel =%s", … | |
hello my problem is simple but i cant solve it. i have textbox in form1 and i want the value in the textbox equeal to the value in label in form2..how can i do it.. my code sample is: form1.Text1.Text=form2.Label1.Caption its not working... anyone can help? | |
I'm trying to read a Unicode file using std::wifstream. On wintel. [code=c++] #include <iostream> #include <fstream> #include <string> using namespace std; int main() { wifstream File("input.txt"); wstring Line; while(!File.eof() ) { getline(File, Line); wcout << Line << endl; } system("pause"); return 0; } [/code] And this is my output [code] … | |
how can I apply to all txt files in the folder. (save to a different folder the same name all the txt files). this code is only working for a txt file but I want to apply all txt files in a folder its. I have following code: [CODE]using System; … | |
[url]http://www.levelopacity.com/[/url] go to this site and chk out the footer.... its always there...i mean kinda sticky or fixed....how to do this..... | |
This is probably just a stupid mistake but I can't figure it out. I have this code: [CODE]TextField passGet=new TextField(10); passGet.setEchoChar('*');[/CODE] and when I try to compile, I get and <identifier> expected error. Anyone know why? | |
I was writing an applet before and was displaying information in a JOptionPane. Useing \n, I was able to make the information display multilined like this: [CODE]Name1 Grade1 Name2 Grade2 etc.[/CODE] I unfortunately had to change my code from an applet to a JFrame and subsiquently my Labels to JLabels. … | |
the assignment is to create a class library for manipulating ConsLists. I haven't found a lot of resources on ConsLists, and I hadn't studied them or recursion before we were assigned this project. That said, this is a (non-functional) method that is supposed to store a ConsList of values less … | |
Hi All I'm new here and have searched high and low for an answer to my problem, and have so far had no joy. I am trying to create a if/else statement depending on the outcome of a SQL command that should be extremely simple and basic, but for some … | |
How do this Print the decimal, octal and hexadecimal values of all characters between the start and stop characters entered by a user. For example, if the user enters an a and z, the program should print all the characters between a and z and their respective numerical values. Make … | |
Hi I don't get this it works fine but any file i upload that is over 300kb doesn't get emailed or saved to the server but if i upload two files for example 260kb 290kb they both upload and are both saved to the server. here is what I am … | |
Hi fnds... i am doing polling system to a perticular topic. i want to display yes/ no results in progressbar, after submittimg user vote(yes/ no) from radio buttons.... everything i can do, but the only problem is display results in progress bar.... plz give me a suggetions....how can i do.... | |
Hi guys. I was wondering if you could help me with this code. I am trying to open a file and read character by character. The program compiles but when I run it it aborts with an access violation while reading from the file. I made the program output the … | |
hi, i am new to .net... i created the [B]many datagrid view at run time[/B], My datagrid view have a check box. when user clicks that check box. i need to get that row information.. how can i set the event handler for all datagrid view...... i think u can … | |
Is it possible to Format the Text of a TextBox to display 3 digits even if the user has entered only a single digit? e.g. the user entered "5", but I want to display it as "005". I don't want to use MaskedTextBox. In VB 6, it was as simple … | |
Hello everybody, I am trying to implement a private message system into a website I am working on but I am not sure as how to do this. I know I can use phpBB to do this but not sure on this aswell:$ I was wondering if any body could … | |
I'm not really sure if this is the right place or not for my questions, since i'm a complete noob when it comes to python and all. But its a real simple question, and help would be appreciated. I've been reading "Python for Software Design: How to Think Like a … | |
I have a small app im working on that allows users to input data into an access database. This data represents incoming and outgoing items. Currently, the user can input all incoming and outgoing transactions, but I haven't been able to set them up to cancel each other. What I … | |
So I am going through the "Getting Started Using Java RMI" and I get stuck at the following spot... [CODE] [B]javac[/B] -d [U]destDir[/U] Hello.java Server.java Client.java [/CODE] I use... [CODE] [B]C:\"Program Files"\Java\jdk1.6.0_11\bin\javac [/B] -d [U]C:\"Documents and Settings"\"Andrew Carrara"\Desktop\test\mysrc\example.hello[/U] Hello.java Server.java Client.java [/CODE] I get an invalid flag error. What exactly … | |
Im new to java and just trying to figure out the basics. i cannot figure out what is wrong with my program. Any suggestions on whats wrong? [code]4import java.util.Scanner; 5 6public class Lottery 7{ 8 public static void main(String[] args) 9 { 10 //Generate random lottery numbers 11 int lottery … | |
![]() | I've had a good trawl through search and Google, but can't get to grips with a problem. I don't know if it is possible, but here goes: A friend asked me to install a few mods to his phpBB3 site. No problem. However, there were a few that required SQL … ![]() |
Im trying to assign a decimal value of 1 to a variable if a check box is checked but I having trouble getting it to work. Here is my code: decimal nitrodsgn; decimal lnitro; decimal unitro; if (nitrogenLowerCheckBox.Checked) lnitro = 1; if (nitrogenUpperCheckBox.Checked) unitro = 1; nitrodsgn = (lnitro + … | |
Is there a method I can grab parent/grandparent nodes? The examples I have found appear to use only xpath statements to select nodes. Some of my failed attempts: /table/tr/td/b/font[self::text()="Nohup Files"] /table/descendant::font[self::text()="Nohup Files"] <table> <tr> <td><b><font>Nohup Files</font></b></td> </tr> </table> | |
I want to get the table node where its decendent node="Nohup Files". What I have so far is table/descendant::font[self::text()="Nohup Files"] table/tr/td/b/font[self::text()="Nohup Files"] but neither works. <table> <tr> <td><b><font>Nohup Files</font></b></td> </tr> </table> | |
Hello everybody, i need a polygon formula to draw one. I want to make a function that will draw a polygon , depending on how many vertex's it has. I'm not good at math so i can't figure it out how to do it. Though, i do understand that it … | |
Hey guys, I'm making a program that takes 3 sets of coordinates from a user to make a triangle. It then calculates the length of each side, the perimeter of the triangle, the area of the triangle, and the 3 angles. I have it all coded, except for the area … | |
I am using SQL Server Express 2005 as my Database and programming in C# 2005. In one of my Table "Results" I have a field named "ResultDate" of DateTime data type. In my form I have a DateTimePicker. I want to save only one record for a particular date, hence … | |
Hi Friends... i have searched google and this forum and etc, but i didn't get the answer to my question.. i want to use the CRYSTAL Report template, i have C# 2008, but in Add Items there is no template of Crystal Report.. so please tell me what should i … | |
Hello all, I played a game a few years ago that said if you didn't click on adds within a week you character would retire. There was a way to get your character back. I thought it was a good idea. I am a noob to php and i want … | |
Hi everybody, i am new to java and trying to develop a bit of an app i have created the first page, dynamicall filled a dropdown box all is fine i press the submit button and i get the error below: java.sql.SQLException: Parameter index out of range (1 > number … | |
I am looking for some pointers on how to format float numbers in a numpy array. This code selects lines from an array, and I want the output to look better so I can import into excel. infile looks like this: 1074 CL 006 2004 A8LGPUYE 10 TY 2 S0111P … | |
Hi i m developing jsp application. In my system the screen resolution s 1024*768 pixels.It will shows the web page properly.While viewing the same page in my friends room his system resolution s 800*600 pixels it will be of in different form of shape and nature.How to make the page … | |
I have a form that has a table adapter for a table called costing. Im not using any of the items in this table in any textboxes etc.. on the form but I would like to use them in calculations that will give results to put in text boxes on … | |
[ICODE] import javax.swing.*; public class Tokenize{ public static String s[] = new String[100]; public static void main (String args[]){ String ask = JOptionPane.showInputDialog("Enter:"); isAsk(ask); } public static void isAsk(String ask){ StringTokenizer st = new StringTokenizer(ask," ",false); int input = Integer.parseInt(st.nextToken()); if(input<=10&&input>=0){ System.out.println(input); } } } [/ICODE] Here is the sample: … | |
Hello every one, i am new here so i would appreciate any help wit this. i am trying to call a url using javascript in an html select statement as follows; echo "<select>"; for ($i = 0; $i < $pages; $i++) { ?> <option value='' onClick='javascript:window.location.href= "index.php?option=<?php echo $option; ?>&task=view&limit=<?php … | |
I have a text box designTB and a double variable totaldsgn. I cannot create the following equation because the designTB is a string and totaldsgn is a double designTB.Text = totaldsgn I have tried this and it still does not work designTB.Text = totaldsgn.tostring Any suggestions? Is there a way … | |
I have to find the sum of the prime numbers below 2million so here is the program that i have written. [code=c++] #include <iostream> using namespace std; bool is_prime(int); int total=0; int main() { int num=2000000; for(int x=1;x<=(num);x++) { if(is_prime(x)==true) { total+=x; cout<< total<<"\n"; } } cout<< total; return 0; … |
The End.