199,124 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Deepak.G

Hi I'm having a test suite in python and i would like to email the result through my company server. I used a similar code but the code seems to be hung while waiting for a response from server during socket.connect() call. I traced the code and found that it …

Member Avatar for rogerkrush
0
1K
Member Avatar for TechySafi

[CODE] $threadquery=mysql_query("SELECT * from threads where topic_id='$id'"); while($getthreadrows=mysql_fetch_row($threadquery)) { echo "<div class=singlepost>".$getthreadrows[2]."</div>"; }[/CODE] You can see Its fetching each comment into a div. But I need to do one additional thing too. Each comment may have some reply comment. How to get em like simple thread style as we see …

Member Avatar for TechySafi
0
89
Member Avatar for WDrago

All, This is driving me crazy. How come only the last thing I send to a textbox is displayed? In the following example I would expect 'abcdefghi' to be displayed then, 1 second later, '123456789' should be displayed. But the only thing I see is 123456789. What is going on …

Member Avatar for Unhnd_Exception
0
932
Member Avatar for Priyanka88

Hello ,I am newbie..I am trying to configure Apache2.2 server for running .php files,but while editing apache/conf/httpd file its saying "Access is denied"..Please help me out

Member Avatar for dottomm
0
84
Member Avatar for ndeniche

Hello guys. I'm developing a web application in which I have to connect to a mssql server which is connected through a proxy server. I have allowed data transfers for the MSSQLSERVER service, and allowed connections for port 1433. I've read that this is absolutely insecure, and it still gives …

Member Avatar for dottomm
0
190
Member Avatar for CodyOebel

OK... I have a program that runs and sends output to a game window. It is a magic roleplaying game online. I am using getpixel to look for when my energy is down and then I send a double click to my healing potions. All is well and working. This …

Member Avatar for triumphost
0
1K
Member Avatar for zifina

how can i find the checked state of radio buttons of one form from another form in c sharp .net 2010. to use in situation like IN FIRST FORM if( otherform.radiobuttonname.checked=true) { ,,,,,do,,,} )

Member Avatar for Mitja Bonca
0
990
Member Avatar for SMITA6076
Member Avatar for Awilson089

I need some code that checks the number of characters entered and if it is not seven it needs to display "Error not enough numbers" i already tried (strlen(pin_code) == 7); but it says invalid conversion from int to const char... It needs to not conflict with the checking of …

Member Avatar for VernonDozier
0
255
Member Avatar for bklynman01

Hello, I'm trying to sort a training table in order of the sequence of tasks. These tasks are numbered 1.1.1 1.1.2 1.1.3 ...... 1.1.10 1.1.11 When the query sorts this and displays it, it comes up: 1.1.1 1.1.10 1.1.11 1.1.2 .... Is there a way to get them to come …

Member Avatar for bklynman01
0
126
Member Avatar for yongj

So it's been a while since I've coded (a quarter) and I'm taking a data structures II class. I have an assignment where I have to implement a C++ Class named LongInt that uses an embedded internal private data member of type STL list<char> to represent the list of each …

Member Avatar for VernonDozier
0
137
Member Avatar for CrazyProgrammer

Hi all, I have had a look around the forums but i could find anything, if someone could point me in the right direction for this. What is the best way to handle an sql connection, in my program I have to get data from the server on a button …

Member Avatar for gusano79
0
237
Member Avatar for yousafc#

