199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for apeiron27

i imported struct module and packed my integer data with '<I' do my packed data still retain their number characteristics? i only need to do booliean check comparing two numbers in packed form like a>b or a=b stuff like that. i did couple of tests and it seems to work …

Member Avatar for TrustyTony
0
125
Member Avatar for jigglymig

I am trying to make a circular linked list and I think I am not linking it properly in the middle area because I can print the last and first node, but not the rest... [CODE]#include <iostream> #include <new> using namespace std; struct node { int Item; node* Next; }; …

Member Avatar for Lerner
0
108
Member Avatar for accra

[ICODE]I have a script that checks usernames and passwords and it works fine when i put in a username and password ,but when the form is empty and i submit it ,it still login the person. I made some changes to the script,its still not working.Any help. [/ICODE] [CODE]<? session_start(); …

Member Avatar for diafol
0
150
Member Avatar for galhajaj

Hi :) there is a way to save versions of my solution easily in .NET C#? what i am doing currently its copy the solution folder onto a backup folder and change its name to SOLUTION_NAME_X.X while X.X its the version number. i guess the Microsoft dudes had thought of …

Member Avatar for gusano79
0
144
Member Avatar for nlyn

So I have an assignment due tomorrow and I've been trying to get this program to work, but it's quite difficult for me to do. I need help in taking the user's input and placing it on the grid and checking for all the matches to see if one of …

Member Avatar for nlyn
0
1K
Member Avatar for daydie

hey guys this code is not working [CODE] Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click Do Until X = TextBox6.Text X = TextBox5.Text + 1 Label4.Text = X Me.Refresh() WebBrowser1.Document.GetElementById("subject").SetAttribute("value", TextBox3.Text) WebBrowser1.Document.GetElementById("message").SetAttribute("value", RichTextBox1.Text) WebBrowser1.Document.GetElementById("btnSubmit").InvokeMember("click") WebBrowser1.Navigate("http://forum.ea.com/uk/pm/sendTo/" & X & ".page") ReaderTimer.Interval = 5000 ' In thousands …

Member Avatar for codeorder
0
206
Member Avatar for BharatBodage

Dear sir, I need your help for VB.net 2008. Currently i am MCA student. I have develope a small apllication. I required help for Browse button & Print button. Browse button can accept path of image from any drive & of any type. And print button gives command of print …

Member Avatar for codeorder
0
180
Member Avatar for PainOfTruth

Please help me run this program, i forgot the output of this.. [CODE] #include<iostream> #include<cmath> using namespace std; class SumTwoNumbers { int nx,ny,sum,suma,sumtn; public: int GetFirstNumber(); int GetSecondNumber(); int GetSum(int,int); void Display(int,int); }stn; int SumTwoNumbers::GetFirstNumber() sum=nx+ny; //here is where the errors i wrote below points! i dont know why return(sum); …

Member Avatar for sharathg.satya
0
417
Member Avatar for themmings

Hello, I have a project to complete where I need to create a system that stores Clients, Stock and Invoice data through a GUI. I need to be able to store multiple unique records of 'Client' in an array that allows me to edit, delete & navigate through them one …

Member Avatar for JamesCherrill
0
3K
Member Avatar for Ayzu

I'm trying to implement priority queue using a singly linked list, but the program is not running in the best way, n the display function is showing just first n last node's data , y??? [CODE]#include<iostream.h> #include<conio.h> struct node { int n,p,b; // Data members for getting Task no. ,Priority …

Member Avatar for Ayzu
0
246
Member Avatar for venky019

Hi, I got this error while trying to access the method that I've posted here. Main program: cin>>sname; string x; Sports x = Sports.getName();//error:a nonstatic member reference must be relative to a specific object. loc=x.find(sname); In Sports.cpp: string Sports::getName() {return name;} I've declared getName() function as public.Still I'm getting this …

Member Avatar for Ancient Dragon
0
3K
Member Avatar for riahc3

Hey How do I make Apache Tomcat allow to interpret PHP as well? Allowing something like: [code] protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { response.setContentType("text/html"); PrintWriter out = response.getWriter(); out.println("<html><head><meta http-equiv='pragma' content='no-cache' /><title>Hello</title></head><body>"); out.println("<?php echo 'Hello'; ?>"); out.println("</body></html>"); out.flush(); out.close(); } [/code] Thanks!

