64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for danizobin

Hi, New to this forum. Will be happy for explanation for the next phenomenon: [CODE] class Base { protected: void add(void *); }; class Derived : public Base { public: void add(int); } void Derived::add(int num) { add(new int(num)); } [/CODE] This fails with the message: Invalid conversion from 'int*' …

Member Avatar for danizobin
0
194
Member Avatar for EverydaySunday

Hi everyone, i encountered this error when i want to forward user to different page according to different situation. The error occurs if the login is null and the cash is null :( seems like the it does not know where to forward because there is two forward. is there …

Member Avatar for Stefano Mtangoo
0
1K
Member Avatar for phpDave

Hello, I created an online forum where users can post comments but when a link is posted it appears on the board in text and not as a link. Any suggestions on how to change this. I would like links that are posted to be links not just text. Thanks!

Member Avatar for almostbob
0
79
Member Avatar for MrAlshahawy

Hi all , I got two questions : How to convert the time of a message from "127558161.23" to 03/06/2010 12:42pm ? When I receive a message and I want to know the number of the sender so I can resend him a message it returns me his name - …

Member Avatar for MrAlshahawy
0
206
Member Avatar for SerjSagan

I am throughly confused....why does this seemingly simple deal not work? [code=javascript] <script type="text/javascript"> <!-- window.onbeforeunload = function (){ var checkboxImg = new Image(); var checkboxImgUrl = "checkbox.php%3Flonger%3D" + reviews-chk-longer.checked + "%26discrete%3D" + reviews-chk-discrete.checked + "%26natural%3D" + reviews-chk-natural.checked + "%26thicker%3D" + reviews-chk-thicker.checked + "%26permanent%3D" + reviews-chk-permanent.checked + "%26stamina%3D" + reviews-chk-stamina.checked …

Member Avatar for SerjSagan
0
165
Member Avatar for bruno386

Hi guys, I need to sort an array by date created. Please take a look at this code thus far [CODE] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.IO; namespace listboxarraysortexample { public partial class Form1 : Form { string[] …

Member Avatar for bruno386
0
2K
Member Avatar for nwhitfield

what is the best way to start out making a game??? Are there any good books on making one???

Member Avatar for nwhitfield
0
79
Member Avatar for j23

i want to use input validation so that the user can only input decimal numbers. can someone help [CODE] while int_x != : #this is where im having the problem print "the number entered must be a decimal number" int_x = input("Enter a decimal number:") [/CODE]

Member Avatar for ultimatebuster
0
2K
Member Avatar for reza.adinata

Hi, I am a beginner, and trying to call an image inside a form. So basically, I have done a simple WPF application in which if I press a button, I will managed to show an image in my main form. So, the code is below : [CODE]private void btnAddMore_Click(object …

Member Avatar for reza.adinata
0
185
Member Avatar for sdhawan

Hi Guys , I have a line which is like this :- "C:\\Users\\saurabh\\Desktop\\Projects\\Texts\\A Sign of the Times.txt" how can i jus extract the last part of it which is A Sign of the Times. Thanks

Member Avatar for finito
0
91
Member Avatar for ajwei810192

Hi, I have a question regarding an issue on submitting a form multiple times. For some reason, my form takes one submit, but then the others, I don't see changes of result. Here is the app: [CODE] <%@ Import Namespace="System.Data" %> <%@ Import Namespace="System.XML" %> <script runat="server"> Sub submit(ByVal sender …

Member Avatar for ajwei810192
0
122
Member Avatar for nsutton

How can you play a sound file that resides in the solutions resources file? Heres what I have..... [CODE] private void whiteKey1_Click(object sender, EventArgs e) { //If clicked System.Media.SoundPlayer player = new System.Media.SoundPlayer("WindowsPiano.Windows_XP_Ding.wav"); player.Play(); } [/CODE] I'm making a virtual piano and when the key is pressed it plays a …

Member Avatar for bbman
0
168
Member Avatar for ar31an

i am using database with table RESUME and column PageIndex in it which type is number in database but when i want to store this PageIndex value to an integer i get exception error **Specified cast is not valid.** here is the code [CODE] string sql; string conString = "Provider=Microsoft.ACE.OLEDB.12.0; …

Member Avatar for finito
0
89
Member Avatar for kirtan_thakkar

I am using the code as under but always getting 0 value means the same folder [code=php] $random_folder=array("folder1","folder2","folder3"); $folder=$random_folder[rand(0,count($random_folder)-1)]; [/code] Getting folder1 always.. What's wrong?? Please Help.......

Member Avatar for msm_eg
0
159
Member Avatar for pankaj.garg

Hello, I am making a program, where cycles of a process are running and i have to save a report every 10th cycle. The report should get saved automatically, without human interference and should be saved in a non-editable format (say PDF, JPG etc). I have tried a couple of …

Member Avatar for pankaj.garg
0
198
Member Avatar for ar31an

hello mates, i am working on a project of online resume management system and i am encountering an exception while creating resume. [b] Exception: Data type mismatch in criteria expression. [/b] i have attached the database tables list, here is my code for Create Resume-1.aspx.cs [code] using System; using System.Data; …

Member Avatar for finito
0
139
Member Avatar for RoyMicro

I have a USB device and a C# application communicating with it. Presently I am using a connect button to connect with the device from my application. This is a HID device and on Connect I will register for change notifications and from then onwards my application can display 'DEVICE …

Member Avatar for RoyMicro
0
1K
Member Avatar for Duki

Hey Guys, I'm creating an application that will require specific privileges. Users will eventually be add/removed from this group; I was wondering if there's a way I can tie in an Active Directory group to the software? Something that would let me say "if you're part of this group you …

Member Avatar for Duki
0
263
Member Avatar for adams161

hi, I'm having a bit of a problem. I"m simply trying to read active directory now with system.directoryservices. I have a LDAP path i think its called and i get the children and for each child i for each through and so on for like 5 for each loops. OK …

Member Avatar for adams161
0
159
Member Avatar for ttboy04

Hello, My ouput is showing as... "1 2 3 (10)(23)(29)" when it should be... "1(10) 2(23) 3(29)" I don't think I am too far off. Here's the code and thanks in advance. // int[] Groups = {10, 23, 29}; in the constructor public String toString() { String tempStringB = ""; …

Member Avatar for ttboy04
0
107
Member Avatar for ypdev

Hi Everyone, I developed a page with [URL="http://freetextbox.com/"]FreeTextBox[/URL] object which allows update text using rich text format. Now, If I type "TEST 123" and submit the data - works fine. If I type "TEST 123' and submit the data - I recieve the following error: Syntax error (missing operator) in …

Member Avatar for ypdev
0
103
Member Avatar for Aenonar

Hey everyone! I've been trying to set up a more fool proof time trial thing for my windows application rather than checking the users computer for the time (that can easily be altered). I'm not that experienced with more advanced coding, and I just can't find any code that can …

Member Avatar for bbman
0
113
Member Avatar for epicasian

I'm looking for a good introductory book for 2D OpenGL Game Programming. The only books on OpenGL I've seen were on 3D. Does anyone know of a good 2D OpenGL Book? Thanks in advance, EpicAsian

Member Avatar for epicasian
0
201
Member Avatar for catalyst491

Hello, I'm not too experienced with C++ (I know C# pretty well), and I can't figure this out. I've got two files, Form1.h and Utility.h. Form1.h is initialized when the program starts, and when the user clicks a button, it should call some functions in Utility.h. Now the problem I …

Member Avatar for daviddoria
0
207
Member Avatar for dzhugashvili

Hello. A while back I wrote a program called 'divvy' ([URL="http://www.cerberusgate.com/divvy.zip"]http://www.cerberusgate.com/divvy.zip[/URL]) in C++. It works fine on my system, but I have received several complaints that it does not work on other systems. This is the error: [QUOTE]Error: The Side-by-Side configuration information for "C:\DIVVY.EXE" contains errors. This application has failed …

Member Avatar for dzhugashvili
0
222
Member Avatar for Fasola

First how do you use Dynamic and Static Memory Allocation? and why is supposed to be so popular in use?

Member Avatar for umair100
1
143
Member Avatar for andydeans

Hi, This is a real simple answer but for the life of me i cant seem to work out. I am trying to display my notes on one side of the page however the notes are long and are running right across the page instead of automatically going into a …

Member Avatar for andydeans
0
111
Member Avatar for miturian

So, in the course of a bigger project, I need to generate normally distributed random numbers. I've decided to try to use the GSL rng library. From [URL="http://www.gnu.org/software/gsl/manual/html_node/Random-Number-Generator-Examples.html"] the gsl webpage[/URL] I got an example code, just to get an idea of how the interface works. The program looks like: …

Member Avatar for miturian
0
2K
Member Avatar for sasTReSS

Hi everybody, i want to compare between 2 vector that stored char value. I've made 2 vector: [code] vector <char*> className; vector <vector<char*> > Item; [/code] first i stored the class data in each vector, the name of class in vector className. after that i get data from the other …

Member Avatar for sasTReSS
0
79
Member Avatar for wish02

Hi! My page does not redirect to "userReport_Asset.php" when i click the submit button. what happens is that when i choose an item, it is not shown yet in the drop down menu. when i click submit, it prints the item selected (i print the values to see if it …

Member Avatar for vibhaJ
0
188
Member Avatar for Venom Rush

Hi all I have a div in which I've placed some anchor tags with the css property: [CODE=css]display:block;[/CODE] I've given the div a grey background color and when I view the page on the net the div doesn't surround the anchor tags. The height of the div seems to be …

Member Avatar for Venom Rush
0
151
Member Avatar for P00dle
Member Avatar for MrBlack

Hi i m new to java, i want to make a simple application with netbeans ,(To Learn) i want to learn how to get data from a data base(mysql database) and display to textBoxes, and also want to learn how insert delete update database, Are there any tutorials or ebooks.plz …

Member Avatar for MrBlack
0
115
Member Avatar for ariez88

In this page administrator can update the records of users.he will 1st enter user's id to search the record of a particular user and then all the stored data about user like FullName, MobileNumber, CreationDate, CNIC appears in the respective textboxes.i have made two different attempts but none succeeded. In …

0
82
Member Avatar for marani

First of all, I'm not from an english-speaking country, so I'm sorry for any mistakes. If my english is not always understandable, please ask. I got some divs with IDs which I position via css in an external file. So I got something like this on the html-site: [code] <div …

Member Avatar for marani
0
214
Member Avatar for oluscoa

pls i need the different betwwen Vb.net and PHP looking in the are i listed Area Visual Basic .Net PHP (1)Variable definitions (2)Loops (3)Conditions (4)File handling

Member Avatar for oluscoa
-2
178
Member Avatar for ariez88

i want to give administrator of my website the privilege to change his password tht is stored in xml.the administrator types the new password in "NewPass.Text" and then retype the password in "ConfirmNewPass.Text". We have successfully compared the condition in the "IF" statement.The problem is inserting the password into xml(in …

0
67
Member Avatar for Bidea

I have a potential client that wants to reproduce certain features from a website. That feature is something that I may need to create from scratch or I maybe able to find some type of plug-in application. Some research has informed me that there maybe some type of database involved,and …

0
77
Member Avatar for mr_furley

I have page1.php that has the a link to a popup. I need to send a variable to the popup window. I'm currently using this in the body: [code=php]<a href="#" onclick="actpopup(<?echo($act_id);?>)"><?echo($date);?></a>[/code] This is the function actpopup [code=php] url = "serv_act.php?act_id=act_id"; options = "height=175, width=300, location=no, scrollbars=no,menubars=no,toolbars=no,resizable=yes,left=50"; window.open(url,name,options); [/code] But for …

Member Avatar for michealcdz
0
118
Member Avatar for nabilamn

anyone can help me to figure out how to view your result (after searching) in the result page ? i created 2 page [COLOR="Red"]search.php viewdata.php[/COLOR] ocay, after i insert an input to the text field for search item, the result (a list) will display at the bottom of the search …

Member Avatar for nabilamn
0
82
Member Avatar for Uzumaki52

Hi, I have a Edit Button(which is a Image Button) and when I click that ImageButton a new browser window should open and it should load the values previously entered by the user. The new window should contain the old values and now should be able to edit them. For …

Member Avatar for rajarajan2017
0
164
Member Avatar for nickles

I am working on an page that will print scheduled classes and appointments after querying a databse for them. Right now I'm trying to store the names of people with appointments in an array so I can print it after adding the classes as well. I've gotten stuck on this …

Member Avatar for nickles
0
159
Member Avatar for achieve_goals

Hi, I am confused in making circular linked list. This is what I have. CircularLinkedList.h [CODE]#ifndef CircularLinkedList_H #define CircularLinkedList_H class CircularLinkedList { public: void remove(); void set_number_people(int); void print(); }; #endif[/CODE] CircularLinkedList.cpp [CODE]#include "CircularLinkedList.h" #include "Node.h" #include <stdio.h> void CircularLinkedList::set_number_people(int num_people) //This is where I am confused { Node *head …

Member Avatar for ctaylo21
0
130
Member Avatar for ceyesuma

Hello: Soon I will need to have my foriegn keys working. I have tried to set them up with no luck. Could someone show me how to set the payee_uid below? I am using an Apache Derby Embbeded Db 10.5.3. Thanks [code] stu_uid VARCHAR(11) PRIMARY KEY, stu_password VARCHAR(11), stu_lname VARCHAR(20), …

Member Avatar for ceyesuma
0
1K
Member Avatar for BuhRock

I have to write a program that creates a GUI and asks the user to select from a group of buttons which time of the day they made the call, and input in a text field how many minutes the call was. for the day time, it's supposed to be …

Member Avatar for NormR1
0
765
Member Avatar for Kalphiter

I am having trouble operating this code.[CODE]<?php ob_end_flush(); ob_implicit_flush(true); set_time_limit(0); function consoleEcho($msg, $DontShowDate = 0) { if(!$DontShowDate) $date = "[". date('m/d H:i:s'). "] "; $msg = $date . $msg; print($msg ."\n"); } class client { public $sock; public $ipaddr; public $chatServer; public $uid; function sendMessage($msg) { socket_write($client[$i]->sock, $msg . chr(0)); …

Member Avatar for Kalphiter
0
645
Member Avatar for mjoshi

I have a code which throws "segmentation fault" after some computation. I was looking for some help with efficient memory management. My program does the following: I have a grid with min. i,j,k coordinates -52, -34, -35 and max. i,j,k coordinates 53, 37, 33. (In i, j, k loop). I …

Member Avatar for arld101
0
136
Member Avatar for businessglobal

I launched the following scripts but only the "Auto Start Page Rotator" page appeared. Can anyone please check if the codes are correct? [code=html]<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html><head> <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"><title>Control page</title> </head> <body> <script language="JAVASCRIPT"> var Win; var page_index=0; var page = new Array(); page[0] …

Member Avatar for fabio70
0
212
Member Avatar for Ole Raptor

Hello, I am having a problem getting variables in my function. Below is my code and an explanation of how it is being called. 1. I set the vars: [code=php] error_reporting(2047); require_once('XML\RPC.php'); define("SITECODE", 000000); define("REQUEST_URL", "/external/request.php"); define("REQUEST_SERVER", "domain.com"); define("REQUEST_PORT", 443); define("XML_DEBUG", 0); $software_name = "domain.com"; $messages = array(); $errors = …

Member Avatar for Ole Raptor
0
180
Member Avatar for Alex_

I'm trying to make a html editor. I need to set different colors for different words... I managed to the change text's background color, but not it's foreground. Can some one help me? this is my code [code=java] public class HEditorView extends FrameView { public HEditorView(SingleFrameApplication app) { super(app); initComponents(); …

Member Avatar for Alex_
0
328

The End.