199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for aryanmughal

Hello Everyone i am here to get help from you to make a php website where people can post videos which are hosted on different video hosting websites and also earn revenue from their sharing.... The website will look like [CODE]http://www.e-soft24.com/scripts/video-embed/[/CODE] And Form Will Look Like This One I Found …

Member Avatar for diafol
0
138
Member Avatar for mark185

In Firefox, the JavaScript code an interact with the document object to affect HTML structure and CSS style rules as well as define behaviors for given events. Can the JavaScript code also modify elements of the window object, like menus, not just enable or disable them in a new window? …

Member Avatar for mark185
0
87
Member Avatar for Ana_Developer

I am implementing BFS, A*.... I got confused by all the terms used in the books. Like, what would be th difference between a search node and a state node, or a search tree and a search graph? I have two files as input, a nodes file (coordinate with id …

Member Avatar for Agni
0
63
Member Avatar for joshuabraham

hi everyone.i'm just wondering what the time complexity of the fastest pow function you know of,in the general case i.e when it's parameters are real numbers .Heard someone say it is virtually constant.Also whats the likely complexity of the most efficient algorithm that finds the derivative of a function of …

Member Avatar for joshuabraham
0
122
Member Avatar for bibiki

Hey there, I have the following code: [CODE]public void paintComponent(Graphics d){ int gjeresia_e_kornizes = 800; int lartesia_e_kornizes = 800; d.setColor(Color.white); d.fillRect(0, 0, gjeresia_e_kornizes, lartesia_e_kornizes); d.setColor(Color.red); d.fillOval(105, 70, 250, 350); try { Thread.sleep(2000); } catch (InterruptedException e) { } d.setColor(Color.blue); d.fillOval(150, 170, 50, 20); d.fillOval(270, 170, 50, 20); try { Thread.sleep(2000); …

Member Avatar for bibiki
0
275
Member Avatar for wen30

Hi , may i know why i keep on getting this error? i tried to inherit an interface. I already implement all the member in that base interface but still i get this error. Error 1 does not implement interface member cannot implement an interface member because it is not …

Member Avatar for ClavetA
0
351
Member Avatar for tomtetlaw

when i run my code, i get lots of undefined class errors, even though i have defined and included the files properly(i think). here are the errors i'm getting: ------ Build started: Project: engine, Configuration: Debug Win32 ------ Compiling... baseentity.cpp c:\documents and settings\tom\my documents\visual studio 2008\projects\engine\engine\globals.h(13) : error C2079: 'CGlobals::controller' …

Member Avatar for JasonHippy
0
150
Member Avatar for Violet_82

Hi there, I am trying to get my head around this simple program, but there are things that really don't make sense... here's the program: [CODE]// Fig. 3.5: fig03_05.cpp // Define class GradeBook that contains a courseName data member // and member functions to set and get its value; // …

Member Avatar for Violet_82
0
148
Member Avatar for CollDet

Hello. I'm writing a manager class that should handle a vast and expandable group of classes. The manager class uses a hash_map to store all these etherogenous objects. The objects are all derivations of a base class Object, and of different "interface" classes which are used to define required functions. …

Member Avatar for Agni
0
102
Member Avatar for liljj2005

if i have this code: [code=c]int main(int argc, char *argv[]) { struct tm tmbuf; time_t timeinsecs; int n, rc; char req[16], resource[128], proto[16], fname[128]; char buffer[1024], dates[64]; rc=read(0,buffer,1024);[/code] how would i go about extracting the three substrings into req, resource and proto using the sscanf function? can someone please talk …

Member Avatar for Dave Sinkula
0
211
Member Avatar for rixxir

[B]Hi. I need some help. I need my python program to get information from the .txt file.(text file). I have managed to get this:[/B] [CODE]import string months = [] temperatures = [] fm = open("weather.txt","r") count = int(fm.readline()) # Number of the moths are read from the .txt file for …

Member Avatar for vegaseat
0
155
Member Avatar for sidra 100

plz guide me i m having some error at line 28[CODE]#include <iostream> using namespace std; class str { char s[30]; public: str() { strcpy(s,""); } string getstring() { cout<<"enter the sting:"; cin>>s; return s; } void displaystring() { cout <<"the string is:"<<s<<endl; } string operator+= (string &t) { strcat(s,s.t); return …

Member Avatar for dusktreader
0
130
Member Avatar for Jeronim

I have read a lot of topics with these subject many of theme where on these forum but what ever i try i cant get this working. I have tried 4 or 5 function for converting string to float but i always get compiler error left from xxx must be …

Member Avatar for dusktreader
0
164
Member Avatar for whiteyoh

Hi All, How you can help me with something. when a user logs in and is successful, i want the value of the user "type" to be stored in a session, which is then passed to the "login successful" page where i intend to use a switch statement to determine …

Member Avatar for maba001
0
113
Member Avatar for aquaticdeity

Hi am learning c# myself.I have created a [B]Breakout [/B]using c#.But am struck with one problem.When I run the program the paddle and the ball moves properly,but when the ball hits the brick it, the brick does not disappear. The problem I believe is with the [B]Invalidate()[/B] method.I think when …

Member Avatar for aquaticdeity
0
1K
Member Avatar for madristaa

Dear Friends, I have created a file upload utility which will read the .csv files. My database structure is-- 1)id 2)mobile_no 3)address The administrator will do bulk upload for the above. If the id and mobile_no are already present in the database...then it will update the existing data. If doesnot …

Member Avatar for madristaa
0
397
Member Avatar for geek_till_itMHZ

Need writing a java script that will list prime numbers from 1 - 999 in a 10 Row table...I think I have the prime number logic part down but I cant figure out how to get JS to start a new column after it lists 10 numbers? I would obviously …

Member Avatar for madmital
0
129
Member Avatar for lelady

Hi everyone, I've spent the better part of 3 days searching the web and trying multiple rotating image scripts to no avail.... every time I try one, it seems to break my page, or just not work. I am not skilled at Java, and am not even sure if that …

Member Avatar for madmital
0
151
Member Avatar for Jennifer84

If you have a form application and open another form from a buttoncontrol on "Form1", this will open another form but this form will also be in the "Taskbar" on your desktop. So you have 2 forms in the "Taskbar" (What I am after is to still only have one …

Member Avatar for scott.vass
0
142
Member Avatar for alpha_foobar

Hey, I'm having an issue getting the height and width of DIV elements that have resized themselves to fit their content. Note: I do not have a problem getting the height and width of DIV elements that I have set using Javascript. The probel is that this value appears to …

Member Avatar for lasi7
0
1K
Member Avatar for MichaelHe

Hi everyone I'm doing a very simple click count funktion with Ajax where I put some data in a mySQL database when some links are clicked: [CODE]onClick="UpdateSQL('1', '190', 'divname', 'message');"[/CODE] [CODE]function UpdateSQL(KundeID, IP, sideElement, kaldMessage) { document.getElementById(sideElement).innerHTML = kaldMessage; try { req = new XMLHttpRequest(); /* f.eks. Firefox */ } …

Member Avatar for madmital
0
185
Member Avatar for cnuzzo

I am working on a small program that uses classes to generate a weekly menu of daily food logs. I am still new to python and would like some help with what I view to be the next step. I want to be able to load the program and have …

Member Avatar for Gribouillis
0
149
Member Avatar for cali_dotcom

Hi all, i'm working on a php script and i got a little javascript. i'm trying to get information from some hidden fields but i keep getting an error, udefined. here are the codes: [CODE] var counter = 5; var avail = document.getElementById['available_array[counter][0]'].value; [/CODE] here is the original [CODE] tmp=document.order.elements['available_array[counter][\"+document.order.elements['BRANCHC[ …

Member Avatar for madmital
0
97
Member Avatar for Kru

Hello I have two c files I am working on. One is a stand alone program (I will call it helper) that will take two ints as a command line argument, add them together, prints the operands and the sum, and exits. This program can be run from the command …

Member Avatar for Kru
0
143
Member Avatar for diya05

Hi all, I have a problem concerning my project which is Persoanlised Agent for hotels. In fact, i am creating an interface using java swing for entering the details so as to be able to search for available hotels in a specific country.. the different search criteria is 1) Price …

Member Avatar for stultuske
0
125
Member Avatar for recklesst

hello when i run this code, i get this error : Parse error: syntax error, unexpected T_PRINT in /home/a9017639/public_html/mzrt.php on line 19 [CODE=php]<html> <head> <link type="text/css" rel="stylesheet" href="xxxx.css"> <Title>xxxxxxxx</Title> </head> <body> <P> <h1 style="text-align:center;font-size:60px">xxxxxxt</h1> <BR CLEAR=ALL> <HR> <div class="tres"> <?PHP $zacc=0; if(isset($_POST['submit'])) { $animal=$_POST['animals']; } ?> <h3> Selected Animal:<? PHP …

Member Avatar for michelleradu
0
2K
Member Avatar for SanchitPaurush

[b]Split from - [url]http://www.daniweb.com/forums/thread95019.html[/url] [/b] I am also facing the same problem. I have developed an asp.net project in 3.5 version and it looks different in Mozilla and IE. also when the ie window is in restore mode (means in small size) all the content get mixed. Help me out …

Member Avatar for kvprajapati
0
70
Member Avatar for Monster Killer

I am trying to get my program to write a .bat file to run, it writes the file fine but the file wont run properly as it needs to be encoded with ANSI but i don't know how to set it to write that. Can someone help please? The code …

Member Avatar for Monster Killer
0
810
Member Avatar for hiddenpain

Sorry for the somewhat sloppy programming but it should be understandable. Ok i'm supposed to write a function decide(), its purpose is to first broadcast a User object and then listening for any acknowledgements. If any was received it acts like a client and the one who sent the response …

Member Avatar for verruckt24
0
136
Member Avatar for Stefano Mtangoo

Hi I want to make form dynamically by just passing array of stuffs. I have tried but cannot may be due to my limitation in PHP. Here is what I have so far. Please help me! [CODE=php] class MyForm{ private $formArray; //pass array to build a form in form of …

Member Avatar for Stefano Mtangoo
0
116
Member Avatar for UnderPressure

Hey all, I'm rather new to PHP but learning fast over the last several weeks, (so please pardon my ignorance) I've created SQL db, a number of php pages & scripts which interact with it, and have created an html mainpage. The main page is going to act as a …

Member Avatar for UnderPressure
0
119
Member Avatar for NoGood

Hi All, I am trying to the following for an appointments system. So far i am able to add to my Sql table 'bookings' values i select from a drop down stored as $day, $month, $year and $time. I want to be able to do a check nefore a write …

Member Avatar for sophia nayagi
0
2K
Member Avatar for 54uydf

Hey everyone, I'm trying to import a table using xml file into my access project. First I exported the table the easy way and saved it on my desktop, and now I'm trying to write a vb code for a button on a form that will import it. I have …

Member Avatar for 54uydf
0
106
Member Avatar for imolorhe

Hello there, I am working on a little project and have a problem about finding the IP addresses of all the remote computers connected to a LAN network. I will greatly appreciate it if I get the answer to what I need. Thanks.

Member Avatar for irungu
0
321
Member Avatar for mayaaa

Hello All, Can anybody plz guide me how to write a new method in servlet. I am using netbeans 6.8 A code snippet will be highly appreciated. Also I will be calling these method of servlet B from servlet A. In Servlet A there are 2 hyper links, which should …

Member Avatar for mayaaa
0
3K
Member Avatar for vader1231231

[CODE] #include <iostream> #include <cstdlib> #include <ctime> using namespace std; int main () { srand (time(0)); int count = 0; int random_num = (rand () % 100) + 1; int high_num = random_num; int low_num = random_num; float total = 0.0; while (count < 100000){ count++; random_num = (rand () …

Member Avatar for Narue
0
59
Member Avatar for May Tang

[code] Private Sub btnLoad_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnLoad.Click Dim sqlconnection As New SqlCeConnection("Data Source = \My Documents\NuttyCafe.sdf; Password = pass1234;") Dim sqlSelectTable As SqlCeCommand = sqlconnection.CreateCommand() sqlSelectTable.CommandText = "SELECT* FROM Product p inner join Category c on p.categoryID = c.categoryID where p.ProductTitle=@ProductTitle" Dim daResult As …

Member Avatar for kvprajapati
0
108
Member Avatar for ankur_

I have taken the opensoruce from ~wagnerr/ConfigFile.html for reading configuration file. It perfectly works fine with gcc 3.2.3 and it fail to compile with gcc 3.4.3 on RHEL 4 I am getting following error g++ -Wno-trigraphs -Wno-unused -Wno-deprecated -Wpointer-arith -fno-common -fno-strict-aliasing -fexceptions -DC_GCC_C -DC_GCCBJC -DC_GCC_CPP -fPIC -D_GNU_SURCE -DC_GNUSTEP -DC_LITTLE_ENDIAN -DDEBUG …

Member Avatar for gerard4143
0
365
Member Avatar for RahulV

Hi, I am working with ListView. How can a ListView have multiple columns and also have CheckBox at the same time? (preferably in its View property set as "Report")

Member Avatar for vipin saxena
0
2K
Member Avatar for bonnysammy

I'm sure I'm missing something that is fairly easy, but I can't get it to work. I have a SQL Update Stored Proc. In this SP, the Primary Key can be modified. So, First I check if the PK is changing, then if it is, I check to see in …

Member Avatar for madmital
0
321
Member Avatar for n.utiu

Hi! I am quite an active programmer. I work allot for school so i need a good IDE. I a[COLOR="red"][/COLOR]m currently working on Windows with Dev C++. Dev is quite a good compiler and editor but IMO the debugger...sucks. So I would like to know your opinion on Dev, and …

Member Avatar for abdelhakeem
0
91
Member Avatar for prankyrules

Hey folks, I am loading the database from the text file using load infile command, what i wish to do is to delete last inserted data not just the last row i.e all the data i have loaded from text tile.I am working on MySQL. Thanks in advance Prankyrules

Member Avatar for jazz_vill
0
107
Member Avatar for michelleradu

Hi guys. I'm trying to pick 2 dates from a calendar on my webpage. I've got 2 textboxes (date1 and date2) and the calendar image next to each of them which opens a separate window with the calendar. It's all working fine, except for the fact that I can not …

Member Avatar for michelleradu
0
372
Member Avatar for adamramadhan

i have a page [QUOTE]edit.php[/QUOTE] and i wanted to be like this edit.php?at=profile edit.php?at=upgrade edit.php?at=im edit.php?at=delete and if there is no at='something' to include default theme(html) [CODE]<?php include "../app.php"; include $basepath . "inc/PasswordHash.php"; include $basepath . "inc/functions.php"; include $basepath . "inc/adodb5/adodb.inc.php"; // Session Start $adodbsessionstart = new UADODB; $adodbsessionstart->adodbSessionStart(); $db …

Member Avatar for adamramadhan
0
197
Member Avatar for kanuri1

hi here i wants to show the room numbers by using the following code but it is not working. here iam giving the code plese give the proper coding [CODE] Dim conn As New SqlConnection(ConfigurationManager.ConnectionStrings("guest1").ConnectionString()) conn.Open() Dim da As New SqlCommand("select room_no from guesthouse where room_no not in(select room_no from …

Member Avatar for madmital
0
82
Member Avatar for jko2326

I'm suppose to combine class Time2 and class date into one class DateAndTime. I don't understand how to do it at all, I've been trying to read through my book and I just don't get it. Can anyone possibly help me out on how i could combine these two classes? …

Member Avatar for stultuske
0
5K
Member Avatar for dlannetts

Ok, so l am new to php ... sort of, now l have managed to throw this together: [CODE]<?php $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("test_database", $con); if(isset($_POST['Login'])) { if($_POST['username']!='' && $_POST['password']!='') { //Use the input username and password and check against 'users' …

Member Avatar for dlannetts
0
116
Member Avatar for StefanCP

I have this code, it s a wordpress MU code. The result is a string list of blogs subdomains, on a MU domain. [CODE]$blogs = get_last_updated(); echo 'Most active mommies:<ul>'; foreach ($blogs AS $blog) { echo '<li>'.$blog['domain'].'</li>'; } echo '</ul>';[/CODE] I want that instead of the unclickable subdomains, to get …

Member Avatar for StefanCP
0
143
Member Avatar for kymarscheng

How to store the data of a program without using registry? Because I don't want the users change the registry and the program settings... Are there any other ways that can prevent the users from changing the settings?

Member Avatar for kymarscheng
0
166
Member Avatar for vampire_ashiko

The End.