64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Trekker182

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. …

Member Avatar for Trekker182
0
2K
Member Avatar for c_shaft05

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() = …

Member Avatar for c_shaft05
0
150
Member Avatar for cljlxwater

hello, i've intalled framework2.0,but i still can't use ArrayList in the .NET 2003. Why? thank you

Member Avatar for Rashakil Fol
0
85
Member Avatar for jdbarry

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 …

Member Avatar for stephen84s
0
110
Member Avatar for cljlxwater

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?

Member Avatar for cljlxwater
0
94
Member Avatar for Georges5

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 …

Member Avatar for Georges5
0
250
Member Avatar for eyewirejets

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?

Member Avatar for eyewirejets
0
96
Member Avatar for dev_kc

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 …

Member Avatar for debasisdas
0
80
Member Avatar for Dani

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?

Member Avatar for ScienceOffice
0
328
Member Avatar for chriscross86

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'.

Member Avatar for sonakrish
0
139
Member Avatar for dev_kc

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:)

Member Avatar for debasisdas
0
72
Member Avatar for jeffreyjs

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 …

Member Avatar for jeffreyjs
0
112
Member Avatar for jedi_ralf

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 …

Member Avatar for jedi_ralf
0
179
Member Avatar for PinoyDev

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", …

Member Avatar for PinoyDev
0
94
Member Avatar for dollmar

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?

Member Avatar for dollmar
0
159
Member Avatar for ganbree

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] …

Member Avatar for seanhunt
0
585
Member Avatar for ahmedo047

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; …

Member Avatar for ahmedo047
0
331
Member Avatar for progurammaar

[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.....

Member Avatar for progurammaar
0
94
Member Avatar for BrianK123

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?

Member Avatar for BrianK123
0
1K
Member Avatar for BrianK123

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. …

Member Avatar for BrianK123
0
193
Member Avatar for matt443

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 …

Member Avatar for nadeemIqbalBajw
0
110
Member Avatar for frostiecuk

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 …

Member Avatar for frostiecuk
0
105
Member Avatar for bussaina

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 …

Member Avatar for Ancient Dragon
0
307
Member Avatar for shadiadiph

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 …

Member Avatar for shadiadiph
0
96
Member Avatar for ahmksssv

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....

Member Avatar for ahmksssv
0
105
Member Avatar for blerina12

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 …

Member Avatar for blerina12
0
98
Member Avatar for thegreatkk

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 …

Member Avatar for thegreatkk
0
170
Member Avatar for Eager_Beever

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 …

Member Avatar for Eager_Beever
0
166
Member Avatar for rEhSi_123

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 …

Member Avatar for rEhSi_123
0
119
Member Avatar for omni504

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 …

Member Avatar for omni504
0
154
Member Avatar for thacravedawg

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 …

Member Avatar for thacravedawg
0
100
Member Avatar for transplantedNYr

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 …

Member Avatar for transplantedNYr
0
135
Member Avatar for Andrewsc1

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 …

Member Avatar for Andrewsc1
0
143
Member Avatar for diafol

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 …

Member Avatar for diafol
0
594
Member Avatar for MJV

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 + …

Member Avatar for sknake
0
93
Member Avatar for scott_rider

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>

Member Avatar for Ezzaral
0
103
Member Avatar for scott_rider

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>

Member Avatar for scott_rider
0
142
Member Avatar for Alex_

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 …

Member Avatar for Alibeg
0
178
Member Avatar for Y2K_MASTER

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 …

Member Avatar for Y2K_MASTER
0
158
Member Avatar for Eager_Beever

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 …

Member Avatar for sknake
0
440
Member Avatar for itslucky

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 …

Member Avatar for itslucky
0
84
Member Avatar for gangsta gama

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 …

Member Avatar for gangsta gama
0
146
Member Avatar for gpittingale

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 …

Member Avatar for gpittingale
0
168
Member Avatar for drew7py

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 …

Member Avatar for drew7py
0
113
Member Avatar for elangobala

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 …

Member Avatar for peter_budo
0
119
Member Avatar for MJV

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 …

Member Avatar for MJV
0
86
Member Avatar for l_03

[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: …

Member Avatar for verruckt24
0
170
Member Avatar for swit

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 …

Member Avatar for swit
0
224
Member Avatar for MJV

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 …

Member Avatar for MJV
0
110
Member Avatar for Sky Diploma

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; …

Member Avatar for Sky Diploma
0
129

The End.