199,114 Archived Topics
Remove Filter ![]() | |
Dear Friends, I am working on a project where i have a JSP page(ex1.jsp) and in that JSP page i have 2 frames((ex2.jsp on top) and (ex3.jsp in bottom))...When ex1.jsp is called..it has to load ex2.jsp frame and ex3.jsp by passing some paramenters to it.. Please see the code.. [code] … | |
I've tried everything, and I just can't get my program to compile in visual basic. Someone tell me what I'm doing wrong? see attached image, are the includes in the wrong spot or WAT!??!?! | |
Hello Experts, I am fairly new to MS SQL Server 2005. I am trying to create a table where a column has the restriction of allowing alphas only. I know how to achieve this in Oracle using String functions. But am not able to do so in MSSql. The replace() … | |
I'm trying to convert a string to an integer and store it in the same variable multiple time through a loop. For some reason it never works after the first time, it screws the number up. [code] #include <stdlib.h> #include <string> #include <iostream> #include <cstdio> #include <sstream> using namespace std; … | |
Hi alll... Am planning to design my web page with flash. Can any one guide me. Whats the first step to start????? | |
Hi, all. Really new on php!! I want to implement one function which could get the price depending on different size and calculate the total price. So i made foo.php and bar.php. Which people could choose the size and the price in foo.php and want to pass which they choose … | |
Hi, I want to display a java script confirmation box before browser session is timeout with message as "Your session is going to timeout in 2 mins. Do you want to extend session?", if user is clicked on "Ok" button within the session timeout period, session should be extend. If … | |
I created a dataset in the Dataset Designer by draging a database table into it, then I added a new select SQL query to the DataTable. Check the pics I think it helps explain it better. [URL="http://i43.tinypic.com/2qs7707.jpg""]http://i43.tinypic.com/2qs7707.jpg"[/URL] Now the problem comes when I try to use an ObjectDataSource, it sees … | |
This is an error message i get, [B]Warning: get_meta_tags([url]http://www.fashionworld.co.uk/[/url]) [function.get-meta-tags]: failed to open stream: HTTP request failed! HTTP/1.1 500 Document follows in /home/skmehta/public_html/test/show_booked_1.php on line 671[/B] i am designing a website where the user can save the URL's of the webpage they like most with some pictures from that webpage … | |
Hi, I am a future undergraduate and am looking at a Computer Science and Information Systems degree. And I have a few questions.. Is this degree in demand? Is it a respectable degree? Should I get some work experience in school before applying to a big company? The program I … | |
Hi, I have written the following code.I need to convert it to GUI. import java.awt.*; import java.applet.*; import java.awt.event.*; public class CompString{ public static void main(String[] args) { System.out.println("Enter two strings:"); BufferedReader bf = new BufferedReader(new InputStreamReader(System.in)); System.out.println("Please enter first string:"); String str1 = bf.readLine(); System.out.println("Please enter second string:"); String … | |
when i run a program, and try to type in a decimal as input i always get an error? what can be the problem? should i use int or double? help! | |
I have a .htaccess file which forwards non www request to www [code] Options +FollowSymLinks RewriteEngine on RewriteCond %{HTTP_HOST} ^mysite.com [NC] RewriteRule ^(.*)$ http://www.mysite.com/$1 [L,R=301] [/code] However, I have a problem if i were to put into the url mysite.com/test.php it will not forward to the www site. Any help … | |
I have created and tested a stored procedure that works in sql. This stored procedure has one parameter that it requires to run "quoteno" . I already have the database attached to the form. Can anyone help me with the code for this. The name of my stored procedure is … | |
hi this is chandu.....i realy in a mess...plz do help...i just want to know how to begin within order to create quiz software using php.........plz explain in brief...plz plz.... | |
Hi all, Im fairly (very) new to coding. now I have this school project I need to do for IT which is due tonight. Basicly what I have to do is count the amount of words and letters in a string using what we know, which is not much... What … | |
Hello everyone, I have a project that the user can create/customize a report in a form,.. And in my project I have a form where user can choose a multiple tables, and also user can choose which fields they put in the report form..............., but the main problem is only … | |
Hi, i want a code to open an exe file in asp. please explain me in detail. | |
Hello Daniweb community firstly i would like to thank you for reading this So i am working on a server for a friend of mine, and i am fairly new to PHP, the server is at ambience.selfip.org site is going fairly good so far, i went through a few ideas, … | |
I'm dealing with a map of vectors, and I'm making sure I clean up all the memory used. So, what exactly is the best way to handle this? One person said to use clear() on each vector in the map and then use clear() on the map, but I don't … | |
please how can i create a form with three drop down list menu and when submit button is clicked it return a result depending on the choice made from the drop down menu | |
Hi, I alredy got it to work, but I did things that I figured out by debugging it, and I dont understand very well what is happening.. So..I trying to read a file header( its a ppm image file), here is a commom one: [CODE] P3 # example comment 512 … | |
I have a question here: Complete a program that performs following operations by using C++ programming: a.Enable user to create and manipulate a list of items (must be able to read integers, characters and strings). b.Enable user to sort the list. (any sorting algorithm except naïve sort) c.Enable user to … | |
Hey guys, I have a function that compares two dynamic arrays and returns true or false if they're identical. [code=c++] bool Identical(QueType que1, QueType que2) { if (que1.IsEmpty() != true && que2.IsEmpty() != true) { cout << "in loop\n" ; ItemType tmp1 ; ItemType tmp2 ; que1.Dequeue(tmp1) ; que2.Dequeue(tmp2) ; … | |
i m getting a runtime error and the program skips the first attribut i.e name,and gives a runtime error at the second one.compiler gives some warning about gets".\Assignment 3_Question 4.cpp(118) : warning C4996: 'gets': This function or variable may be unsafe. Consider using gets_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. … | |
I'm not even sure where to post this, but since I wrote the code in VB6, maybe here... This is really more of an Outlook problem, but what I'm doing is programatically creating email. Here's the problem. My VB6/Access application is installed on a Vista machine, and the host machine … | |
i m having so many problems,i m trying to make an hotel database management program in win32 console and i m not allowed to use structures,only variables or pointer or Dynmaic arryas. i m using 2d dynamic array,i have to pass it to a function to store values in it,i … | |
How do you find the length of an int array?? I have int array with some values and I need to count how many values are there? I tried a lot of things like strlen(); sizeof(); etc.. [code=c++] int main() { int iarray[10000]; // Now I have a lot of … | |
Hello, I posted a program about converting furlongs to kilometers and other conversions concerning those 2 main units. These errors kept popping up: error C2027: use of undefined type 'Kilometer' see declaration of 'Kilometer' error C2228: left of '.getkilometers' must have class/struct/union error C2027: use of undefined type 'Kilometer' see … | |
Hello, I have been working a week on this program with this stupid bug that gives tons of errors. I have narrowed them down to 4 errors and 2 warnings but I have no idea how to fix the 4 errors. The program is supposed to have two user defined … | |
I had forgotten about calloc for the longest time, but I was recently reminded of it. Now i'm curious, what would be the difference between [ICODE]malloc(numElems * elemSize);[/ICODE] and [ICODE]calloc(numElems, elemSize);[/ICODE]? If my knowledge of arrays is correct, there shouldn't be any difference in the memory allocated. | |
Hi guys, i am working on a bank program for school but i am running in to a small problem. when the program starts up its displays a menu such as: item 1 item 2 item 3 And say if you click item 2, it will do waht ever it … | |
Well, today I had my C++ viva at my school..and I screwed it up!! The answers to this question which I was asked may be easy but I couldn't get it..Few questions of which I haven't got the answers yet-- 1. [CODE]class A { public: int a; int b; };[/CODE] … | |
Hi everyone! I really love this forum, it's by far the best coding forum I've been to. I have been attempting form validation and login security for about a month now, and I made the mistake of using all JavaScript for validation (though my site requires JavaScript...sooo I could always … | |
Hi, Making good progress with a script that collects rss feeds from a news website and emails headlines but wondering whether I can alter what I have to email only the new headlines. My idea is that the new headlines would be compared with the previous ones using something like … | |
hi all..i have a question ..and need help please... i have this applet code and i don't know how to use applets ....so i want to put this code in a single class if it can be made..coz i don't know anything about applets...and i want to join it with … | |
How do I create a Python egg that will properly pick up all the files and directories in a Python package :?: I have tried to do this with a "setup.py" file (created outside the Python package). Listed below are its contents: [CODE] from setuptools import setup, find_packages setup(name = … | |
Quick question (hopefully). I have a vector of strings and need to remove duplicates. Normally, I'd just use sort, erase and unique. However, I don't want to sort the data. My idea was to copy the vector to a set, then back to a vector. But every attempt just screws … | |
Hi, I use the code below for an bitmap image and it works great. The only problem is after I use system("cls") or when the scroller goes down it cuts the image. I use compiler Dev-C++ and my OS is Windows XP and I have also vista. I was thinking … | |
Hey all! Pretty simple I hope :D I have a website that absolutely requires JavaScript to be enabled for it to work. How can I make it so that if a user with JavaScript disabled tries to view my site they are redirected to an error message? Thanks! | |
What does the software or computer actually do when you compile a program using a software tool such as MPASMWIN. Just need to know what compiling actually does?? Would be great help cheers | |
hi... my question is how many total control can be taken in single form | |
Add an interface, SizeComparable, that includes only the boolean isBiggerThan( Shape other) method. In your ShapeSet class, provide a method void sort(), that sorts the shapes of the shape set by class Shape implementing the SizeComparable interface. This is the problem I wrote codes but it gives run-time error.Could you … | |
I would like to learn html. I need book recommendations. I need a beginner book I only know very basic stuff. Thanks for the help | |
Hi, How can i open a PDF file in Form instead of using a shell to open it? Also i want to select some text in the opened PDF file and store it in a variable. Thank you. | |
Hi Guys, I'm having a problem with the below code. It's probably a simple mistake as I'm relatively new to PHP, and even newer to socket programming. The background is that I'm developing a socket server for a multiplayer game. Here is the relevant code: [CODE]class PlayerList { var $plist … | |
Heya, Just trying to get a little help on some excercises I need to do, Done 14/15 fine, but stuck on 15th and not sure quite whats wrong. Need to do a systemcall from C program to copy a file, using stat, open, read write and close. So far I've … | |
cant display the correct value of the structured values with function ... is it got to do wif some buffer stuff ??? [code] #include "stdafx.h" #include <iostream> #include <iomanip> using namespace std; const int MAXCHARS = 15; const int NUMEMPS = 1; int i; struct EmpRec { long num; char … | |
If I use the uncommented 3 lines for getting an int out of a stringstream, the value in MPV is wrong. However, if I make a new stringstream, then it works fine. I thought setting .str("") was essentially resetting the stringstream? [code] line = ""; getline(fin, line); //get fourth line … | |
hello friends...started to learn python and have covered the basic stuff and some silly gui stuff...i currently have some time so i thought why not prepare a app in python with some killer gui..now java has swing which can be modified to make such GUI...so is there anything which can … |
The End.