199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for arshi9464

i want to know, what kind of addresses do pointers deal with? i mn logical or physical? and how can i access a particular memory area using pointers? PLEASE HELP.......

Member Avatar for TrustyTony
0
151
Member Avatar for rEhSi_123

Hi Guys, I am having few issues testing a software for which I have to develop a front end GUI. Basically, the previous person failed to document on how to run the system and left all the pleasure for me :D Anyhow, the system basically is a web crawler and …

Member Avatar for rEhSi_123
0
1K
Member Avatar for vasuv

Hi All, We are using one application. This application is having 2types of jobs. Under each job again there are each 5 sub jobs. All the jobs are scheduled jobs. Now the requirement is The main 2 jobs we are going to run on some specified days( for this we …

Member Avatar for IIM
0
157
Member Avatar for astha_malik

how to apply different formatting to parts of group box text ie. part of the text has 2 be in black and the other half in grey? Plz help

Member Avatar for Mitja Bonca
0
107
Member Avatar for naru vaishnaw

please can you help me for define image size and width on this code [CODE] <?php require 'connect.php'; $userg = mysql_query("SELECT avatar FROM members") or die("Failed to fetch your details."); if (isset($_SESSION['MM_Username'])){ echo "Welcome ".$_SESSION['MM_Username']; echo "<img src="; echo mysql_result($userg,0,"avatar" ); echo "></img>"; } ?> [/CODE]

Member Avatar for divyakrishnan
0
157
Member Avatar for naru vaishnaw

my code for show avatar but image not display . how to correct the code [CODE] <?php require 'connect.php'; $userg = mysql_query("SELECT avatar FROM members") or die("Failed to fetch your details."); if (isset($_SESSION['MM_Username'])){ echo "Welcome ".$_SESSION['MM_Username']; echo "<img src="; echo $userg; echo "></img>"; } ?> [/CODE]

Member Avatar for karthik_ppts
0
151
Member Avatar for solvesak

Hi I have been trying to implement the zooming of images on mouse over but could not do it because: 1) I am not doing the 'list' kind of display of images. 2) I dont want other images at several positions to be distorted while one image zooms. 3) I …

Member Avatar for divyakrishnan
0
140
Member Avatar for gujinni
Member Avatar for Majestics
0
115
Member Avatar for 68thorby68

Once again foreach lops are driving me mad. I have a simple multiple select list, where ther user can select one or all of the options [CODE] <form name="checkdata" id="checkdata" method="post" action="test.php"> <label> <select name="sport[]" size="6" multiple="multiple"> <option value="FOOTBALL">Football</option> <option value="CRICKET">Cricket</option> <option value="TENNIS">Tennis</option> <option value="SWIMMING">Swimming</option> </select> </label> <input type="submit" name="submit" …

Member Avatar for twiss
0
139
Member Avatar for new_developer

Hi everyone, I am new in Java programming. I want to know that how to check integer variable whether it is null or not. I have a situation I write a program that asks that how old are you. If a person accidentally press enter and does not put a …

Member Avatar for JamesCherrill
0
48K
Member Avatar for AurosGamma

Hello, i'm here to ask you for some help, i have done several applications/games in different programing languages, most of them without planification. For example,i wrote a five-in-a-row game in C++ with A.I (simple heuristic functions) without making sketchs or things like that, i started programing just to see what …

Member Avatar for stultuske
0
141
Member Avatar for thomas6188

Hi everyone, I am using netbeans 6.8 version. I was trying to learn servlet by working around.So i created a html file ,in which i placed a form whose action is given as "login.java" which is a servlet file. But when i run the program and click on the button …

Member Avatar for dresses623
0
156
Member Avatar for Misheki

I have a working code that exports the datagrid into XLS. However, the datagrid results does not show on my aspx (html) page. It only shows on the page when I comment out the part that exports it to xls. I am not sure whether it should show by default …

Member Avatar for Misheki
0
186
Member Avatar for Majestics

when i click on a column on which editor is attached , the getselectedrow return -1 ...... I have also tried list selection listener but nothinhg work properly.... i dont think it need code.... Please help.....

Member Avatar for mKorbel
0
234
Member Avatar for sharathg.satya