Please help me how can i creat a class and use in windows application for Studen Result card .[COLOR="red"]I want type below code in class and want to use in windows application for student Grade [/COLOR] [CODE] private string MethodGrade(float Avrage) { string Grade; if (Avrage > 91) { Grade …

Member Avatar for CsharpChico
0
100
Member Avatar for phaedrusGhost

Hi all, I am trying to work with Songkicks API to display the bands events from a list on my web page. I've queried the artists names and now want to get specific data from this link http://api.songkick.com/api/3.0/search/artists.json?query={$songkick_artist}&apikey=MYKEYGOESHERE\ The output get this result: {"resultsPage":{"results":{"artist":[{"uri":"[COLOR="Green"]http:\/\/www.songkick.com\/artists\/200900-coheed-and-cambria?utm_source=4361&utm_medium=partner[/COLOR]","displayName":"Coheed and Cambria","id":200900,"onTourUntil":"2011-09-23","identifier":[{"href":"http:\/\/api.songkick.com\/api\/3.0\/artists\/mbid:ae1b47d5-5128-431c-9d30-e08fd90e0767.json","eventsHref":"http:\/\/api.songkick.com\/api\/3.0\/artists\/mbid:ae1b47d5-5128-431c-9d30-e08fd90e0767\/calendar.json","mbid":"ae1b47d5-5128-431c-9d30-e08fd90e0767","setlistsHref":"http:\/\/api.songkick.com\/api\/3.0\/artists\/mbid:ae1b47d5-5128-431c-9d30-e08fd90e0767\/setlists.json"}]},{"uri":"http:\/\/www.songkick.com\/artists\/2060710-coheed-and-amp-cambria?utm_source=4361&utm_medium=partner","displayName":"Coheed &amp; Cambria","id":2060710,"onTourUntil":null,"identifier":[]},{"uri":"http:\/\/www.songkick.com\/artists\/3236471-coheed-und-cambria?utm_source=4361&utm_medium=partner","displayName":"Coheed Und Cambria","id":3236471,"onTourUntil":null,"identifier":[]}]},"totalEntries":3,"perPage":50,"page":1,"status":"ok"}} …

Member Avatar for phaedrusGhost
0
155
Member Avatar for GaidinDaishan

I am just starting MS Visual Studio 2005. My laptop has a 64 bit Intel microprocessor and the OS installed is 64 bit Windows 7. I created a DLL in VC++ 2005 using a Export Definitions File (.def) and then created an application on VB to test it. The entire …

Member Avatar for Ancient Dragon
0
267
Member Avatar for Jake.20

Can somebody explain to me why every time i subtract currency it displays the negative sign, even if the number used to subtract was small. for example: $ 5.00 - $ 3.00 = $ -2.00

Member Avatar for Jake.20
0
89
Member Avatar for nemzmiyaw

Good Day i already set up my MySql Database and my form for this application. I have this project in school that will give time credits to every student. For example a student gave 30 hours of time consumable, everytime he uses the computer the time will deduct how mmuch …

Member Avatar for debasisdas
0
93
Member Avatar for raghujosh

I have a Javascript function that allows the display of a textbox upon selecting an option from a dropdown menu. In my case when a user selects listbox as the option, the text box appears. I want the same thing to happen when another option (checkbox) is selected. when I …

Member Avatar for raghujosh
0
6K
Member Avatar for diniboi

Whats up guys? This program has given me nightmares lol. When input is a positive integer, the program should reduce it to prime factors. The integer is less than 900. The program should Output the prime factors as a series that when multiplied together, will return the original integer. If …

Member Avatar for TrustyTony
0
225
Member Avatar for xxreenaxx1

I have a method that someone helped me with. Not sure what it means [CODE]echo ( $info['Ans_Answer'.$i]) ? " checked" : "";[/CODE]

Member Avatar for xxreenaxx1
0
92
Member Avatar for ashrafu1

hello am doing a library program. i am almost done with it. but now my problem is i have to make the record update section work as each of the record can be updated separately. so far i think of making another menu and do it like that. now my …

Member Avatar for ashrafu1
0
458
Member Avatar for carebear23

I am designing a website that connects to a database. I am using wampserver to connect to the website. In my customer add page I am trying to ask the website to generate an autonumber from the database. As my table in the database is set up as following: [CODE=SQL]CREATE …

Member Avatar for tomato.pgn
0
142
Member Avatar for Khoanyneosr

[CODE]#include <Windows.h> HWND hgMainWnd = 0; bool InitWindowsApp(HINSTANCE instanceHandle, int show); int Run(); LRESULT CALLBACK WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam); int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR pCmdLine, int nShowCmd) { if(!InitWindowsApp(hInstance, nShowCmd)) return 0; return Run(); } bool InitWindowsApp(HINSTANCE instanceHandle, int show) { WNDCLASS wc; wc.style …

Member Avatar for Khoanyneosr
0
170
Member Avatar for Labdabeta

If I have a templated storage class, how can I create a specialized template for nested storage class. I already know how to specialize pointer template, but I don't know how to specialize this. EG: [CODE]template <typename Type> class Array { ///Array class code }; int main() { Array<int> rob; …

Member Avatar for Narue
0
141
Member Avatar for Inny

Hi there, I have set up a mailing form with captcha and it work great however in the form itself, it says action="mailer.php" . When its submitted, it tries to go a non existant page, aka [url]www.mywebsite.com.au/mailer.php[/url] My pages are php, can you help? I want it to work but …

Member Avatar for diafol
0
184
Member Avatar for rajvaishnav1989

Hello, i am develop website in jsp as per our final year project rule of college.my project is public transportation.i am creating site for it. now my problem is to create database for bus train and flight ticket reservation.. how can i create database for it and also journey table …

Member Avatar for brynFlew
0
258
Member Avatar for atticusr5

hello all, I am writing a program to test sorting times, and I am having trouble with my quick sort. essentially, my quicksort is not sorting and I am having alot of trouble with it. Does anyone see any real problems with my implementation? Thanks! [CODE] //-------------------------------------------------------- void quicksort(name_t *&charArray, …

Member Avatar for geojia
0
151
Member Avatar for himit

Hi All, I am not sure where am i going wrong but this is something which made me realise that my understanding about the for-each and apply-templates was wrong. :( I have 2 XMLs, I want to display the 'value' present in one XML after comparing the 'name' present in …

Member Avatar for xml_looser
0
214
Member Avatar for kris0r

Hi all, I am currently trying (and now wondering if) you can add multiple threads to a program to do the same job? Basically I am writing a web crawler for a search engine and it adds many URLs to an ArrayList which is used as a queue. I add …

Member Avatar for kris0r
0
471
Member Avatar for dophine

Hi, I have the following code. and it works fine. [CODE] class base { public: base() {}; virtual ~base() {}; virtual void foo() = 0; virtual void boo() = 0; }; class derive2 : public virtual base { public: derive2() {}; virtual ~derive2() {}; virtual void foo() {}; }; class …

Member Avatar for Fbody
0
185
Member Avatar for easa056
Member Avatar for sosongetsu

My class did a practice program and worked thru it however i was absent due to illness but i was sent the parameters they used for practice. I attempted it on my own but i was unable to figure it completely but i did get part of it down before …

Member Avatar for WaltP
0
2K
Member Avatar for vedro-compota

Hi friends! What is the difference between these two definitions of variables? [CODE]const char *msg; char* const msg;[/CODE] thanks in advance)

Member Avatar for vedro-compota
0
106
Member Avatar for MrVladar

Hi! I am creating a desktop Java application using Netbeans. My task is to generate an array and than sort it (InsertSort, SelectSort, BubbleSort). My question is how do I show the value of all elements from generated array into the textfield? What i have tried to do is: [CODE] …

Member Avatar for MrVladar
0
359
Member Avatar for gman1991

import java.util.Scanner; public class FirstProgram { public static void main(String[]args) { Scanner input = new Scanner(System.in); int x = 3; int num1, num2, num3, num4; while (x <= 3) { System.out.println("enter a number 1,2,3>"); num1 = input.nextInt(); num2 = input.nextInt(); num3 = input.nextInt(); num4 = input.nextInt(); { if (num1 == …

Member Avatar for gman1991
0
89
Member Avatar for exca

Hi all, I am writing a program in which there is a part that computes all the possible values for two vectors of string patterns, one like 1XX78X9X32X (11 digit) the other like 26XX (4 digit), using digits from 0 to 9, and that passes all these possible strings to …

Member Avatar for Momerath
0
147
Member Avatar for sciprog1

Hello Members, I am trying to add weights to a Graph that is implemented using JGrapht. I keep getting a NullPointerException, which I am unable to understand as all other edges seems to be added fine. I would be grateful for any help. The code so far: [CODE]import org.jgrapht.*; import …

Member Avatar for sciprog1
0
2K
Member Avatar for weasel7711

I wrote a program to analyze a log file for a machine that my company repairs. The program that runs the machine spits output into a text file (.log) and my program will analyze it and return the results of different calculations to the user. The log file idealy looks …

Member Avatar for weasel7711
0
461
Member Avatar for CrazyMisho

hi,I am trying to write a simple code that visit page every x seconds.I prefer timer function because thread freeze the browser and the program.Somebody whit idea?

Member Avatar for Momerath
0
103
Member Avatar for Behseini

Hi Guys, I am trying to make a connection with Oracle 11g which is installed on a server 2008 BUT have problems with the ConnectionString. Could you please let me know how I set a correct connection String while I have parameters like these: Database name: GISData Server Name : …

Member Avatar for debasisdas
0
328
Member Avatar for jacob21

Hi, I am working on a job module where i have to fetch company name having more jobs. like abc 20 jobs def 30 jobs ghi 10 jobs jkl 40 jobs what i want to do, job order acc to job number like below jkl 40 jobs def 30 jobs …

Member Avatar for tomato.pgn
0
338
Member Avatar for didi00

I'm using the wp e-commerce plugin and the problem is that the info for the product is shown under the picture instead next to it. I'm using virgo theme but I've tried with other themes and still, the problem stays the same. The problem is this: [url]http://i53.tinypic.com/2vdflo4.jpg[/url] and I want …

Member Avatar for didi00
0
80
Member Avatar for lukasrzeznik

I have problem with printing Crystalreports from Dataset as a source. I have a Dataset fullfilled with data from query and CrystalRaports doesn't show any data from dataset on the report. Do you haeve any ideas what is the problem. My Code: [CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; …

Member Avatar for lukasrzeznik
0
141
Member Avatar for king03

Hello there guys I have a noob question I just want to ask what is syntax declaration? Is it the program source code itself? help me please I'm a bit confused...

Member Avatar for 200908093
0
160
Member Avatar for singaiah39

Hi, I have problem in displaying "please wait.." text when the client requests data from the server. I have created a <div> element as below. <DIV ID="Loading" STYLE="position:absolute;z-index:5;top:30%;left:42%;visibility:hidden"> Please Wait.... </DIV> I am using Ajax call, to get some table data from the server. This takes around 10-15 seconds. Client …

Member Avatar for R0bb0b
0
1K
Member Avatar for navp

Hello, I am new to JavaScript, I have to make a pizza webpage for my assignment. I am done the HTML part and PHP part. I have a form and when the user clicks submit it calls the check() method in the JavaScript. Even if the fields are empty, the …

Member Avatar for vibhaJ
0
174
Member Avatar for atom6402

I am using Oracle for the first time.I installed Oracle SQL*PLUS ver 8.As I had to learn this for an exam. But I am facing the following error after I enter it with the system default scott/tiger ... "ORA-12203: TNS:unable to connect to destination" Sorry ,if this question is already …

Member Avatar for debasisdas
0
518
Member Avatar for sahil1991

hello frndzz... just wrote a piece of code in c++....bt this didnt create any .DAT file as expected.....dun knw wats wrng.... #include<fstream> #include<iostream> using namespace std; class person { int age; char name[40]; public: void get() { cout<<"enter age:"; cin>>age; cout<<"enter name:"; cin>>name; } void show() { cout<<"age is:"<<age<<endl; cout<<"name …

Member Avatar for daviddoria
0
136
Member Avatar for leonziyo

// i dont know why the part below bunny class doesnt work properly help line: 223 i allocated a class array but i can figure out why it doesnt work [CODE=c++] #include "stdafx.h" #include <iostream> #include <ctime> #include <string> int p[100]; // global varialbe int times=0,last=0; void ruleta() { for …

Member Avatar for daviddoria
0
221
Member Avatar for stefilina

Hy, I have a question... I want for my application to select on startup the database i want...I thought about keeping my database name in a combo box and when i run my application i will select what i want...but....how can i concatenate in app.config the ConnectionString?Does anyone Know? Thanks.

Member Avatar for Mitja Bonca
0
536

The End.