64,152 Solved Topics
Remove Filter ![]() | |
Hi, I have a problem. I would like to, from a text form, filter out what the user wants to see. I have a mysql database with info on every order placed. Each row is a new order. All users has their own ID. I would like the users to … | |
I want to design a progress bar when a file from data base in loading. Any body can help me. | |
hello, I don't know whether should I post my problem in this forum or some else. However, is there any method to auto select css tab with corresponding link. I mean to say when ever you open any link from web site its corresponding css tab automatically shows selection(highlighted). I … | |
When I excute my program and open up the text file, it only reads me the 1234 then junk below it. I have no clue what do. Anything is welcome. Below is my .cpp file my text file looks something like this 1234 jack hammer 75.00 .45 10 5678 Daffy … | |
Hi all, This is going to seem a very basic sort of question so here goes.... i have a form with a couple of checkboxs and what i want to do is echo the selected checkbox. for example; if checkbox 1 is submitted then an image will be shown in … | |
I`m displaying a certain number of result from mysql database. My problem come when i need to display for example 4 result in first row,the other 4 in the second row and so on. the code below displays all the results but each in its own row [code] <?php include"config.php"; … | |
Hi everyone What i am doing now is creating a program that the user can change the way buttons look half way through. My problem is i couldnt work out how to update the wx.Button's style while the program is running. I was wondering if anyone could help me for … | |
Hi everyone, Need a small help. I need to read the data from stdin (standard input) without hitting enter. Need to read the data as in and when they are typed in until EOF (CTRL + D as I am using UNIX) is encountered. I tried, getc() - requires ENTER … | |
In my Database(mysql) i have 100 members registered,Now there is page i want to display only ten members, but after each page refresh i want other ten members to display at the very same place Meaning replacing the current shown members. Any one with the idea on how i can … | |
I am determining what method to call by using the runtime class. My problem is whenever I pass in a null object, obviously it will throw a null reference exception. How are you able to determine at runtime the class of a null object. Although its null i need to … | |
I'm trying to read a line from a text document so I can move it into an array. So I've tried to get this to work out and it stops when it sees the "while" line. [CODE]void input (ifstream& file, int& end, string word[]) { int x = 0; string … | |
Okay, I have this program I have to write. I think I get the basis of the idea, but I'm a little confused about parts of the instructions. Here's the instructions. [B]Write a C++ program that uses bit strings to represent sets, and finds A^B, AUB, A-B, where A and … | |
Hello i have a quick question working on a hangman project and have most of it done but i was wondering how to count how many letters a word has in order to have the right amount of spaces wondering if a function or something exists or a link to … | |
i have a modsecurity log that i want to pull a couple things from. here is an example line [05/Mar/2008:12:50:07 --0800] [[url]www.mydomain.com/sid#1ef44178][/url][rid#2042fa58][//member/index.php][2] Warning. Match of "rx ^OPTIONS$" against "REQUEST_METHOD" required. [file "/usr/local/apache2/modsec/modsecurity_crs_21_protocol_anomalies.conf"] [line "41"] [id "960015"] [msg "Request Missing an Accept Header"] [severity "CRITICAL"] [tag "PROTOCOL_VIOLATION/MISSING_HEADER"] so i want to … | |
hi im new to java and just need a little help in the right direction. I am trying to display an input of int on number at a time. So for example the user would enter 1998 and the output would be: 1 9 9 8 and we have to … | |
Hi, My problem is that I need to tell class A to repaint, but from class B. Class B will be a thread that updates components of class A and will eventually tell A to repaint. The basic idea of my code is as follows: [CODE] class A extends JPanel{ … | |
hi, im creating a simple game here...its a shooting game...so how can I make my program read the keyboard to control the player's movement around?tnx in advance | |
Hi, I have created a login form that has adminid and password.. I use visual studio 2005,database access. login form work smoothly when i enter the correct adminid and password but never display an error message if wrong data was entered or no data was entered. I need a help … | |
hi guys, i have declared a char pointer. i am using this in itoa() function to convert integer data into hex data e.g [code] char * hexData= NULL; itoa(1484820,hexData,16);[/code] this results in equalent of 1484820 in hex decimal and store it in hexData. now when I want to some process … | |
I have a jsp page to take input from user and want to store values in database with the confirmation message on the same jsp page . But I already have stored an array list in session during processing of other pages of other modules of my project . Now … | |
Hey professionals, I use DataGridView that allows me to add new rows in table. But when I want to delete it by clicking on my deleting button with following code: DataGridView.Rows.RemoveAt(DataGridView.CurrentCell.RowIndex); ...it makes problems, others rows aren't problematic to delete but this is. But not on purpose I want to … | |
Hi friends, I have a custom tree control(Tree control) and a check list box placed next to each other on a frame.i.e., tree control on the left side of the frame and check list box on the right. I need to place sizers such that on exapnsion of the frame, … | |
I need help with program i cant find a way to get rid of the error and if i think a little bit more my head will explode this is a 2day program for me [CODE]#include <iostream> #include <stdio.h> #include "simpio.h" #include "strlib.h" #include "random.h" #include "string.h" using namespace std; … | |
Hi, I have a problem here and i need some help. I like to know how to link php code to other pages. The following is the entire code : [code] <td bgcolor="#FFFFFF"><? echo $rows['topic'];?></td> [/code] This echo out the topic, but i want this topic to be a hyperlink … | |
Hi friends... I have a frame with a panel which contains a static bitmap. On resizing or expansion of frame, I want the bit map to be at the centre position with refernece to the frame always irrespective of the size of the frame. Please help!!! Regards, Dinil | |
hi every1... i hv a doubt in updating my date... i hv a textbox asking for the number of days(days1).... n a dtpicker1 that should show the date after the number of days(days1) from the date the form is run and submitted.... there is a lable today that takes the … | |
Hello everyone. I am trying to create a program that reads these values / strings from a file: 170 Lipstick 250 Orange Crush 350 Chickadee 450 Green Grass 550 Monaco 750 Toffee Crunch Then I am supposed to create a menu that prompts the user to provide either the number … | |
I need to average the numbers in the array and display and also detemine the letter grade and display. I've managed to average the numbers but I am unable to display the lettergrade, (won't compile) I think it has to do with "Average Grade" being a constant string This is … | |
I have created a class module, and my program creates many instances of the class. Each object has a lot of data, and I want to be able to create a new instance that is a copy of an existing instance. I can't figure out a automatic way to do … | |
Hey there, I've got a little question. I writing a homepage for a pizza delivery service and i have got a little problem which i am not able to solve. If i open the page from the computer i have written it on, everything works just fine but if you … | |
Hey all, still working on my lil program. But now that I'm getting into loops I'm pretty confused on this one. Needless to say I think this is the first while loop I have used since I started python about a week ago. What I'm trying to do at this … | |
I've been overloading some methods for a template class. This means I can write my code in this way. [CODE=c++] myClass var3=var2+4; [/CODE] Is it possible to do it the otherway around like [CODE=c++] myClass var3=4+var2; [/CODE] I know that the end result will be the same, I was just … | |
First I want to apologize if this has been asked before. I have spent hours trying to figure this out and can never find a straightforward answer. It has turned out to be a FAR more difficult problem then I originally thought. Basically, I need to write a client side … | |
Hi, I am looking for a script that will allow people to be able to download one of my web templates, directly after they have payed. At the moment the customer has to pay and then wait for me to actually send an email to them with the template as … | |
i currently working on web based ftp system where this system will upload and retrieve file from ftp server in red hat linux 9.0. here is the php cording for the upload file:- 1.upload.html [code=php] <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <form action="upload.php" method="post" enctype="multipart/form-data" name="form1" … | |
Howdy, I'm a total newbie to scripting and I can't figure out the proper syntax to shell script a for loop for the following scenario: I have a directory of symbolic links to backup log files. I want to loop through the dir to cat the last 21 lines of … | |
Hi guys, i need some help with a too complaicated query for my little brain. I have the following query: [CODE]$query = " (SELECT pic, text, main, gr, min(nr) AS nr FROM info WHERE (gr>0) AND (stl LIKE '$stl') AND ((quantity >= 0 and utg!='J') or (quantity > 0 and … | |
I started programming in Python as a hobby a few weeks ago, and I have run into a little problem. I am currently making a script to give me a sort of Vocabulary Test. It is kind of hard to explain so I will just show you the code. [code=python] … | |
i have to write a simple java program write an application that determines the value of coins in a jar and prints the total in dollars and cents. Read integer values that represent the number of quarters, dimes, nickels and pennies so i did it i don't know where to … | |
Hi there! I am just starting out in c++ and so far, its going ok. I have a small problem in a simple program that is frustrating me, so I am hoping someone will point me in the right direction of where I've gone wrong. The program basically prompts the … | |
i would like to how a host name is stored and it's structure in dns (domain name service) along with ipaddress.by which name a normal client computer is given it's hostname in the dns. here the client availing particular host name does not pay for it. in my computer i … | |
Compile this code with MSVC2005 [CODE] unsigned short x = 20; unsigned short y = 20; for ( unsigned long i = 0; i < x * y ; i++ ) { cout<<i<<endl; } [/CODE] and u get warning C4018: '<' : signed/unsigned mismatch why? i mean, it all runs … | |
Howdy. I am very new to C# so I please forgive my ignorance. I was reading about jagged arrays and multidimensional arrays. I am trying to understand why the following code will work as I would expect it to. [code=c#]int[][] intJaggedArray = new int[5][]; intJaggedArray[0] = new int[5]; Console.WriteLine(intJaggedArray[0].Length); [/code] … | |
new to this php.. i have a login page. <form name="form" id="form" action="aa.php" method="post"> ... <input name="txtusername" id="txtusername" type="text" width="70px" class="style23"/> <input name="txtpass" type="password" width="70px" class="style23"/> ...... button here... </form> after login i am getting login name of user form `URl ->[url]http://localhost/MIS/PS/add/add_ps2.php?[/url][B]name=champawat.[/B]` in second page i hva three `combobox(unit,achivements,crop)`. the … | |
what dose the error " Null pointer assignment" means and what causes this error?:idea: | |
Hi guys, I'm new to this but I have no idea what is wrong with my code and I'm going insane trying to figure it out and its due very soon! I would appreciate any help you can give me! Here's my code: [code=cplusplus] #include <iostream> #include <iomanip> #define ROWS … | |
Hi friends :P I'm needing some help on an assignment. I'm really not sure about all the argument-passing and structure references I have been assigned for my C++ class. Any help is greatly appreciated. I'll continue to work on it in the meantime, but I cannot get it to compile … | |
Hi I want to create an array as shown in the class below everything is working fine, but at the end of execution of the program, there is a memory fault Please help me in finding out the problem [code=cplusplus] class a { int i; int arr[]; public: a(); ~a(); … | |
How do I use a pointer with a 2-dim array? I am converting string to char array. char x[25][100]; const char* A= x; A= x.c_str(); | |
Hey guys, I been working on a small project I found on another forum. It's supposed to decode scrambled word from a word list in 30 sec or less. Well I'm pretty noobish so my method might not be all that great, but I'm giving it a go and learning … |
The End.