199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for zyaday

I have a code that play's an animation on a JFrame.. On top of that, I have added a Jpanel with few buttons. my problem is, mybuttons are not visible on the animation screen until i hover a mouse on them?? what am i doing wrong..

Member Avatar for Ezzaral
0
116
Member Avatar for shankhs

Hi guys! I have started learning geometry and wrote a code to calculate the distance between a line(or a segment) and a point. Here is my code: [code] #include<stdio.h> #include<math.h> #include<stdlib.h> int dot_pdt(int a[],int b[],int c[]) { int ab[2],bc[2]; ab[0]=b[0]-a[0]; ab[1]=b[1]-a[1]; bc[0]=c[0]-b[0]; bc[1]=c[1]-b[1]; // printf("%d\n",(ab[0]*bc[0]+ab[1]*bc[1])); return (ab[0]*bc[0]+ab[1]*bc[1]); } int cross_pdt(int …

Member Avatar for Prabakar
0
154
Member Avatar for kux

This is cited from Stroustrup third edition [CODE] void f () throw (x2 , x3 ) { // stuff } is equivalent to: void f () try { // stuff } catch (x2) {throw; } / / rethrow catch (x3) {throw; } / / rethrow catch (...) { std: :unexpected() …

Member Avatar for kux
0
107
Member Avatar for Kanoisa

hey, Just starting to learn how to use classes in c++ and when i try to split my class out of the main code and put it in a headder or a headder and a second source file dev C++ is giving me loads of errors and i dont know …

Member Avatar for Lerner
0
142
Member Avatar for Nisar05

Hi i need a special help in making a online bookstore using ASP.NET and C#.can any one help me, that how to start and how to make it,because i know very little about ASP.NET.Thanks in advance.

Member Avatar for rsoliz
0
384
Member Avatar for bramprakash1989
Member Avatar for CoolGamer48
0
96
Member Avatar for netfreehost

On of my database stooped working. [QUOTE] mysql> check table invoice; +-------------------------------+-------+----------+----------------------------------------------------------------------+ | Table | Op | Msg_type | Msg_text | +-------------------------------+-------+----------+----------------------------------------------------------------------+ | billing_db.invoice | check | Error | Incorrect information in file: './billing_db/invoice.frm' | | billing_db.invoice | check | error | Corrupt | +-------------------------------+-------+----------+----------------------------------------------------------------------+ 2 rows in set (0.00 …

0
103
Member Avatar for knish

Hi, I am using the following code to send mail from a open window in maya application. This gives me following error. I think it says that A2 is not created. What is a possible way to have this code send a mail. BRgds, kNish # Error: name 'A2' is …

Member Avatar for jlm699
0
861
Member Avatar for charlinjoe

I am deleting a pointer using "delete" in C++. That pointer is holding the address which is used by OS like 0x00000210. What will happens?

Member Avatar for CoolGamer48
0
93
Member Avatar for emilio

i am trying to print an array list in a jsp page like this: [CODE]<body> <FORM METHOD="POST" ACTION="index.jsp"> <input type="text" name="text" value="" /> <input type="submit" value="add" /> </FORM> <jsp:useBean id="tomer" class="java.util.ArrayList" scope="session"/> <jsp:useBean id="r1" class="java.util.Iterator" scope="session"/> <% if (request.getParameter("text") !=null) {%> <% tomer.add(request.getParameter("text"));%> <%}%> <%r1 = tomer.iterator();%> <%while(r1.hasNext())%> <%{%> <%r1.next();%> …

0
92
Member Avatar for bpacheco1227

I have time to complete this, I have to add 2 void functions, 2 value returning functions, 1 structure and on array. I just need some ideas on where to start, what should I convert to functions, how should I instill stuctures and arrays to this particular program. I'm going …

Member Avatar for mitrmkar
0
200
Member Avatar for masterjiraya

I made this code to make an object move by time here is the code for form1.cs: [code=csharp] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace Project1 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } // C# Code …

Member Avatar for masterjiraya
0
90
Member Avatar for SubProf

Hello everyone, I have a web browser which is used to display html files that are stored locally. However when I try to use the webBrowser.GoBack() method to navigate back to previous files nothing happens and the webbrowser window continues to display the current file. Does anyone know of a …

Member Avatar for SubProf
0
84
Member Avatar for Jean Gwyneth

Hi! Im creating a search engine for products. it can search by category, model_no and so on.. when i searched for multimedia, it would return lists of products under multimedia. every result should be clickable and would display info for each product. problem is, how can i pass the value …

Member Avatar for Jean Gwyneth
0
129
Member Avatar for dipumali

hi i am dipali i am trying to store multiple objects in file but it will store only one object with the help of read & write function plz tell me solution.

Member Avatar for mitrmkar
0
86
Member Avatar for Thirusha

Does anyone know how to change the look of the java files that are listed when you expand the java folder in the tree structure of the database? i have these numbers infront of the class file, but have no clue what they are, they are not there in toad(i …

Member Avatar for Thirusha
0
142
Member Avatar for wussa

[code=cplusplus]#include <iostream> #include <string> using namespace std; char *goodmsg = " I feel fine today \n"; string badmsg = "I am not feeling well today \n" ; int main(){ //prototype definition void printMessage( bool ); //objects declaration bool isFine; bool &isGood = isFine; char *answer = 'y'; //while loop will …

Member Avatar for Daveodolph
0
147
Member Avatar for knrakesh

Hello Guys, This is Rakesh Nagekar, when i open a visual studio.net and click on File -->New website --> Then the windows application,console application,class library, all those in project are comming those require for creating website is not comming. how to get back those please Rakesh Nagekar

Member Avatar for knrakesh
0
73
Member Avatar for Quarck

Hi I'm was a c++ programmer for 7 years past with VC++ then go to Java and now return to c++ , I've search for VC++ and its seems big change now (VC++ Express Edition ) . I looking for free VC++6.0 or any other easy/free editor for c++ programming …

Member Avatar for Tigran
0
191
Member Avatar for jeetudaljit

I am new to JSP. Please guide me which e-book or book should I read so that I can learn from basics to advance skills and develop a web site by own. Please help..!

Member Avatar for peter_budo
0
78
Member Avatar for markgri

how can i access data that i have entered to the database in msflexgrid. like for example i have putting three categories the noofitem,scores, and totals. that was displayed on the top of msflexgrid horizontally..? is there anyone can help me... please...

Member Avatar for guest11
0
89
Member Avatar for adRiaNn

Hi guys, I am doing multithreading in my C++ program. Now i seriously STUCK in my program.:confused: Ok, My program have 2 different base class, and each of the base class have a sub class, Example, subclass1 inherited from baseclass1, subclass2 inherited from baseclass2, HOW to make subclass1 and subclass2 …

Member Avatar for adRiaNn
0
82
Member Avatar for ishlux

Hi, here is the code for page navigation, its working fine but , if there are 4 pages , each page is displaying 3 records per page, if we go to 3rd page, and click on the subject it will display the contents but it will automatically come to the …

Member Avatar for vicky_rawat
0
126
Member Avatar for MDGM

Hi all, I have a registration form on my website which once filled in, it sends an email to the user with a link to "verify their email address". This link holds all of the information entered by the user in the form and looks something like this: [url]http://www.example.com/confirm.php?firstname=john&lastname=smith[/url] When …

Member Avatar for MDGM
0
169
Member Avatar for kevin wood

i have just had to go into the backend of an old site to fix the mysql db as some had deleted the wrong db. i have got most of it working again now but did not know what this line of code is doing. [CODE]$sql = "SELECT id,thumb,image,designer,title,(total/freq) AS …

Member Avatar for kevin wood
0
87
Member Avatar for venu@baylogic

Hi Friends, Can any one answer to my problem here please ? I need to split a string into substrings like following example. Romans 3:1,5;Romans 4:1-10(Semicolon between two strings) Romans 3:1,5,Romans 4:1-10(Comma between two strings) These two cases are similar,In these two cases also i want to do like following... …

Member Avatar for vicky_rawat
0
200
Member Avatar for krebstar

Hi, I'm just starting out with programming in C++, and would like some clarification on something.. What is the meaning of the '&' in this line: [code=c++]void Stack::push(const StackElement & value);[/code] I would assume that it takes a reference as a parameter, however, why is it that it works when …

Member Avatar for sarehu
0
149
Member Avatar for Pgmer

Hai all, I want to get to know about the file summary like last saved by, last printed on, authour etc... How can get it using file info function. Thanks in advance.

Member Avatar for Pgmer
0
97
Member Avatar for abu taher

i using acsess 2003 or xp. but when i click in record source property to show the table a massage was shown. but when i use office 97 then there was no problem

Member Avatar for debasisdas
0
248
Member Avatar for aannjjaallii
Member Avatar for amitbajaj.tm
Member Avatar for amith003

I trying to take an image file which is present in some folder of local machine and trying to load it inside a server. If i give the path its trying to access the server path,not the local machine's path where the actual file is present, this works fine when …

Member Avatar for amith003
0
95
Member Avatar for Papa Awortwe

Hi to everyone, Please i would be grateful if you help me with this. This is a tutorial i am practising .When i create a session variable on a page , I find it difficult to show it on another page. Please check also to see whether the scripts are …

Member Avatar for Shanti C
0
92
Member Avatar for missaaliyah

Well my site is a music lyrics site, and included an option to embed youtube videos with each lyric added. It came with one lyrics, which you can see here. On the left of this page, the youtube video fits in a box. [url]http://music-and-lyrics.info/index.php?lyric_id=1[/url] Now I added a new lyric …

Member Avatar for missaaliyah
0
196
Member Avatar for grr

I want to store a function in a MySQL Database. Like this: [code=php] <?php $query = "SELECT * FROM items WHERE item_id='$_GET['item_id']'"; $item = mysql_fetch_assoc(mysql_query($query)); $action = $item['action']; $action; ?> [/code] So in the database, $item['action'] is header('Location:blah.html'); But it could be ANY function, see. I just want to know …

Member Avatar for grr
0
144
Member Avatar for grr

[code=php] <?php $result = mysql_query("INSERT INTO ".UPREFIX."items` VALUES ( '', '".$item_name."', '".$item_descr."', '".$item_action."', '".$item_rarity."', '".$item_value."', '".$item_folder."', '".$item_image."', '".$item_cat_id."', '".$item_visibility."')"); ?> [/code] I didn't know if this would be php or MySQL. I'm getting returned the following error: You have an error in your SQL syntax; check the manual that corresponds …

Member Avatar for grr
0
96
Member Avatar for bigtalk

Hello, I'm a noob with PHP and unversed in Javascript, but I need to implement some Ajax in a page I'm building. I'm using the Scriptaculous libraries. Here's the problem I'm having: I have four different links in the menubar. When I click on the first link, it makes a …

Member Avatar for bigtalk
0
150
Member Avatar for picass0

i using getopts but when i type in the argument it not working. Is there anything wrong wif my script? bcos when i enter bash filename -P -S , i should see "hello" msg but i don. [CODE]#!/bin/bash while getopts "PS" opt; do if [ $# -eq 2 ]; then …

Member Avatar for eggi
0
122
Member Avatar for vikaspa

Need your help in javascript I am using following script for image over (to display another image) <html> <img src="mobilesmallimage.jpg" name="ShowRoom" width="129" height="96" onMouseOver=" ShowPic(name,'mobilebigimage.jpg') " onmouseout="ShowPic(name,'mobilesmallimage.jpg')" border="0"> </a> I am sending 2 parameters 1. Name of image - variable name 2. Name of image to be displayed Using following …

Member Avatar for chaosprime
0
134
Member Avatar for rockhauler

Hello ya'll, I stumbled over here looking for some help with Bash shell scripts.. See, the problem was I needed to copy a data DVD into (onto?) the system file space. Since this is a virtual machine, copying a DVD takes a very long time, the drive gets hot, starts …

Member Avatar for rockhauler
0
170
Member Avatar for DrWhoFan

I've run the install for PHP 5.2.6 and been able to have PHP pages run successfully. My research has told me that PHP no longer includes the dll needed to connect to mySQL. I've run into a couple of problems on my system. [LIST=1] [*]Using phpinfo(), I can identify the …

Member Avatar for DrWhoFan
0
130
Member Avatar for adnanahsan

i have to make a search engine for my client, but i am confusing about indexing websites to search engine database, please can any one tell me how can i achieve this goal? can any one tell me how can i make spider / crawler to do this ? please, …

Member Avatar for lordspace
0
206
Member Avatar for prayingmantis

I just moved hosting providers for my website and there is one page that is not working properly. The old provider had MySQL Server 5.0.51a and PHP 5 so I setup the new server with MySQL Server 5.0.51a-Community and PHP 5. After the site move, I get the following error: …

Member Avatar for lordspace
0
98
Member Avatar for softdev

hey guys, anyone to provide a short lecture! is automata theory important in computer science? what are example of real applications of automata and formal languages? do they have anything to do with software development and verifications? kind regards

Member Avatar for sarehu
0
103
Member Avatar for missaaliyah

As far as I know, I have successfully completed all config files so the site should load, but for some reason, the site doesn't. Here is the error message I get instead. [CODE]array(3) { [0]=> array(4) { ["file"]=> string(74) "/home/imedia/public_html/music-and-lyrics.info/functions/main.function.php" ["line"]=> int(10) ["function"]=> string(10) "mysqlQuery" ["args"]=> array(1) { [0]=> &string(20) …

Member Avatar for missaaliyah
0
113
Member Avatar for nodoid

Hi, I've got a small problem here in replacing html for bb. I can go bb to html really easily (see the code below), but when I go the other way, I get the same text returned as when I put it in [code] if ($tobb == 0) { $search …

Member Avatar for lordspace
0
352
Member Avatar for buddy1

Can anyone tell me if I'm dong this correctly. S(10) = 1; S(n) = n + S(n + 1) for 0 < n < 10 I'm looking for the value of S(7) S(10) = 1 S(9) = 9 + S(9 + 1) = 10 S(8) = 8 + S(8 + …

Member Avatar for buddy1
0
72
Member Avatar for fmv2011

Hello All. I am quite new to programming, I have a question in regards to creating a script that reads data from a file and then prints how many time each value ( number in my case occurs). I was wondering if you could help me write a similar script, …

Member Avatar for Ene Uran
0
371
Member Avatar for plazmo

is there any simple way to do this? im making a chat client and i want it to display text like all chat clients do, which is buttom to top. Thanks!

Member Avatar for SupportCuteSoft
0
941
Member Avatar for bgbiplab

The End.