Member Avatar for riahc3
0
150
Member Avatar for mabelis

Hi all, i encounter a big problem weher I thought it would be simple; I very much hope someone here can help me a bit. I have a database (in sql-server) with, among other data, records for a few thousand clients, subscribers etc. One of the items retained for each …

Member Avatar for fubofo
0
190
Member Avatar for ichigo_cool

Hey everyone, I've made a game with SDL and I'm now trying to distribute it. I've included all of the required .DLLs and such but now I get this error whenever I try to run the .exe: The application or DLL E:\GAME\DEBUG\MSVCR100.dll is not a valid Windows image. please check …

Member Avatar for Tumlee
0
460
Member Avatar for Mike Askew

I currently need to be able to read through an XML document, find certain nodes and either delete them (and child nodes) or edit the nodes name and possibly value. What would be the best way of going about this? XPath? XSLT? XMLReader/XMLWriter? My Code/XML contents cannot be posted though.

Member Avatar for Mike Askew
0
160
Member Avatar for moone009

VB.net 2010 How I want the date: 2012-01-24 11:48:40.000 How I my program is exporting the date: 1/24/2012 11:48:40 AM currently I am using the sqlreader myreader.GetDateTime(10) which is giving me the format of 1/24/2012 11:48:40 AM

Member Avatar for moone009
0
96
Member Avatar for concrete

How can I add a table around my code. I am new to php and I am woring on an assignment for Uni. When I try to add the table tags the layout gets messed up. Can some please help? [CODE]<form action="gradebook3.php" method="post"> <H4>Exam and Coursework Marks and Comments for …

Member Avatar for diafol
0
86
Member Avatar for Jimakoss

hello people of DaniWeb! This is my first post.I gotta tell you that my head is going crazy lately.I am 18. So what's the case? Alright last year I gave some really really really hard exams in my country Greece.I suceeded. I got into the university at the Department of …

Member Avatar for WolfShield
0
316
Member Avatar for behemothdave

Here is my assignment: In Chapter 5, you created a lottery game application. Create a similar game using check boxes. For this game, generate six random numbers, each between 0 and 30 inclusive. Allow the user to choose six check boxes to play the game. [B][U](Do not allow the user …

Member Avatar for stultuske
0
1K
Member Avatar for Alex_2011

Hi, I am trying to write a program that - Generates 3 unique random numbers between 1 and a number entered by the users in an InputBox - Displays the 3 random number results in labels - Count the number of Loops So far I wrote this code but I …

Member Avatar for Alex_2011
0
316
Member Avatar for Twistar

I have a class called "Vindu" and a class called "Innlegg". I am adding a object from "Innlegg" into an ArrayList called al. But when i try to get the text out from al i only get text like this: "Innlegg@5de9ac4" Is this the memory address or something? How can …

Member Avatar for JamesCherrill
0
774
Member Avatar for issaru07

i having problem doing a echo with <img> , the image do not seems to able to display although there is not error message. please advice... thanks for your help. [CODE] $pic = $row["img"]; echo "$count.)&nbsp; $title, &nbsp;$price" ; echo '<img src="site_images/$pic" border=0>'; [/CODE]

Member Avatar for pzuurveen
0
284
Member Avatar for scheppy

Im making a program that has to call on a method when space is pressed,note it is the first time I'm doing a keylistener To do this i did [CODE]public void keyPressed (KeyEvent e) { int key =e.getKeyCode (); int space = 32; if (key==space) { } } [/CODE] and …

Member Avatar for scheppy
0
306
Member Avatar for jdm

I'm writing a dayType class program and I'm having trouble with comparing two different days to each other. Here is what I have for them: bool dayType::equalDay(const dayType& otherday) const { } and here is main: if (day.equalDay(newday)) cout << " equal days" << endl; else cout << "not equal …

Member Avatar for jdm
0
98
Member Avatar for Arjun_Sarankulu

I have main page as contain the frameset In that there are three frame 1)html page as 1.html 2)which shows the chart data as chartdata.php 3)the combox box with submit button click.php I want the combox box selected value in chartdata.php Can anyone say how can i achieve the same. …

Member Avatar for pzuurveen
0
92
Member Avatar for LucyButterfly22

