199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for nick3592

Hi i have recently discovered that my site was on some one elses website, i have checked his source code so but it wasnt through iframes so it must be through server side technology. i was wondering if theres a way to block this from happening.

Member Avatar for almostbob
0
115
Member Avatar for tennis

[CODE]// pointers to base class #include <iostream> using namespace std; class CPolygon { protected: int width, height; public: void set_values (int a, int b) { width=a; height=b; } }; class CRectangle: public CPolygon { public: int area () { return (width * height); } }; class CTriangle: public CPolygon { …

Member Avatar for sfuo
0
126
Member Avatar for billowillo

Hello, I am new to this site and to C++. I have been following a tutorial on how to make a Tetris clone in SDL and C++ from the following site : [URL="http://www.aaroncox.net/tutorials/arcade/FallingBlocks.html"]http://www.aaroncox.net/tutorials/arcade/FallingBlocks.html[/URL] When i was finished going through it all and sorting through all the petty errors I had …

Member Avatar for billowillo
0
236
Member Avatar for neosonic

Hi, I am currently using ms word template .dot to create a ms word document. My current goal is to create .xml file to be used for quickbook sdk input (qbxml). I am using ms word 2003 and I can save those .dot as a .xml document, but it is …

Member Avatar for neosonic
0
200
Member Avatar for Archenemie

im trying to make it so that the discount box will only accept numeric input to 2dp, and i know the code is roughly solid, but when i run the code, it says CashTransaction has no attribute discount input, and i have been tinkering with this code for the better …

Member Avatar for Archenemie
0
101
Member Avatar for Nathaniel10

An exercise is to write a program that generates random numbers within user specified limits. The program I wrote is as follows and it runs correctly. [code] #include "../../std_lib_facilities.h" void randnum(double lower, double upper, int n) // Generate 'n' random numbers uniformly distributed { // between lower and upper limits. …

Member Avatar for mrnutty
0
183
Member Avatar for sam023

Hello Friends.. i have 2 folder in root directory DEMO1 and DEMO2 containing same kind of files. when i login in DEMO1 through localhost/demo1/index.php and it will direct me to welcome.php and after login when i change demo1 to demo2 from address bar.. I Still remain in SESSION or welcome …

Member Avatar for ﻼim
0
161
Member Avatar for Dinnerfortwo

My assignment is to use pointers to point at the highest and lowest temperatures in the array. I need to have 3 pointer variables and start them at the beginning of the array. Step the pCur through the array using a for loop and pCur++. Loop through the array looking …

Member Avatar for xuancong
0
202
Member Avatar for kendaop

