199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for murali2489

Hi All, I have just finished reading fundamental topics in Java and now i have decided to do a New Project in Java which comprises all basic features of Java. I need help in Understanding/visualizing the architecture / Design model for my Project. Specification is : 1 . Develop a …

Member Avatar for stultuske
0
324
Member Avatar for triumphost

I want to use it because it says it supports all the C++11 features and I'm hoping that includes Regex as well since gcc isn't near finishing anytime soon.. However, many other websites are saying that clang requires Mingw/gcc to be used in the first place. It doesn't make any …

Member Avatar for triumphost
0
702
Member Avatar for BadManSam

Hi, I have been trying to integrate gravatar to my login system but it doesn't seem to work. Here is the code: <?php include("include/session.php"); $connectmysql = mysql_connect("localhost", "********_login", "*******"); mysql_select_db("********_login", $connectmysql); ?> <html> <?php $email = mysql_query("SELECT email FROM blog_users WHERE user = '$session->username', $connectmysql"); $default = "mm"; //This returns …

Member Avatar for cereal
0
148
Member Avatar for durgesh1

hello all i need to fetch data from two column let me tell how i like to fetch this,i have two table first column is **ledger** in which there is **groupname,balance**.now in seconed table whic name is **groupcreate**,here is **under and name column** heare you *****can create your own group …

Member Avatar for 1stDAN
0
173
Member Avatar for renato_francia
Member Avatar for almostbob
0
280
Member Avatar for lewashby

In the following program everything works fine when I enter 5 or 8, but if I enter 4 or 7 the program crashes with a Segmentation fault error. I'm just trying to add zeros until the number of characters in string is evenly divisible by 3 and I'm doing so …

Member Avatar for lewashby
0
172
Member Avatar for joeymenje

First off this is for my little server, and i am having a problem. this is saying im missing a statment but i dont see how. if you can take 5mins to look over this and tell me what you see i did wrong, it will make my day. look …

Member Avatar for JamesCherrill
0
145
Member Avatar for mikewyatt

I have a JLayered pane that has a large sized JLable that is showing an image that is used to show a background image. This is on the default layer. Inside I have many items such as lables, textfields, tables and other such things. These are set for the pallet …

Member Avatar for mikewyatt
0
165
Member Avatar for Iamateur

I wrote code in notepad and gave the extension as hello.php but it didn't change to web and so it did not run. Secondly ,I wrote code in Visual Studio asp.net web application <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="phphello._Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" …

Member Avatar for JorgeM
0
247
Member Avatar for minitauros

Okay so I've been going through my HTML lately and I discovered that I was still using the <base> element to define my website's base path. I want to get rid of that - I would like to be able to use relative URLs all the time, without having to …

Member Avatar for minitauros
0
276
Member Avatar for best4earn