Hey guys, I'm fairly new to C++ and I was wondering if I could get a hand with something. I'm trying to write a program that will create something called an anti-saccade task, in which the subject of the experiment would have to look away from the stimulus, for my …

Member Avatar for DeanMSands3
0
109
Member Avatar for king_saqib

hi im confuse i wanted to now that how can i show the information of the graphic card to user can any one help me thanx in advance :)

Member Avatar for Amiet Mhaske
0
87
Member Avatar for crazyitalian

Hi everyone and thanks in advance for and help you can give me. I am working on my "forgot password page" forgot.php. I am trying to query the database and and get a return of 0 or 1 then echo the appropriate response. this is the code I am using …

Member Avatar for crazyitalian
0
139
Member Avatar for sync101

Hi there, I am new to C++, and was wondering if someone could write an example program for me to work with. What I would like to do is take input from stdin and then display the translate output to stdout. Example: Input: [code] (color 0 0 0.1) // These …

Member Avatar for jaskij
0
108
Member Avatar for SasseMan

Hi! I'm having some problems with my build files while running junit tests via ant. The build worked fine until a couple of days ago when I got a "process fork failed" error message. Further down in the stack trace i got: Caused by: java.io.IOException: Cannot run program "C:\Program Files\Java\jdk1.6.0_25\jre\bin\java.exe" …

Member Avatar for DavidKroukamp
0
386
Member Avatar for shade399

