199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for AlecTaylor

Good morning, I've been trying with various libraries (everything from pugixml to RapidXML) but have been unable to parse a simple XML file. [b]I want to grab all the inner text of each page->text into separate std::string's.[/b], so 1 page per std::string. My RapidXML attempt: [url]https://ideone.com/XWylb[/url] My pugiXML attempt: [url]https://ideone.com/RzN6X[/url] …

Member Avatar for AlecTaylor
0
171
Member Avatar for Tylerp14

As the title says, I need to know how to put a "Credits" or "About" tab in my form, so people know that its from me. (I made a little Halo Reach Music Player with music, I just started programming yesterday and the app is finished, it just needs the …

Member Avatar for Tylerp14
0
243
Member Avatar for razamughal67

How to delete Temporary Internet Files using visua basic 6.0 Hello everybody I think all is well. I want to delete all files and folders in local settings folder in c: drive Using Visual Basic 6.0 Example: C:\Documents and Settings\RazaMughal\Local Settings\Temp C:\Documents and Settings\Don't Worry\Local Settings\History C:\Documents and Settings\Razamughal\Local Settings\Temporary …

Member Avatar for debasisdas
0
337
Member Avatar for gikonyo

am geting this error while testing the login panel of my website that am currently developing. Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/smartie1/public_html/checklog.php on line 43 which is in red this is the php script used for login <?php session_start(); function session_defaults() { $_SESSION['logged'] …

Member Avatar for gikonyo
0
298
Member Avatar for cskinittest

hi Iam using following script for time count, my Quiz project <script type="text/javascript"> var javascript_countdown = function () { var time_left = 10; //number of seconds for countdown var keep_counting = 1; function countdown() { if(time_left < 2) { keep_counting = 0; } time_left = time_left - 1; } function …

Member Avatar for cskinittest
0
162
Member Avatar for chamnab

hey everyone last week i got an assignment from my teacher.He want me to create a program that have the same interface like tuneup 2011.He told me to use ActiveX Control but i don't understand what he mean ! can you help me how to do it ? i try …

Member Avatar for chamnab
0
217
Member Avatar for devinodaniel

Hello! I have this: [CODE] <?php $next_friday = strtotime("next friday"); echo "<select>"; // If you want to loop for 8 weeks for ( $i=1; $i < 10; $i++ ) { echo "<option>".date("m-d-Y",strtotime("+{$i} week", $next_friday)); } echo "</select>"; ?>[/CODE] It shows every friday and but all together. How would I modify …

Member Avatar for pritaeas
0
88
Member Avatar for garyrichard

I have created a report using NAVICAT Report Tool Report has an extension RTM . How..Do i run this report on Online web server..

Member Avatar for pritaeas
0
393
Member Avatar for nikki05

Hi, I want to insert and select the data from the same table.I am using following query to insert and select the data from the same table. However, I am not able to insert the data. Is there any method to do this? $sql=mysql_query("INSERT INTO users (name,ref_no) VALUES( '$name', (SELECT …

Member Avatar for nalini@121
0
144
Member Avatar for skylinedrifter

Hello guys... I had an assignment where i needed to find the average temperature.. here is the question This project asks the students to read input data from a file, do some processing, and direct the output onto the screen. Use Visual C++ to write your program. Write a C++ …

Member Avatar for skylinedrifter
0
188
Member Avatar for iamcreasy

What does the $ means, EventQueue$1.class(Red marked) Attached picture [URL="http://i39.photobucket.com/albums/e179/iamcreasy/Untitled-6.jpg"]http://i39.photobucket.com/albums/e179/iamcreasy/Untitled-6.jpg[/URL] I am using NetBeans.

Member Avatar for iamcreasy
0
204
Member Avatar for Frijolero

I cant figure out how to plug in my vectors for my High and Low. I am fairly new please Help. [CODE]#include <iostream> #include <string> #include <vector> #include <iomanip> #include "conio.h" using namespace std; //Create a datatype to represent weather station... struct SurveyInfo { string LocationID; //The location of the …

Member Avatar for vijayan121
0
260
Member Avatar for adarshcu

Hi All, I need to have a Regex that will not allow just spaces, but it can allow sentences with spaces. It should allow any special characters that occur as well. Actually, it is for a text area of comments. So i want to restrict him from entering just spaces. …

Member Avatar for adarshcu
0
112
Member Avatar for ebanbury

Hi When I load my renew.php page - the following warning appears. However when I click the 'renew' button in the page, the code below still works, but only when I click the 'renew' button twice. I can't find what is wrong with the code to cause the error message …

Member Avatar for ebanbury
0
4K
Member Avatar for jemz

Hi, I need some help in making the login like the daniweb...How am i going to do this that when i click the login it will show the div and the background will turns to gray.just like the daniweb...I am not quite good in javascript i am still studying on …

Member Avatar for jemz
0
102
Member Avatar for David321

I have two quick questions: 1) What is the point of a static method? As far as I can tell, there is no data there that would be accessed by multiple objects as there is no data stored there at all... 2)What does it mean to have a const after …

Member Avatar for mike_2000_17
0
161
Member Avatar for geneh23

Hey everyone, I have another issue with my login page...It is in the checkuser.php and after I register, get the automated email that directs me to a page where my account has been activated..and redirects me to a log in page..I put in my info that the email gives me …

Member Avatar for geneh23
0
174
Member Avatar for hemant_rajput

Hi, i've both pyhon 2.7 and python 3.2 installed on my windows PC. I downloaded and installed the module BeautifulSoup but it got installed only in python 2.7 how can i installed this also in python 3.2.

Member Avatar for Gribouillis
0
249
Member Avatar for ankit.pandey3

Hi friends... I am using Wamp with PHP 5.3 and want to connect with SQL Server 2005 but not successful. I also tried it with PHP 5.2.8 but it still not working. I google it and found some solutions but not successsful yet. Can anyone give me detailed guide (step …

Member Avatar for ankit.pandey3
0
178
Member Avatar for alexander1s

these person is hired by her employee which it agree that the salary would be one penny the first day, two pennies the second day and four pennies the third day and continuing to double each day. i have to use a combo box to select the days that the …

Member Avatar for Reverend Jim
0
167
Member Avatar for Quick2010

Hello, I'm a bit stuck here... Background: a program that (eventually) will save data synchronised from a MTC. (ive worked out all the mtc stuff) The code I am using uses winmm.dll to receive midi messages. This works fine, I can process incoming packets etc. using vb2010 What I'm stuck …

Member Avatar for GeekByChoiCe
0
829
Member Avatar for eikonal

I've got a problem trying to replace keys (dictionary) that I have in a file, with its corresponding values. More details: an input file called event_from_picks looks like: EVENT2593 EVENT2594 EVENT2595 EVENT41025 EVENT2646 EVENT2649 Also, my dictionary, created by reloc_event_coords_dic() looks like: {'EVENT23595': ['36.9828 -34.0538 138.1554'], 'EVENT2594': ['41.2669 -33.0179 139.2269'], …

Member Avatar for woooee
0
369
Member Avatar for Nandomo

I am making a Gui for an inventory. And I want for each time a person presses my next button, the jLabels to display the next item in the arrayList. Right now I'm stuck as it only displays the last element, Any help please? [CODE] // action on the button …

Member Avatar for Nandomo
0
150
Member Avatar for dsoto

import java.util.Scanner; public class Student { private String FirstName; private String LastName; private String Address; private String PhoneNumber; private int Credits; private double Tuition; double Health_Care; double Late_Fee; double Meal_Plan; double TotalTuition; double IncidentalFee; private boolean state; private boolean LateFee; private boolean CampusFood; private boolean HealthCare; public Student() { } …

Member Avatar for leodash
0
4K
Member Avatar for mystycs

If statement acting weird. For some reason if in the IF statement `if ( choosePositionX )` goes to else which tells the user the other player already made the move it goes into the next if `if ( choosePositionO )` and prints out the else in that one. How can …

Member Avatar for mystycs
0
128
Member Avatar for tyricec

I'm trying to make it where I can draw an square with the values in the global array. I made it work without vertex array before but now I need to save it in array so I can possibly delete a square with just a mouse click. However I can't …

Member Avatar for tyricec
0
128
Member Avatar for Labdabeta

I need to convert a true type font into a list of three dimensional vertices using openGL. I looked at the NeHe tutorial, but it only creates a display list from the font and as far as I can tell it is not possible for me to extract the vertices …

Member Avatar for Labdabeta
0
120
Member Avatar for JOSheaIV

Okay so I am completely new to creating a database, and have been trying to create one in Visual Studio 2010 I found this guide on the web and have been following it pretty successfully till I came to spot that I can't get past (here's the link - [url]http://msdn.microsoft.com/en-us/library/dd193408.aspx[/url]) …

Member Avatar for JOSheaIV
0
179
Member Avatar for jdh1231

Right now, I am learning how to use an Array. How the program should work is, I declare how many numbers I want to input, and then, put numbers in. At last, I can choose either find the maximum, sum, or product. The program seems right to me but it's …

Member Avatar for jdh1231
0
401
Member Avatar for Ruben1123

[CODE]public class Order { private int widgets; private double price; public Order(double undiscountedUnitPrice) { price = undiscountedUnitPrice; widgets = 0; } public void addWidgets(int quantity) { widgets = widgets+quantity; } public double getTotalPrice() { return price*widgets; } public double getUnitDiscount() { if(widgets>10000) { if((widgets-10000)/1000>47.5) double toTakeOff = (((widgets-10000)/1000)*.10); price = …

Member Avatar for Aviras
0
165
Member Avatar for jenbrandau341

Here is my project: Write a program that dynamically allocates an array large enough to hold a user defined number of structures (string name and three double tests). Using a function, the user will enter a name and 3 test scores for each element in the array. Using another function, …

Member Avatar for WaltP
0
233
Member Avatar for Aviras

Hello everyone, I'm a java programmer writing a half graphical half text rpg. For the moment I read my data from text files, e.g. Enemies.txt id name hp and so forth. However, I want to make it a little more clear to handle, as in a database format. I can …

Member Avatar for Aviras
0
149
Member Avatar for dragon_chick

Ok, so for this assignment, we were given a program and a class. We have to find where the program code needs modified and make the changes necessary to use the class. [CODE]/****************************************************************************** Programmer: Date: November 6, 2011 Compiler: Cisual C++.NET Source File: hw7.cpp Action: Reads words from stdin and …

Member Avatar for Moschops
0
304
Member Avatar for ebanbury

Hi I have a function 'checkfile'within my 'add a record'form which checks to ensure that the images which users are uploading with the form are within a certain size...in this case 32kb, which is specified within GW_MAXFILESIZE. What would actually be much more useful and user friendly is if when …

Member Avatar for ebanbury
0
252
Member Avatar for TigerTeck

Directions...Write a program SumOfOdds that has one main method that asks the user to input two odd integers where the first is smaller than the second. The program ouputs the sum of all the odd integers from the smaller output to the larger output. You must use a while loop …

Member Avatar for TigerTeck
0
169
Member Avatar for dennysimon

hello all I have one textField and one textArea. How to move the cursor to the end of Text of TextArea when -cursor is in textField,and keyboard [Enter] pressed thank you denny

Member Avatar for dennysimon
0
189
Member Avatar for vegaseat

I am still trying to take a look at the gtk GUI package and reinstalled the following: gtk-win32-devel-2.8.6-rc3.exe and pygtk-2.8.2-1.win32-py2.4.exe (updated version) I have it down to a simpler error message now. Here are my warnings and errors with the sample file base.py [code]Traceback (most recent call last): File "D:/Python24/Atest/Demo/pyGTK/base.py", …

Member Avatar for vegaseat
0
300
Member Avatar for valestrom

Hi, I'm trying to make a set of monsters that have values that can be loaded. Like a Goblin having enemyhealth = 50, enemydamage = 15, etc. Here's what I kinda have an idea of doing... But I really have no idea how to use it. (File containing values for …

Member Avatar for valestrom
0
296
Member Avatar for Tomie

I started taking a "introduction to programming" class a month ago, and the introductory language we are using is Python. Because I have never programmed before and only have a month's worth of experience with Python, please forgive my mistakes. So basically, here's the prerequisites to the "Piglatin Translator" assignment …

Member Avatar for woooee
0
860
Member Avatar for zack_falcon

Log In Failed for User '' The user is not associated with a trusted SQL Server connection Well, that's the full title of my problem. I'm working on a C# program that supposedly could access a database run by SQL Server Express. I know the program works, because it works …

Member Avatar for lolafuertes
0
1K
Member Avatar for super9876

Hi. I'd like to add time (and no date, and not a timestamp) data to a field in MySQL through a PHP form. I've been having problems, as the date is also included. But I only want the time (I want to be able to sort the data by the …

Member Avatar for super9876
0
168
Member Avatar for bbman

With the command"NumericUpDown Control" I would run a command based on the number selected in NumericUpDown Control example If I select the number 5 in the Control NumericUpDown instruction must be repeated 5 times/x5 PS: sorry for my English but I am Italian

Member Avatar for bbman
0
113
Member Avatar for bjwittrock

I'm currently working on a implementing a matrix inversion method for a Matrix class in C++. One thing that isn't implemented is a check for when the pivot element is 0, meaning I will need to swap the rows (likely with the row just beneath it). Here is what I …

Member Avatar for mike_2000_17
0
212
Member Avatar for tozenter

Hi, I'm using a javascript function to toggle and display only 1 div at a time. In this case, I have 3 divs as toggle buttons and 3 divs to show content (which belong to those 3 buttons). My problem is these 3 divs (divs with class .linkBox) that act …

Member Avatar for MartinRinehart
0
222
Member Avatar for kurohige

[CODE]If minutes > 1 Then ProcessTerminate (FindWindow(vbNullString, "King Kong V-1.4")) Shell "I:\DISTRIBU\Quality\RIMData\Monkey\KingKong.mdb" End If[/CODE] this will restart the application.. i'm terminating the app but i can't get it to start again.. any suggestions? thanks

0
65
Member Avatar for pseudorandom21

Is there any reason I'm missing as to why not many languages let a programmer create a table of constant information at compile time? Something like: [code] public const Dictionary<string,decimal> SOME_DICT = new Dictionary<string,decimal>( {"A", 1.9}, {"B",2.3}, {"C", 4.4444} ); [/code]

Member Avatar for thines01
0
136
Member Avatar for saad_sinpk

can u guys help me out i have make one form and i want that if i click on text around radio it select radio here is my form code [CODE]<form name="myForm" action="join.php" method="post" id="joinPool" name="insert" > <input type="hidden" value="" name="event_id" > <input type="hidden" value="survivor" name="game_type" > <input type="hidden" value="38" …

Member Avatar for super9876
0
116
Member Avatar for thenajsays

I'm having an issue with prototype... I have the following code that I want to execute: [CODE]Event.observe(window, 'load', function(){ $('mesTour1').hide(); $('mesTour2').hide(); $('mesTour3').hide(); $('mesTour4').hide(); $('mesTour1').appear().delay(0.5); $('cancelTour').observe('click', function(){ $('mesTour1').fade(); }); });[/CODE] the very first time it's loaded, it doesn't work, but if the page is refreshed, it works perfectly. is there something …

Member Avatar for super9876
0
105
Member Avatar for rexdon

i want to add a word document into c sharp code as reference..and while clicking a button in the form,the word file has to get opened..

Member Avatar for tgreer
0
368
Member Avatar for ramy84

HI, i am writing a program to enter monthly grocery items, purchase date and price. as part of program i have written to enter the data, write the entered data to a text file and read the existing data from the text file. [CODE]using System; using System.IO; using System.Collections.Generic; using …

Member Avatar for thines01
0
1K

The End.