can any one help me in solving a question posted by friend..... i tried to google but i didnt find the accurate answer for my question.. i wish to 'print 1 to n' without using loops and recursion help me please.. thanks in advance

Member Avatar for bajishareef
0
275
Member Avatar for manchurianCEO

Hi, I am working on a website and I am having trouble with the index bar. Perhaps this is the way it's supposed to be but I though a PHP meant only having to have one file for all the pages. So, When I click to a link that gets …

Member Avatar for diafol
0
122
Member Avatar for Pgmer

Hi All, I have column which consist of data like AB1 AB2 AC3 AD5 AB1 AB2 When i do order by this coulumn, its not ordering properly. It should order like AB1 AB1 AB2 AB2 AC3 AD5 Thanks

Member Avatar for debasisdas
0
109
Member Avatar for itsmeisuru

Hi The error I stated in the title appears when I try to run the following code in Eclipse. I have created the Table which is named as "Emp" in Microsoft SQL Server. I can't find the error I have done here, and I googled but nothing helped me.. Plz …

Member Avatar for masijade
0
2K
Member Avatar for aimboter89

Dim myArray() As Integer = {a, b, c, d, f} Dim largest As Integer = Integer.MinValue Dim smallest As Integer = Integer.MaxValue For Each element As Integer In myArray largest = Math.Max(largest, element) smallest = Math.Min(smallest, element) 'myArray(largest).Remove() '(this part have error, as it stated that is not part of …

Member Avatar for sandeepparekh9
0
329
Member Avatar for thanatos1

Hey guys, i've been trying to clone pokemon in java but i've come across a very weird problem. [CODE]java.lang.VerifyError: (class: attribute/base/health/AbstractBaseHealth, method: <init> signature: ()V) Constructor must call super() or this() at actor.pokemon.AbstractPokemon.<init>(AbstractPokemon.java:44) at actor.pokemon.charmander.AbstractCharmander.<init>(AbstractCharmander.java:16) at actor.pokemon.charmander.ConcreteCharmander.<init>(ConcreteCharmander.java:11) at main.Main.<clinit>(Main.java:17) Could not find the main class: main.Main. Program will exit. Exception …

Member Avatar for thanatos1
0
371
Member Avatar for SWEngineer

I have followed this tutorial for setting up Eclipse and OpenCV: [URL="http://carrierfrequency.blogspot.com/2011/05/opencv-22-in-windows-using-eclipse-ide.html"]http://carrierfrequency.blogspot.com/2011/05/opencv-22-in-windows-using-eclipse-ide.html[/URL], and doing it with OpenCV 2.3. But, I'm always getting the error: Type 'IplImage' could not be resolved for IplImage* img = 0; Why is that? Thanks.

Member Avatar for raptr_dflo
0
269
Member Avatar for marsangel

Hi! I am having problems with my login form. So I created a database for my login form so that i can create multiple user. That works fine but when I try to log in the user created an error shows: Error: [CODE] java.sql.SQLException: No row count was produced at …

Member Avatar for marsangel
0
340
Member Avatar for Besherek

Hi folks, I have an existing shopping cart for a print company that allows users to proof labels select qty and send them to a cart. We'd get an email and we'd contact the client for an over the phone payment. We want to use Paypal and I'm curious if …

Member Avatar for Stefano Mtangoo
0
303
Member Avatar for calebcook

Hi. I'm not sure if this is possible or not, but I need to be able to SELECT * FROM all the tables in the database. Is this possible? Thanks!

Member Avatar for oab2003
0
1K
Member Avatar for jrotunda85

Any chance the wonderful people here on daniweb could help me again with a loop? My apologies, loops are not my thing :| Basically what I'm trying to do is add a condition where on the last tweet (that is where the loop = $nooftweets), that tweet gets a different …

Member Avatar for jrotunda85
0
117
Member Avatar for jdarrel006

im totally noob using Turbo C.. i know this is just a basic prog, but of course i cant do it because i've started using Turbo C.. Name: Age: Gender: something like that.. or like doing a resume in Turbo C.. thanks in advance..

Member Avatar for Adak
0
81
Member Avatar for ganeshrnet

I'm looking for a good vanity url for my website... i wish to have the following type of url for my website:- [B][url]http://www.myweb.com/topic_name/123[/url][/B] where the original query string is [B][url]http://www.myweb.com/topics.php?title=topic_name&id=123[/url][/B] I tried to get the scripting from many websites, but none gave me want I wanted... So i've approached daniweb. …

Member Avatar for diafol
0
155
Member Avatar for ppetree

Hi All... I'm wondering if an extra pair of eyes can find a problem with this trigger: [CODE] DELIMITER // CREATE TRIGGER `auto_approval` BEFORE UPDATE ON `my_table` FOR EACH ROW BEGIN SELECT security INTO user_sec FROM users WHERE userid=NEW.userid; IF user_sec >= 10 THEN set NEW.admin = 1; IF NEW.admin …

Member Avatar for ppetree
0
138
Member Avatar for tstory28

[CODE] <?php include("connect.php"); echo "<h1>Register</h1>"; $submit = $_POST['submit']; $name = strip_tags($_POST['name']); $email = strip_tags($_POST['email']); $password = strip_tags($_POST['password']); $confirmpassword = strip_tags($_POST['confirmpassword']); $level = 0; if ($submit) { $namecheck = mysql_query("SELECT email FROM users WHERE username='$username'"); $count = mysql_num_rows($namecheck); if ($count>0) { die("Email address is already taken!"); } else if ($email&&$password&&confirmpassword) { …

Member Avatar for cjohnweb
0
488
Member Avatar for Caraka

Greetings I'm running in circes trying to accomplish something very simple. I have a csv file with multiple lines resembling: 0002345, 24, 5, 0.24 I need this format in my output file: '0002345', 24, 5 0.24 The first entry is a census meshblock code and the leading zeros are relevant …

Member Avatar for Caraka
0
869
Member Avatar for Geertc

Hello, I have installed a site locally (apache 2.2) and I am now adjusting the settings. I have set my include_path like this : [CODE]set_include_path(get_include_path() . PATH_SEPARATOR . PATH_LIBRARY);[/CODE] When I try to include files from directory beneath the include_path, I get a fatal error, and I get the include_path …

Member Avatar for Geertc
0
94
Member Avatar for Oliverpc

Hi there, I'am asked for a HW write a code: * read some data of unknown number of students with their grades of 4 courses from a file * calculate the gpa, honor/warning status, and course average for each course, * write them into an output file (for testing I …

Member Avatar for Oliverpc
0
201
Member Avatar for johnbo100

Hi all, I've pulled most of my hair out over the last few days and need some help. Description: I am creating a db application with dreamweaver and using php and mysql server behaviour. My database consists of losts of many to many tables that are necessary. I have created …

Member Avatar for ko ko
0
404
Member Avatar for jrotunda85

So I'm trying to create one central file for my navigation which is used across my site; however, some of the pages are in different directories. So, for example , let's say I have the following directories -- domain.com/ domain.com/dir1/ domain.com/dir2/ If I wanted to use the same include between …

Member Avatar for jrotunda85
0
131
Member Avatar for navi17

Can someone present me an example which implements the three tier architecture in PHP. Let's say I have a class student with the fields ID and Name. I want to enter the student ID and Name through a web form and save it to the database. Could someone show me …

Member Avatar for afsha khan
0
642
Member Avatar for kukuruku

I am confused with the optimized quick sort little help please [CODE] public static void quickSort(int []A,int p,int q){ while(p<=q) { int r = partition(A, p,q); quickSort(A, p, r); quickSort(A, r+1, q); } } static int partition(int []A, int p, int q) { int a=A[p]; int lp=p-1; int rp=q+1; while(A[rp]<a) …

Member Avatar for stultuske
0
99
Member Avatar for extemer

hello guys i am trying to add jquery datapicker function but its not working.here is the code.... [CODE] <!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"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <link rel="stylesheet" type="text/css" href="css/stu.css" /> <style type="text/css"> <!-- .style1 {color: #C0C0C0} --> </style> <script …

Member Avatar for stbuchok
0
166
Member Avatar for vedro-compota

Hi programmers!) I'm developing a custom component and I can't understand - how to make a property which can show a window with options like "font" property for button, for example ? please tell how to do this from where i can find it out. big thanks in advance))

Member Avatar for vedro-compota
0
240
Member Avatar for learningcpp

Hi Guys, Can you please enlighten me, why the following output is this way? I thought A class size is the summation of the byte size of its member variables. My machine is a 64 bit machine. [CODE] #include <iostream> using namespace std; class A{ public: char y; int x; …

Member Avatar for mike_2000_17
0
174
Member Avatar for tt13

Nowadays i'm working very hardly on one prohect - mini social network with some advantages: You can generate tree style map ([url]http://goo.gl/ZP5yc[/url]) of all relationships of user. For example B, C, D are friends of A. On profile page of A when you click on "generate" button it shows A …

Member Avatar for Ezzaral
0
82
Member Avatar for dhruv_arora

Hey, I have started learning Javascript programming, I wrote these two codes and it thy are not working, it shows a blank page when i load those files. Please help. [CODE]<!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"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> …

Member Avatar for dhruv_arora
0
174
Member Avatar for Naveed_786

Dear all, Can any one tell me how can i take bakup on Every minute and hourly and complete whole day backup using VB.NET i.e i want to know the coding example Thanks in advance

Member Avatar for debasisdas
0
414
Member Avatar for terabyte

I'm trying to convert html to plain text (remove all html tags) I don't want to use regex so I tried the module HTML::Parser and tried the parse() function but i got this error [CODE]Undefined subroutine &main::start called at getwords.pl line 27. [/CODE] and as a matter of fact I …

Member Avatar for d5e5
0
277
Member Avatar for CPT

So it's this program which isn't behaving as it should. these are the classes I'm haing problems with: [code]#ifndef _CMENU_H_ #define _CMENU_H_ #include "Vec2.h" #include "Background.h" #include "Sprite.h" #include "BackBuffer.h" class Button { public: enum ButtonState { NORMAL, //when cursor is not near the button ANIMATED //mouseover event }; Button(const …

Member Avatar for m4ster_r0shi
0
160
Member Avatar for Nitin Daphale

I load the the grid(Grid is editable), having Price-Quantity-Amount columns. I want to change Amount when I change Quantity.I want to do it at clientside. Any suggestions? [CODE] <asp:UpdatePanel runat="server" ID="UpdatePanel1"> <Triggers> <asp:AsyncPostBackTrigger ControlID="btnOk" /> </Triggers> <ContentTemplate> <asp:GridView ID="gdv_QuotItems" runat="server" AutoGenerateColumns="false" OnRowDataBound="gdv_QuotItems_RowDataBound" EmptyDataText="No Items To Load."> <Columns> <asp:TemplateField HeaderText="Price"> <ItemTemplate> …

Member Avatar for Nitin Daphale
0
248
Member Avatar for tipster3000

Hello. I need to reproduce this pattern using one main for loop and one nested for loop. I cannot seem to figure out the right way to do this. I came close, but not close enough. 0 10 210 3210 43210 543210 6543210 76543210 876543210 9876543210 [code]for (int x = …

Member Avatar for JamesCherrill
0
702
Member Avatar for joaep2

Hey guys, I want to write code that does something like this: If option = 1 Then Create one Button and display it Else If option = 2 Then Create two Buttons and display them End If To do this, can I simply do: [CODE]If option = 1 Then Dim …

Member Avatar for aquamarine_kath
0
125
Member Avatar for Tortura

Hey guys, I want my form to hide instead to close by clicking on the red X button. Because when it's closed the form is deleted. I searched a lot to find a good solution, but nothing works. Many people wrote that following code: [CODE]private void Form1_OnClosing(object sender, FormClosingEventArgs e) …

Member Avatar for Mitja Bonca
0
237
Member Avatar for sadsdw

Hi friends, I have a map containing an int as key and a struct as second value, read from file. I need to update the second column with value obtained by the last value (bigger one) + 1. A kind of sequential code ... I tried to use the max_element …

Member Avatar for sadsdw
0
135
Member Avatar for sherinpoulose

I have a class in which there is a print method to print the output.the code is given below. [CODE] public class class1 { public void printNode(TreeNode root, string tabs) { string rootnode; string childnodes; rootnode = tabs + "| " + root.attribute + "|" + ":"; StringBuilder sb = …

Member Avatar for jfarrugia
0
123

The End.