199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jaiprakash15

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

Member Avatar for jaiprakash15
0
472
Member Avatar for winrawr

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!??!?!

Member Avatar for winrawr
0
814
Member Avatar for hkansal

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

Member Avatar for hkansal
0
521
Member Avatar for walom

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

Member Avatar for siddhant3s
0
72
Member Avatar for sonakrish

Hi alll... Am planning to design my web page with flash. Can any one guide me. Whats the first step to start?????

Member Avatar for Monalisaparker
0
146
Member Avatar for shasha821110

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 …

Member Avatar for Monalisaparker
0
155
Member Avatar for somesh_nag

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 …

Member Avatar for ravinder007
0
1K
Member Avatar for matale

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 …

Member Avatar for matale
0
324
Member Avatar for EmperorDass

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 …

Member Avatar for EmperorDass
0
688
Member Avatar for bwins

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 …

Member Avatar for bwins
0
105
Member Avatar for tksrules

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 …

Member Avatar for BestJewSinceJC
0
140
Member Avatar for peedi

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!

Member Avatar for BestJewSinceJC
0
3K
Member Avatar for alexgv14

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 …

Member Avatar for Shanti C
0
364
Member Avatar for MJV

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 …

Member Avatar for JerryShaw
0
222
Member Avatar for bchand25

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

Member Avatar for SunnyY
0
157
Member Avatar for disaster

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 …

Member Avatar for verruckt24
0
126
Member Avatar for oscarresonable

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 …

Member Avatar for vb5prgrmr
0
103
Member Avatar for ranjinibiliya
Member Avatar for ranjinibiliya
0
123
Member Avatar for Merlin33069

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

Member Avatar for Merlin33069
0
94
Member Avatar for DemonGal711

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 …

Member Avatar for DemonGal711
0
90
Member Avatar for achiman

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

Member Avatar for almostbob
0
75
Member Avatar for Icebone1000

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 …

Member Avatar for Icebone1000
0
100
Member Avatar for ahfan_85

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 …

Member Avatar for ahfan_85
0
127
Member Avatar for Duki

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

Member Avatar for Duki
0
179
Member Avatar for arshad115

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

Member Avatar for vmanes
0
156
Member Avatar for Henry Schubel

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 …

Member Avatar for Henry Schubel
0
113
Member Avatar for arshad115

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 …

Member Avatar for vmanes
0
170
Member Avatar for JameB

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 …

Member Avatar for arshad115
0
161
Member Avatar for CPPRULZ

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 …

Member Avatar for CPPRULZ
0
155
Member Avatar for CPPRULZ

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 …

Member Avatar for siddhant3s
0
118
Member Avatar for death_oclock

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.

Member Avatar for death_oclock
0
137
Member Avatar for cruisx

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 …

Member Avatar for charleen
0
90
Member Avatar for aminura

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

Member Avatar for charleen
0
295
Member Avatar for jeffc418

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 …

Member Avatar for mschroeder
0
214
Member Avatar for blair.mayston

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 …

Member Avatar for blair.mayston
0
97
Member Avatar for weblover

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 …

Member Avatar for weblover
0
151
Member Avatar for digiPixel

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

Member Avatar for digiPixel
0
490
Member Avatar for robotnixon

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 …

Member Avatar for robotnixon
0
553
Member Avatar for botter911

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 …

Member Avatar for marco93
0
267
Member Avatar for jeffc418

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!

Member Avatar for jeffc418
0
108
Member Avatar for Drake

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

Member Avatar for tux4life
0
94
Member Avatar for nitu_thakkar
Member Avatar for nitu_thakkar
0
146
Member Avatar for jacline

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 …

Member Avatar for jacline
0
212
Member Avatar for jtb19nh

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

Member Avatar for uxgeoff
0
99
Member Avatar for RahulV

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.

Member Avatar for SlyMaelstrom
0
645
Member Avatar for dmorison

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 …

Member Avatar for dmorison
0
112
Member Avatar for Lilal

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 …

Member Avatar for Lilal
0
99
Member Avatar for apch01

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 …

Member Avatar for apch01
0
70
Member Avatar for daviddoria

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 …

Member Avatar for daviddoria
0
470
Member Avatar for akshay.sulakhe

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 …

Member Avatar for scru
0
130

The End.