I am making an app similar to the CMD in windows, or Terminal in Linux. My problem is, after calling the method the user has selected, I want them to be able to select another. Instead, it closes. Main class (jDOS.class) [CODE]package jdos; /** *jDOS Cross-Platform Java Console *Luke Pattinson …

Member Avatar for DavidKroukamp
0
144
Member Avatar for ryanwebber

Hi i am requiring some assistance on how to create a converter using the xcode, if someone could please provide some suitable material, books, links to relevant websites etc on how this could be done it would be very much appreciated. Warm regards Ryan

Member Avatar for ryanwebber
0
103
Member Avatar for jpknoob

Hello all, afetr receiving such excellent help regarding my first ajax file, i have received an error in my code that i have not encountered before. I have created a form with input fields and when the button is clicked, three functions are run, the first is an ajax call …

Member Avatar for jpknoob
0
333
Member Avatar for jdgieschen

Hopefully I don't have to put all my code in. I have 3 separate pages of php set up. I want a user to be able to go to my website and search a bunch of criteria to find a good school for himself. There are checkboxes, radio buttons, text …

Member Avatar for jdgieschen
0
272
Member Avatar for learner guy

[CODE] function displayResult() { var damn = document.getElementById("textyar").value; document.getElementById("oneforty").innerHTML = damn; var newDIV = document.createElement('div'); newDIV.className = "tweets"; var newspan =document.createElement('span'); newspan.className = "imagespanleft"; var img = document.createElement("IMG"); img.className="image"; img.src = "tweets/me.jpg"; newDIV.innerHTML = document.getElementById('textyar').value; document.getElementById('leftmaindiv').appendChild(newDIV).appendChild(newspan).appendChild(img); } [/CODE] this is the code , i m trying to create an interface …

Member Avatar for learner guy
0
1K
Member Avatar for kje

Hi. I am new to developing services and I am trying to develop a service that can print out labels from something called Codesoft. I have added a reference to the Codesoft component/server. I have tried to make at standard Windows forms application with Exactly the same code and it …

Member Avatar for kje
0
143
Member Avatar for vibhas

hello friends i wanted to use auto populate text box based on another select box using jquery ajax and wanted to pass values of both the check boxes to a php form and insert in db my code id : [B]index.php[/B] [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html …

Member Avatar for pzuurveen
0
153
Member Avatar for Virangya

hi, i'm develping a system which opens a jquery dialog onclick of a image. but i fuond out that when an body wrap is there (a div) an it has a style [ICODE]float:left[/ICODE]. dialog opens after the page.. how can i fix this without removing [ICODE]float:left[/ICODE]? help needed soon. thanks …

Member Avatar for Virangya
0
197
Member Avatar for vivekanandaan

Please look into the code and help me ... [CODE] dbInsert.Parameters.Add(dbInsert.CreateParameter).ParameterName = "mr_no" dbInsert.Parameters.Item("mr_no").Value = 1 dbInsert.Parameters.Add(dbInsert.CreateParameter).ParameterName = "mr_date" dbInsert.Parameters.Item("mr_date").Value = DateTimePicker1.Value dbInsert.Parameters.Add(dbInsert.CreateParameter).ParameterName = "item_code" dbInsert.Parameters.Item("item_code").Value = txtItemcode.Text dbInsert.Parameters.Add(dbInsert.CreateParameter).ParameterName = "qty" dbInsert.Parameters.Item("qty").Value = txtQty.Text dbInsert.Parameters.Add(dbInsert.CreateParameter).ParameterName = "mr_status" dbInsert.Parameters.Item("mr_status").Value = "N" dbInsert.CommandText = "insert into mr_head values ('MBBK7490','2',DateTimePicker1.VALUE,txt_itemcode.text,txtQty.text,'N',NULL);" dbInsert.CommandType = CommandType.Text …

Member Avatar for vivekanandaan
0
101
Member Avatar for stereomatching

[code] struct String { String() { std::cout<<"String::String(), this="<<this<<std::endl; } ~String() { std::cout<<"String::~String(), this="<<this<<std::endl; } String(String const &other) { std::cout<<"String::String(String const &other), this="<<this; std::cout<<", other="<<&other<<std::endl; } String& operator=(String const &other) { std::cout<<"String::operator=(String const &other), this="<<this; std::cout<<", other="<<&other<<std::endl; return *this; } }; String const operator*(String const &lhs, String const &rhs) { String …

Member Avatar for stereomatching
0
178
Member Avatar for HasNor

Hi all, i've a problem for getting the other attribute from active directory. What i've to do if i want to get the 'email' and 'employee ID'? Actually i've done for getting the username and password. But don't know how to get the other. Please help me...

Member Avatar for jaspal.indivar
0
112
Member Avatar for vimit

I have created a C# windows application for complete school management. every thing is fine but some when i run debug and run my project it shows 'not enough memory to copy exe file' i think the error occurs due to big size of project. but how to resolve this …

Member Avatar for vimit
0
239
Member Avatar for Ziggy713

Hi Everyone, I'm doing a stock Control System as a school Project using An Access 2007 DB and Visual Studio 2010. I'm trying to do an update Query based on two variables entered into comboboxes, I cannot get the VB to accept the conditions for this, Can anyone Help me? …

Member Avatar for M.Waqas Aslam
0
4K
Member Avatar for Melow

Hy, I need to get the full path of a file trough JS/Prototype and all i get is the name file. From what I read on the web this is a security issue and it is not allowed. But still, is there a way?

Member Avatar for Melow
0
161
Member Avatar for 47pirates

HOw can i read from a socket and display message from socket in Textarea of Chatpanel even if there is no any focus in Chatpanel.I mean when i create two chatpanel instance then after clicking the send button in 1st chatpanel the message from socket should be displayed in Textarea …

Member Avatar for JamesCherrill
0
191
Member Avatar for subrata_ushasi

Hi, I am developing an website in wampserver which was working fine but when I installed Oracle 9i ,Oracle working but wamp server sopped .I edited the httpd.conf as follows : chaged port no "Listen 80" to "#Listen 12.34.56.78:8080 Listen 8080" and restarted wamp server but didn't work then I …

Member Avatar for cereal
0
71
Member Avatar for Egnited

I am developing a [mobile] website that needs to allow visitors to send both an [B]image[/B] (which is on my server) and a custom [B]message[/B] to a friend's email using a PHP form. I have to keep it mobile-compatible, so I can't use java, etc. Here is my form so …

Member Avatar for sanks.sanks
0
1K
Member Avatar for CrewAlien
Member Avatar for Smartflight
0
337
Member Avatar for Lensva

Code works, however i'm having problems with reverse string- i cant figure out how to index the elements. for cycle returns errors, what else could i use? The end goal would be to compare string line with string reverse. If adequate elements match its a palindrome. [code=c++] #include <iostream> #include …

Member Avatar for rohitvipin
0
2K
Member Avatar for srm2010

I have a form which has certain data coming from database in to textboxes i want this form to print.while printing the textboxes are seen as a boxes,I want that shld not display as boxes but as lines i tried to change borderstyle to none but then it displays blank …

Member Avatar for kvprajapati
0
82

The End.