Simple question: Is having multiple 'ref' parameters allowed in the same method? For example, [code=c#] private void RouletteSelection(ref Chromosome child1, ref Chromosome child2) { ... ... ... } [/code] I'm not getting any compiler or runtime errors, but the output I'm getting suggests there may be a problem with this …

Member Avatar for kendaop
0
128
Member Avatar for nezbo

Hello daniweb I am currently trying to convert one of my finished python games to a working executable file for windows, which proves harder than expected even though the py2exe side-package is avalable. The program i'm trying to convert is [URL="http://dl.dropbox.com/u/2905284/The_Pirate_Game_v1.1.2.rar"]The Pirate Game[/URL]. I create the standard file for using …

Member Avatar for snippsat
0
124
Member Avatar for mansoor1000

all i need is this, i can write this in almost every other language except this; a loop to show me the constant mouse coordinates (x,y) of the mouse on the screen, much help would be appreciated if you could write a sample program its only 2 lines.

Member Avatar for NormR1
0
103
Member Avatar for neoboi

Hi all the gurus and experts out there, I need your opinion on this: [url]http://www.simcountry.com[/url] What do you guys think is needed for programming/developing such game at this scale? Any advice for the platform to use and which server should I tap in for a good start?

Member Avatar for kirennian
0
115
Member Avatar for Katana24

Hi all, I have a method set to return an array of type integer but I would like to know how I would access the independent values in that returned array. My program does this: User enters numbers seperated by spaces and the program computes such things like the average, …

Member Avatar for tong1
0
1K
Member Avatar for gibson.nathan

im making a grades program to try to keep my skills sharp. since i have gotten out of apcs i havent really been doing too much of anything with java. i decided the other day that i was going to try to make a grade program, kind of like what …

Member Avatar for coil
0
677
Member Avatar for lwaterfo

Hi, I have a php code that lists the contents of one of the tables in my database. At the bottom of the listing, there is code that takes you to the next 10 results. Problem is, when I test it out, I am being redirected to a comcast search …

Member Avatar for MooGeek
0
117
Member Avatar for Moe

Please check the use case diagram I have drawn for the following system. I really want to request you to check the part of the Catalog System, Inventory System and Bar Code Reader. Is it necessary to draw that parts in the diagram? Is there any mistake in that parts …

Member Avatar for John Marcos
0
2K
Member Avatar for mysticstylez

Hey, I am working on this small project that will shuffle an array of names and then will load them into 5 list boxes. I have 25 names and need to load 5 names per listbox. Need some suggestions on how would i go about accomplishing someting like this. Thanks!

Member Avatar for CloneXpert
0
93
Member Avatar for radc

Hello Python community :) This is my first post so don`t judge strictly. I need the user's client to start, so that the user may edit the message and decide himself whether he clicks on the Send button to really send it. I have searched on google and most code …

Member Avatar for radc
0
252
Member Avatar for vocater

..HEY GUYZ...Hey guys...I was trying to link the Input applet with the code such that, when the user selects like the "Edit function" it refers back to the input function with the empty spaces to fill the new Student information //Marcus Student's Database program. Using Linked List. //The prog. shud …

Member Avatar for NormR1
0
149
Member Avatar for chamika.deshan

Hello I am in a question of assigning local scope pointers to global scope pinters. I have a code like this. [CODE]public : char* myValue; void process(TiXmlElement *element) { myValue= element->getText(); }[/CODE] But once the process function is returned value is garbage. So I did this. [CODE]public : char* myValue; …

Member Avatar for mike_2000_17
0
139
Member Avatar for aditya027

Hi,Norm jon, I am posting a new thread for tagging the code accordingly. Hope this helps out. 1.My ball is not bouncing within the circle i drew.(Within circle 2).It just goes vaguely toward one direction and comes back.I want the ball to bounce randomly.Just like in the game ball and …

Member Avatar for NormR1
0
119
Member Avatar for sjeggels

Hi everyone. I am seeking help to display my query result (user list) into several pages. The code below retrieves user details successfully like a picture, accommodation name, address and a clickable link to a profile page related to specific details of user. This page is my users_list.php which displays …

Member Avatar for benjaminFowl87
0
109
Member Avatar for weles

Hi, It is my 1st attempt with Ajax and I'm facing some problems. Below parts of my code. First part is working ok. But then I need to get option id attribute instead of value. And it is not working. Could you help me and check it? Thx index.php form …

Member Avatar for weles
0
84
Member Avatar for LevyDee

I am practicing Win32 API again, and for some reason, I am getting an error. [code] #include <windows.h> #include <windowsx.h> #define WSIZE = 400 #define HSIZE = 400 LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam); int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { WNDCLASSEX …

Member Avatar for LevyDee
0
167
Member Avatar for VilePlecenta

[CODE]HMODULE g_hModule = GetModuleHandle( 0 ); HRSRC hRes = FindResource( g_hModule, MAKEINTRESOURCE( ID_DLL_MYDLL ), "ID_DLL" ); HGLOBAL hResource = LoadResource( g_hModule, hRes ); DWORD iResSize = SizeofResource( g_hModule, hRes ); BYTE* pData = ( BYTE* )LockResource( hResource );[/CODE] When I included a dll file into my project, I used: [CODE]fstream …

Member Avatar for mike_2000_17
0
344
Member Avatar for george61

I'm working on a site and I want to give the users option to change the background image. Of course client-side. My default background-image is put in CSS file. [CODE]body { background-image: url(images/back.jpg); overflow: visible; width: 1260px; }[/CODE] I've tried to make some javascript trigering the change [CODE]var img = …

Member Avatar for Airshow
0
455
Member Avatar for Tech B

Been a while since I posted anything here, so I decided to post what I've currently been working on. I use ImageChops to get a difference between two consecutive frames from my webcam. I would like to replace the pixel values > rgb 50, 50, 50 with 255, 0, 0. …

Member Avatar for Beat_Slayer
0
123
Member Avatar for ndeniche

Hello mates I've got a database with tables for Job Department and Job position. Every Positions has a respective Department assigned by the id. So, when the user selects a Department, the program deploys into the combobox the values of the Positions assigned to that department. The thing is, the …

0
119
Member Avatar for SKbirdie

I have an existing website I an trying to modify. In speedscript I have my include libraries and a veriable. Then I need to do an href with a link I have the code as follows <a href="WI_testweb/" + "custno" + ".xls">Matrix</a> The custno is the variable. Is there a …

Member Avatar for SKbirdie
0
212
Member Avatar for adobe71

How can I access remote database using window application in C#.I want to insert/update and delete the record from database which placed in web server using window application.

Member Avatar for Lusiphur
0
124
Member Avatar for monstercameron

this is how 3d in html should have been done! displaying 3d models is the easy part...then using javascript, python, actionscript or java the edit the scene the tag "3dobject" denotes a single 3d file solely for viewing the tag "3dworld" denotes a list of 3d files within a world …

Member Avatar for monstercameron
0
107
Member Avatar for drake10k

Hello, I'm using a form with a 0.01 opacity and I want to draw a rectangle on it... but of course, the rectangle is also invisible when drawn. Is there a way to make the form invisible, but not the rectangle I want to draw on it? thank you

Member Avatar for farooqaaa
0
142
Member Avatar for jasneg

i got this code in the some video and made some few adjustment, one of it is the size of the pixel or the drawings and the size of the tile/grid or map i wish to use..... But it looks like i need to do more adjustment unlike following the …

Member Avatar for jasneg
0
116
Member Avatar for itsmeisuru

Hi [code] #include "cv.h" #include "cxcore.h" #include "cxtypes.h" #include "highgui.h" int main() { CvCapture* capture = cvCreateFileCapture("RosewellBst.mp4"); cvNamedWindow( "Example2", 1 ); cvMoveWindow( "Example2", 100, 100); IplImage* frame; while(1) { frame = cvQueryFrame( capture ); if( !frame ) break; [COLOR="Red"]cvShowImage( “Example2”, frame );[/COLOR] char c = cvWaitKey(33); if( c == 27 …

0
61
Member Avatar for s_jmp

i was wondering what exactly ORG instruction do? i know it sets where the program loads in memory,but how,when you disassemble a binary assembly file you dont see such a thing as org instruction,but when you run the binary file it gets loaded in that address you mentioned in front …

Member Avatar for dan63043
0
93
Member Avatar for infivivek

Actually i am currently developing a website. Which involves oracle database access.... And my problem is that i am not able to access the variable from the home page or the login page from another page. please help in doing so,,, thank you,,

Member Avatar for Lusiphur
0
112
Member Avatar for nv136

Hello everyone. I really don't know where to post this, but, anyways.... here is my problem.... I have built a program that generates a waveform for a .wav or .wave file.... but the music clip can only go in through the "file, open, and blah blah blah" I really want …

Member Avatar for nv136
0
755
Member Avatar for lewashby

I just got a new book on sql. So what software do I need to get started to and play around with these statements and load the querys supplied by the book. Thanks. By the way I'M running Ubuntu Linux

Member Avatar for teedoff
0
100
Member Avatar for |DarkBerzerk™|

Dear Friends, I am not expert in php, but i am trying to make website easy to edit with its own cPanel i tryed this basic code to get the id of the page from the link and show the contents of the file.. and its working good..but how i …

Member Avatar for |DarkBerzerk™|
0
127
Member Avatar for Hisham-Usif

I'm wondering whether it is possible to declare a global variable in a click event. I need to declare an array of a specific size. The specific size is generated using a series of IF statements. I only need to know how to declare it. Thanks in advance I'm using …

Member Avatar for Luc001
0
423
Member Avatar for niall_heavey

Hi, I am trying to delete all files that end in .csv within a directory. I'm not sure how to go about this, I am using bash and the command I used was; [CODE]rm '/home/eeng/ME_project/Big_Users/*.csv'[/CODE] New to this scripting so not too sure where i'm going wrong. Any ideas? Thanks. …

Member Avatar for cfajohnson
0
164
Member Avatar for Umee001

Hello all im new to prgramming and ive gotten to a dead end where im hoping some of you people can help me! Basically i am trying to make a media player that opens pictures audio and video into seperate forms, so i have 4 forms main form where i …

Member Avatar for Umee001
0
187
Member Avatar for OldManStarting

Having found the following post on datareaders [URL="http://www.daniweb.com/forums/thread278415.html"]Topic Posted On DaniWeb[/URL] i have managed to successfully create a datareader in a class that updates a listbox on the calling form with entries retrieved from a SQL server database. I was wondering if it is possible to achieve the same thing …

Member Avatar for OldManStarting
0
163
Member Avatar for eagled2

Hello. I am currently working on a website to post some articles I write for my friends. The problem I am currently having is with a dynamic redirect. I have a dropdown list that is populated dynamically from a mysql database. That part is working fine but I can't get …

Member Avatar for MooGeek
0
213
Member Avatar for XodoX

Helllo, I am supposed to do the following: [quote] Mathematically, a set is said to be consists of well-defined elements. For instance, the following are well-defined sets. A = {1, 2, 3, 4, 5, 6, 7} B = {2, 3, 4, 8, 9} A set may be described using other …

Member Avatar for guru_iyer
0
146
Member Avatar for naxysch

Hello, ok I have a problem with JFileChooser.When I save a file with a name that exists already, It replaces the older file and saves the new one but I want make it show a confirmation message to the user to ask if they want to replace the file or …

Member Avatar for naxysch
0
207
Member Avatar for sana_moi

hi there! im trying to do a xor beetwin two cha but i coudl no there is my code: [code=c] String^ val2; String^ val3; String^ val1; String^ val; char *chval1; char *chval2; char *chval3; char *chval; char *chv; val1=GZMK1->Text;//GZMK1 is textbox val2=GZMK2->Text;//GZMK2 is textbox val3=GZMK3->Text;//GZMK3 is textbox chval1 = static_cast<char …

Member Avatar for Ancient Dragon
0
175
Member Avatar for John Sand

Hi! I'm new to C++ and am having a problem with saving a text file into a string. I'm using getchar() but only the last line of the rather long text file is saved into the string when used in different functions. In other words, if I include a "cout" …

Member Avatar for John Sand
0
187
Member Avatar for arthurav

I administrate a database with 3 main tables for a training company: course providers, lecturers and graduates. I have to create a database admininstration page with insertion, modification and search features. I am using php with mysql. I wanted everything to happen in the index.php (do not know if this …

Member Avatar for nkmswot
0
129
Member Avatar for rishabbbh

[B]Can anybody tell me whats d problem..????[/B] [CODE] #include<iostream.h> #include<conio.h> void main() { clrscr(); int l,b,r,a; char ch,t,x; cout<<"******************----MAIN MENU----****************** \n"; cout<<"\n 1.Area of rectangle"; cout<<"\n 2.Area of square"; cout<<"\n 3.Area of circle"; { cout<<"\n Enter your choice"; cin>>ch; } rec:cout<<"\n Enter the Length and breadth"; cin>>l>>b; a=l*b; cout<<"\n Area …

Member Avatar for mike_2000_17
0
145

The End.