When i Open My Browser This Error Accourd . "Failed to execute query! ( -1)" plz help me to solve this issue ( UPDATE `name` SET `parentID`=[value-1],`id`=[value-2] WHERE 1) <?php /** * Handles creating and/or printing a Tree-Like HTML output, complete with * all necessary CSS styles. * * Assumes …

Member Avatar for pritaeas
0
316
Member Avatar for B0716L

Does anyone know how to make a checkbox on a web page that always stays checked no matter what computer sees it? It would always stay checked on that exact web page? If anyone knows how to do this, that would be great :)

Member Avatar for B0716L
0
279
Member Avatar for EXTRA_RICE

I have to print the invoice in my datagrid using datareport but i dont have the total amount of all the selected items.i have uploaded a picture. I hope u could help me..thanx

Member Avatar for EXTRA_RICE
0
1K
Member Avatar for Izzy_1

Hi all, I am pretty new to VB.NET programming, and I am having trouble with a few tasks I am trying to attempt. Firstly, I have to (using Visual Studio 2010) access an MS Access databse, read one of the tables and ouput the 10 numbers which occurred most often …

Member Avatar for Reverend Jim
0
1K
Member Avatar for SaRa Ahmad

can anyone help me of how i can copy a file from user computer to a server that can anyone open the file??? my case is : i have a text field to read a path and command button to save a path and i have another command to view …

Member Avatar for wcttech
0
125
Member Avatar for leghorn

the output of both is the same .. could anyone please explain the working dynamcis ? Thanks

Member Avatar for masijade
0
152
Member Avatar for Clanstrom

I am new to PHPUnit & unit-testing in general, I have got this problem, thankfully I can sense, the answer is out there, maybe with everyone has ever done their first tests. Here it goes: I have been trying to find tutorials for unit-testing with PHPUnit. And, so far all, …

Member Avatar for pritaeas
0
250
Member Avatar for Razahcy
Member Avatar for Razahcy
0
158
Member Avatar for Webbsta

Hello everyone, I am working on a website and I decided to create my own testing server as I currently have my Windows machine hosting apache for this. I have now set up a seperate machine running Linux and on the face of it everything should be working fine. I …

Member Avatar for Webbsta
0
219
Member Avatar for piyush_jain2011

i'm using smtp "127.0.0.1" and smtp port "25" to send the mail. My application is working fine but mail is not sending. What i've to do for it. need some suggession.

Member Avatar for best4earn
0
119
Member Avatar for best4earn

I am a New developer , Now a days i am on mlm project ... I want to know how can i genrate 3 Point by Direct reference & 1point indirect reference & how can Transfer 1 member to another. plan MLM binary 1st = 1-left/1-right ==15% all remaining nodes …

Member Avatar for best4earn
0
180
Member Avatar for ram619

Hello, in this code snippet I am not able to understand line 8 and 10. Here at line 8, char* is getting typecasted as int* then again, getting typecasted as char*. Please explain. #include<stdio.h> int main() { int arr[3] = {2,3,4}; char *p; p = arr; p = (char*)((int*) (p)); …

Member Avatar for Razahcy
0
220
Member Avatar for edwin.joseph.7543

Hi, so I have been trying to create a Login and Register system, but the thing is every time I try to login using the system nothing really happens. You can check it out at http://edwinjoseph.co/logintest/ if you click login and use **user** for the username and **password** for the …

Member Avatar for edwin.joseph.7543
0
400
Member Avatar for devarmagan

hi in my registration page i got about 20 input fields everythings are working fine except this multiple checkboxes. i read the articles related to my isses but no joy yet becouse my code is very complecated for example the register.php datas will be validate and process by process.php and …

Member Avatar for devarmagan
0
3K
Member Avatar for hanvyj

Hi, I need to be able to automatically process emails sent to an outlook account. I would use outlook, but we can't run a user logged in 24/7 on our server so I need to manage them as a service. Is this something that I could do in C#? So …

Member Avatar for hanvyj
0
111
Member Avatar for jakhondi

Can anyone help me get my output to display in my textArea? When I click the button, when the program is running, it wll display console output since I am using System.out.printf, but now I want it to show in my GUI. Any help would be appreciated. Thank you.

Member Avatar for JamesCherrill
0
189
Member Avatar for lloydsbackyard

I have php questions..please give me some ideas... 1. how can I destroy php session if the browser is close? 2. if i have textboxes and it contains data from the database. how can i destroy or expire the data the moment i press back in the browser. 3. in …

Member Avatar for lloydsbackyard
0
179
Member Avatar for vishalonne

Which is faster way to use an element pointer rather than an index when scanning arrays? need some clarification why?

Member Avatar for mike_2000_17
0
183
Member Avatar for iFrolox

Hello, Im trying to compare 2 strings to set a label an specific text depending on the result of the comparison. String 1: 22:10:10 (24h time) String 2: 03:50 (24h time) How could i detect if earlier than "03:50"?

Member Avatar for castajiz_2
0
123
Member Avatar for BadManSam

<?php include("include/session.php"); ?> <?php $db = new PDO('mysql:host=localhost;dbname=******x2_login', '******x2_login', '********'); $stmt = $db->query('SELECT value FROM settings WHERE value = "Login Script" '); $id = $stmt->fetchColumn(0); if ($id !== false) { echo $id; } ?> <?php if(isset($_POST['Submit'])){//if the submit button is clicked $update = "UPDATE settings WHERE value = 'Login Script' …

Member Avatar for minitauros
0
173
Member Avatar for ram619

The output of this code is -1, 4, 4. I am not sure about this -1. Is it because when all bits are set then in decimal it means -1 ? #include<stdio.h> int main() { struct value { int bit1:1; int bit3:4; int bit4:4; }bit={1,4,4}; printf("%d %d %d",bit.bit1, bit.bit3, bit.bit4); …

Member Avatar for Ancient Dragon
0
147
Member Avatar for ram619

The output of this code is char *str="char *str=%c%s%c;main(){printf(str,34,str,34);}";main(){printf(str,34,str,34);} I don't know how this is happening. Please explain. #include<stdio.h> char *str = "char *str=%c%s%c;main(){printf(str,34,str,34);}"; int main() { printf(str,34,str,34); return 1; }

Member Avatar for sepp2k
0
361
Member Avatar for de Source

Hi, i am trying to edit a list box item in a way that if certain item is already present it should update it and if item is not present then it should add it to a list box what should i do Detailed i have a dynamic button which …

Member Avatar for Ancient Dragon
0
261
Member Avatar for Brad_2

My platform is Ubuntu 12.10 with wx.Python 2.8.12.1 (gtk2-unicode). My application uses wxPython to print text to a printer. I want to use Ubuntu Condensed font face for some of the text. The problem is that when the text is printed the text that should be in Ubuntu Condensed face …

0
163
Member Avatar for kaneo

I don't know what I'm doing wrong here, but I'm having hard time trying to insert data from a form into the database.The $_session['username'] is set and the database is included and working Here is my table CREATE TABLE IF NOT EXISTS `accounts` ( `accid` int(11) NOT NULL AUTO_INCREMENT, `acc_number` …

Member Avatar for kaneo
0
356
Member Avatar for Yorkiebar14

Hello, I have recently started to develop my own game in Java and am just starting to get the hang of it. I've watched various tutorials on making an engine etc and have picked up quite a lot. I am struggling with one problem though, I have a world and …

Member Avatar for Yorkiebar14
0
333
Member Avatar for ccsj2206

I need help making this to display the results into a Jframe GUI instead of a console im failry new to java so please help me thanks, here is the code ive used: import java.util.ArrayList; public class ThreeArrayLists { public static void main(String[] args) { ArrayList priceList = new ArrayList(); …

Member Avatar for JamesCherrill
0
741
Member Avatar for sammygreat1234

Hi Programmers, Am working on a project, event made me completely lost touch with Coding, but now i want to be back fully. Am trying to get an OUTPUT using if/if else statement, my code has no errors but does not return result either, Any help or idea on what …

Member Avatar for JamesCherrill
0
179
Member Avatar for IsaacMessi10

I need to to this: If the selected option / item is "Enabled" I want to preview a textbox. I've tried this: If ComboBox6.SelectedItem = "Enabled" Then TextBox10.Visible = True Else TextBox10.Visible = False End If And also this: If ComboBox6.Text = "Enabled" Then TextBox10.Visible = True Else TextBox10.Visible = …

Member Avatar for Reverend Jim
0
116
Member Avatar for teppuus

Hello, I am trying to create an MDI application and am having problems with one of the frames. Walking through the errors, the first error points to a list generated by Netbeans code that I think is the null problem. When I look further down the error list, I get …

Member Avatar for JamesCherrill
0
1K
Member Avatar for Swati_2

//page2 edit button code.. page2 send the data back to page1 if user wants to edit <a href="purchase_form1.php?id=<?php echo $id; ?>" class="button4">Edit</a> //page1 php code. here the form is on this page //This GET[id] is sent from page2 which is user view page of the form on page1. //If user …

Member Avatar for broj1
0
587
Member Avatar for dendenny01

I am a beginner in java does not know much about it. But to practise it I have tried to simulate the popular game Hangman using simple methods.Please Guide me with the code In this program the words are given by the user and then they are converted in to …

Member Avatar for JamesCherrill
0
327
Member Avatar for sankubha

I have java tcp socket programming...... In that i need to send a file from client to server .... at the same time i need to chat with that client ...... by what way i can do this ...

Member Avatar for kapildeven89
0
180
Member Avatar for Waledsalah

hello everybody , i need help in my project Break out game , Rectangles can not disappear when the ball hitted one rectangle here is my project : http://www.mediafire.com/?3iiipzrys7w3780

Member Avatar for TheApex
0
104
Member Avatar for mario90

hello i have this little image script that work on greasamonkey, the script is good and work like a charm it help me to block images i dont want to see but i wished it has interval timer becasue i run it over site with dynamic content ..the targeted pics …

Member Avatar for mario90
0
212
Member Avatar for vivificus

I'm trying to make a program that has a world map on it and when you click on a continent you get some basic information about that continent in a textbox. However I am trying to figure out how best to do this if all continents were perfectly square it …

Member Avatar for Reverend Jim
0
254
Member Avatar for andreiviziru

Hi i have a long script named **images.php** that handles the image manipulation and the following script to handle multiple images at once <?php // load the image manipulation class require '../../image.php'; // create a new instance of the class $image = new Zebra_Image(); $directory = 'jocuri'; if ($handle = …

Member Avatar for andreiviziru
0
224
Member Avatar for m1m6jbr

hello i'have a problem using multiple form the Form1 is the main form and Form2 , the Form that the user will insert data in, and then these data must appear at Form1 this is my code :) public partial class Form1 : Form { public Form3 ff = new …

Member Avatar for ddanbe
0
188
Member Avatar for jc.viloria.9

Hi guys Can somebody help me fix my issue on my site becuase everytime I tried viewing it www.discoveringnorth.com.. it gives me this error message: Warning: require(/data/16/3/106/85/3106574/user/3463076/htdocs/wp-includes/version.php) [function.require]: failed to open stream: No such file or directory in /data/16/3/106/85/3106574/user/3463076/htdocs/wp-settings.php on line 23 Fatal error: require() [function.require]: Failed opening required '/data/16/3/106/85/3106574/user/3463076/htdocs/wp-includes/version.php' …

Member Avatar for TomH.PG
0
154
Member Avatar for pythonforlife

Sorry guys, how do you print a message dialog box if a file doesn't exists in python? I am currently using a program to do segmentation of video file and assembling it the files that I need and excluding those I don't. I have completed the tasks but if I …

Member Avatar for bumsfeld
0
460

The End.