199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ms88

Hi there, I have some problem with accessing API using PHP. Here is the story : I use PHP as my main script on my webserver. I want to retrieve data in database server (oversea). The database server provides API and it's available to download. So I download the API …

Member Avatar for mdew_47
-1
907
Member Avatar for Acute

Hi everyone, i need your help) i have some elements with same id, say: <div id="myid">Data1</div> <div id="myid">Data2</div> I want to get innerHtml when one of them is clicked, how can i determine which one exactly was clicked? JQuery: $("#myid").click(function(){ //how to get the .html and other properties of clicked …

Member Avatar for Acute
-1
1K
Member Avatar for khaled_jawaher

i am new in jsp.i am trying to use useBean in jsp to run a class named hi. i am using apache tomcat as a web server.i placed the file hi.class as well as the file that i named it date.jsp which uses the hi class in the folder webapps …

Member Avatar for khaled_jawaher
-1
1K
Member Avatar for littlejw

okay so this is really killing me... does anyone know where there is some good information on the subject. all i want to do is make an app that can read and possibliby extract messages from a .pst and or .ost file... any help is greatly appreciated. John L

Member Avatar for VBSietle
-1
465
Member Avatar for bhagawatshinde

Hi, I am using the richtextbox selectionstart and selectionLength property for finding some text but its not working . can anybody help me please .... [COLOR="Red"]here is my code[/COLOR] [code] Dim startPos As Integer Dim endPos As Integer RichTextBox8.Rtf = RichTextBox8.Rtf startPos = InStr(RichTextBox8.Rtf, "\objw") endPos = InStr(RichTextBox8.Rtf, "\objh") Dim …

Member Avatar for bhagawatshinde
-1
261
Member Avatar for yellowkaiq

Hey all, So basically I need to change the code so that the phonebook and the inverse phonebook are easily updated and maintained. Also, whenever I add an entry, both phonebooks need to be updated. Lastly, when I write a phonebook to a file, write a backwards phonebook as well. …

Member Avatar for richieking
-1
420
Member Avatar for packetpirate

This is for the numerous people I see constantly asking how to "pause" the console after their code runs. The explanation for how the code works is within the snippet in comments. Basically, the "cin.clear();" function will clear the input stream, getting rid of any newline characters that would have …

Member Avatar for MosaicFuneral
-1
2K
Member Avatar for LillianIs

// Postfix evaluation.cpp : Defines the entry point for the console application. [code] #include "stdafx.h" #include <iostream> #include "stackNew.h" #include <string> #include "stdlib.h" #include <cctype> using namespace std; int _tmain(int argc, _TCHAR* argv[]) { char Exp; string postfix; stackNew Operands; float item1, item2, result; cout<<"please enter the exp<B></B>ression you want …

Member Avatar for WaltP
-1
707
Member Avatar for rakibtg

how to create an [B]wysiwyg[/B] html editor in <textarea name="sender_message"></textarea> is it possible when send an email from a php form?

Member Avatar for rakibtg
-1
268
Member Avatar for tylerjgarland

[B]This is a homework question[/B] I am attempting to write a hash function that will evenly distribute 20 randomly selected census name into 20 buckets. I may have up to three collisions of two each. [CODE] public int hashCode(Contact c) { // TODO Auto-generated method stub int result = 0; …

Member Avatar for mrnutty
-1
275
Member Avatar for mattdaddym

Hi all, This is my first post, and I am certainly no perl programmer. I do have programming experience and have inherited a some perl code written by someone else. I have spent days trying to find the solution to this, so here it goes. This script parses a tab …

Member Avatar for aixylinux
-1
516
Member Avatar for degamer106

Hmm I was lookin through a recursion program in this book i have here and the only thing I'm having trouble with is the modulus operator. I know that it returns the remainder of 2 numbers. But, suppose I have this: x % y If x > y then the …

Member Avatar for Shankye
-1
254
Member Avatar for kanuri1

hi i wants to create an dll file for removing blankspaces in a given string.......... here iam writing the code but it was not working..... please give me the correct code.... here iam using asp.net with vb.net [CODE]Namespace fillblank Public Class Class1 Private Sub blankspces() Dim a Dim done a …

Member Avatar for crishjeny
-1
262
Member Avatar for simi pillai

Server Error in '/PrecompiledWeb4' Application. Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Could not load the assembly 'App_Web_caknetlg'. Make sure that it is …

Member Avatar for crishjeny
-1
326
Member Avatar for schoolboy2010

Hi My program is supposed to implement a binary tree with an insert, remove, copy, pre-order, post-order and in-order views. Problem is that my code compiles... but doesnt work. Could someone help me out. Thanks. I attached the code... [ATTACH]18222[/ATTACH] [ATTACH]18223[/ATTACH] [ATTACH]18224[/ATTACH]

Member Avatar for schoolboy2010
-1
268
Member Avatar for rozario2010

hello -i'm a student and i have been given the task to develop a P2P Voip application. - the program should work on Local network and adhoc network (and internet if possible) without server. -The program should have an address book to add unlimited user name with the ip and …

Member Avatar for jonsca
-1
551
Member Avatar for Luckychap

Hi all, I want help from all you wonderful guys. I want to know how can we free memory occupied by an Array. That means all the elements associated with this array should be deleted. let say: [code='javascript'] var bigArray = ["313123", "123123", "sadasd",.........................]; [/code] So which will be the …

Member Avatar for Airshow
-1
368
Member Avatar for Elihu5991
Member Avatar for MorisK
-1
254
Member Avatar for Halbo

I'm well versed in creating a setup file in VB .NET, but am working in the older VB 6.0 on an older project I've been asked to maintain. How can I create a setup file in Visual Studio 6.0? Thanks in advance! Halbo (More than a name; it's ... Dim …

Member Avatar for AndreRet
-1
371
Member Avatar for shanebond

Hello everyone i'm new to this kind of things plz help me to solve this , if anyone can post the c/c++ code also i shall be thankfull to you :) An eccentric doctor visits his patients in order of decreasing age. Patients entering the waiting list specify not only …

Member Avatar for peter_budo
-1
716
Member Avatar for shane1987

Array of Random Numbers Write a program called Random50 that fills an array with fifty random values between 1 and 999. However, before a random value is entered into the array the program must check that the number generated is not already in the array. If it is already present …

Member Avatar for lee.j.baxter
-1
5K
Member Avatar for fuzmaster

I would like to know on how to solve this particular equation. Create 4 functions Main function Get number of employees (less than 10) Get employees hourly salary Store in an floating point array called salaries Calls calculate pay function Calls print pay function number_of_employee_times Calls print pay function 2 …

Member Avatar for arkoenig
-1
324
Member Avatar for kyros

hello.I have an C++ assignment I have to find a path to exit from maze.I should read the maze from a file and write it to an array..but I couldn't do it.can you help me,can you give the code to do that and which headers should I include,please answer me …

Member Avatar for SgtMe
-1
383
Member Avatar for ralphcatech

write a program that will act as a single user's ATM machine.....the user will have the following menu options 1. deposit 2. withdrawal 3. view account balance 4. exit constraints for validation user can not deposit less tha zero dollars user must withdraw in $10 increments user can not withdraw …

Member Avatar for TrustyTony
-1
854
Member Avatar for JasonQiao

[COLOR="Red"]COULD ANY GEEK HELP ME FIND OUT WHAT IS WRONG WITH MY CODE FOR RE?[/COLOR] [COLOR="Green"]SINCE THE BACK PART IS MARKED INVALID SYNTAX......[/COLOR] [CODE]'''you are given a bunch of phone numbers in a file whose name is provided by parameter name_fin, each line has exectly one phone number. They look …

Member Avatar for cghtkh
-1
263
Member Avatar for ritesh2190

I need to write a c program which takes a algorithm as the input and gives the equivalent c source code as the output.any ideas????

Member Avatar for Anuradha Mandal
-1
4K
Member Avatar for CompSci_Guy

My question is... what is the int times for? i dont understand what i am supposed to do with it. Here are the instructions about this method: String[] generate(String symbol, int times) In this method you should use the grammar to randomly generate the given number of occurrences of the …

Member Avatar for Taywin
-1
1K
Member Avatar for chmo

hi... I have some questions... Firstly, I have an ArreyList that is stored two String "Name", "Description" This is a database of students [CODE]private void addStudents () { addStudent("ABC","lalala"); addStudent("DEF","hohoho"); }[/CODE] I also have the methods that adds, modify and delete students from the term list. [CODE]protected boolean addStudent (String …

Member Avatar for masijade
-1
399
Member Avatar for fobos

Hey guys, i have looked all over the web on how to upload a file to MySQL database and retrieve using coldfusion. I know i can do it in PHP, but im not using that anymore. Is there a script or some place that someone can point me so i …

Member Avatar for arrgh
-1
984
Member Avatar for jakesee

Hi, Without first knowng what public class variables the class has, how can i display a list of all the variables in that class along with the values? [CODE]print_r(new MyClass());[/CODE] will display the public variables and values, plus some other unwanted entries, but I cannot do anything with them. I …

Member Avatar for Setvir
-1
485
Member Avatar for Prasadd

Hi, I am working on a Desktop application using C# .NET Looking for some code that does 'email syntax validation' and 'send mail' tasks. Since it is not a web based application this cannot be done using Web based namespaces etc. Can anyone please help me out or even suggest …

Member Avatar for kvprajapati
-1
347
Member Avatar for Netcode

How can one search for multiple items at once and display the result in a datagrid? for example, i want to search for multiple mobile numbers (in sql server database)at once and display the found numbers and their corresponding names.

Member Avatar for zx1
-1
1K
Member Avatar for minnie19

Good Day, I will be starting a course in C++ soon and i was just looking over the internet for some examples and practise questions. I found this question very interested as these topics are on the course outline. Is it possible for you to assisst me in doing this …

Member Avatar for minnie19
-1
305
Member Avatar for Nemo_NIIT

[B][COLOR="Green"]Unable to copy file "obj\Debug\.exe" to "bin\Debug\.exe". The process cannot access the file 'bin\Debug\.exe' because it is being used by another process.[/COLOR][/B] please help i have open the task manager i have end the process but then also same error please help me I am using window application

Member Avatar for ashishkumar008
-1
321
Member Avatar for rogue005

I need ideas for a C++ [COLOR="Red"]mini [/COLOR]project. It should be complex enough to involve 4 students.

Member Avatar for alibabashaun
-1
682
Member Avatar for endsamsara

Hi, well I need to do a program in Java that shows the solution of the famous game 8 puzzle (the object of the game is to place the tiles in their place with the less possible movements) So using the class Astar Given by our teacher we are asked …

Member Avatar for Weixing
-1
5K
Member Avatar for UberJoker

Hey guys. Last week I programmed a AVL tree. This week i am trying to build a Btree. Can someone explain the differences between a AVL tree and a Btree. They seem kind of similar in the sense that both need balancing, but how different are they when it comes …

Member Avatar for dilkash
-1
1K
Member Avatar for fastrobby

[B]Hi, I get this error .... I have seen it posted before but no-one seems to have a solution so I am posting it again. I have pinged IIS, set permissions in folders, reset IIS. Any help appreciated [/B] [B][COLOR=#000000]HTTP 500.100 - Internal Server Error - ASP error Internet Information …

Member Avatar for DanInRoanoke
-1
813
Member Avatar for niths

--You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Resource id #10' at line 1--- [code] <html> <body> <form action="login.php" method="post"> <div> <table width="100%"> <tr> <td><img src="Logofinalcopy.gif"></td> </tr> <tr> <td bgcolor="aqua"><h2>Login</h2></td> </tr></table> <table align="right" …

Member Avatar for richieking
-1
343
Member Avatar for jeeva86

Hi, I wanted to know how would you be able to change an image on a website to another one when refresh is hit on the tool bar in IE or how would i get it to open up a different html file when i hit refresh and i'm not …

Member Avatar for KazmiLahore
-1
4K
Member Avatar for maichy

hi all am trying to obtain a daily report from my database using the code below but it keeps giving me an error of false,when i say debug.print. when i say rptETR.show it gives me all the transactions and not the daily transactions.below is the code Private Sub Cmddaily_Click() Dim …

Member Avatar for AndreRet
-1
409
Member Avatar for nikk

I'm creating a website as my college project which consists of HTML pages and JSP. I've started writing JSP code, but don't know how to run it. Can you tell me how to proceed after creating JSP file. (i've created Login.jsp and login.html file. Gave <form method=post action="Login.jsp"> in login.html …

Member Avatar for rajmtech2010
-1
408
Member Avatar for bflack

Just one question: Is the two dimensional array coordinates in C opposite to what the coordinates used in plotting in the CARTESIAN PLANE??? please answer and thanks

Member Avatar for N1GHTS
-1
4K
Member Avatar for kutukak
Member Avatar for karthikeyanvani
-1
372
Member Avatar for anjaly grace

[code=cplusplus] //////This is a copied code for insertion sort ///// It works for turbo c++ 1 ///// in windows. /// For students of nitc. // The program takes in size of array, and elements and sorts it. #include <iostream.h> #include<conio.h> //#define size 6 void insertion_sort(int x[],int length) { int key,i; …

Member Avatar for sim2
-1
300
Member Avatar for ScalesTech

// Energy drink assignment from page 77 #18 #include <iostream> using namespace std; int main () [{ int numberSurveyed = 12,467; int energyDrinkers; int citrusFlavor; energyDrinkers =static_cast<int>(numberSurveyed)* 0.14; citrusFlavor =static_cast<int>(energyDrinkers)* 0.64; // Approimate calculations from survey print out // 14% of 12,467 cout << "Approximate number of customers who purchase …

Member Avatar for ScalesTech
-1
381
Member Avatar for acrocephalus

Hello! I have designed a dialog with a grid widget. I would like to populate it with data from a MySQL table which has 10396 rows and 5 columns, as the grid widget. How can I do it? Then, how can I select a row from the grid widget and …

Member Avatar for acrocephalus
-1
2K
Member Avatar for notuserfriendly

Pretty much i can convert from infix to postfix really well and that is nto the problem i need help with the postfix evaluation also i dont think my evaluate method is correct i have two push methods, one for char and one for int. i really am stuck and …

Member Avatar for masijade
-1
2K
Member Avatar for RFBourquin

I can't seem to find any function which will allow me to obtain the Windows screen resolution and/or set it in C++. I would like to be able to change it, then change it back. Thanx

Member Avatar for 7sedam7
-1
2K
Member Avatar for RahulV

Kindly tell me how can I insert data from a bi-dimensional array [I]ex. array1(10,10) [/I] to a DataGrid/DBGrid and visa-versa. Please explain with a sample source code.

Member Avatar for pankaj7040
-1
723

The End.