199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sassenach

Hi there, I am using AJAX XMLHttpRequest with PHP in order to view full project photos according to project id. This is my ajax request: [CODE]function getMessageResponse(str){ var xmlHttp; try{ // Firefox, Opera 8.0+, Safari xmlHttp=new XMLHttpRequest(); } catch (e){ // Internet Explorer try{ xmlHttp=new ActiveXObject("Msxml2.XMLHTTP"); } catch (e){ try{ …

Member Avatar for digital-ether
0
131
Member Avatar for G-to-the-RIZZLE

Could potentially have the longest error message EVER and have no idea how to solve it .... Exception in thread "AWT-EventQueue-0" java.lang.Error: Unresolved compilation problems: The import java.sql cannot be resolved The import javax cannot be resolved Connection cannot be resolved to a type Statement cannot be resolved to a …

Member Avatar for G-to-the-RIZZLE
0
2K
Member Avatar for mem81

Hello , I would like to achieve something which I think is possible using the method Date.daysinmonth. The thing is I am not sure what the syntax would be. Totally confused. I have a ddbox that holds date and changes dynamically.That date would always be the last date of a …

Member Avatar for Teme64
0
151
Member Avatar for tkjr4160

Could someone please help I am getting an illegal start of expression [code] import java.util.Scanner; public class 9a { // The main method public static void main( String args[] ) { Scanner input = new Scanner(System.in); // declares and initializes the variables used to store user input. int n1; double …

Member Avatar for tkjr4160
0
120
Member Avatar for jayb

hello everyone , I am beginner in PHP, I have a problem , I have a login page (login.php), where user can enter some necessary information ,after submiting ...it goes to another php page(submit.php) and do something there , ... however on that submit.php it perform some business logic validation …

Member Avatar for cwarn23
0
115
Member Avatar for london77

hii there.. im have created a user login page with php and mysql. but somehow im having problem when i try to show username information after user login. i have put this code <? echo $myusername ; ?> but it doesnt show the username.. what can be the problem? thnks …

Member Avatar for somedude3488
0
152
Member Avatar for jj.amonit

I have a db, that I feel is efficient, but I have trouble displaying the data the way I want. I can either keep the db and change the display, or I can redesign the db and get the display format I want. I'll try to explain my situation and …

Member Avatar for urtrivedi
0
110
Member Avatar for newMeg

Hi, Im new to .net programming,I have been stuck with a dynamic search form. I have a dropdownlist and a text box. The dropdownlist actually hold the filed name where when i search is "where [I][B]dropdownlist [/B][/I]value like [I][B]textfield [/B][/I]value this is my front end [CODE]<tr> <td style="height: 14px;background-color:#ffd6d6;"> <asp:Label …

Member Avatar for newMeg
0
321
Member Avatar for veledrom

Hi, Does anyone have a script that is used to upload and resize the all type of images? I have script to resize upload and JPG files only but i need GIF, BMP and others too. Thanks

Member Avatar for nathenastle
0
81
Member Avatar for ahvicm

how can i insert the code for entering a password here?? the password should be in the main window...and it should be replaced by asterisk...HOW??? tnx [code] #include<stdio.h> #include<conio.h> #include<dos.h> struct phone { char name[20]; char ad[40]; char ph[20]; }; struct phone ar[100]; int n=0; void wfile(); void rfile(); void …

Member Avatar for tux4life
0
89
Member Avatar for FrancisC07

hi! ^_^ i am very confuse on how to edit an external file? can someone tell me?

Member Avatar for skatamatic
0
97
Member Avatar for narayanc1

Hi to All, I am developing an Application in Compact Framework.when Windows Mobile 5.0 is paired with another Device, I have to get the inbound port of Windows Mobile.Is there any process to get that using System.IO.Ports or any other solution.As I am trying for this from 2 days please …

Member Avatar for narayanc1
0
108
Member Avatar for peedi

I am almost done with my program. And for some reason i cannot get my boolean to become true. here is the code [CODE]//This program allows the user to order a pizza import java.util.Scanner; import java.text.*; public class PizzaOrder { public static void main(String [] args) { //create a Scanner …

Member Avatar for sillyboy
0
178
Member Avatar for PinoyDev

[code=php] $_SESSION['MM_paymentstatus']="to be verified"; $modeofpay="Credit Card"; mysql_select_db($database_enamysqldb, $enamysqldb); $query_recunvesummary=sprintf("SELECT * FROM paymentsummary WHERE username=%s AND paymentmode=%s AND foryear=%s AND initialstatus=%s", GetSQLValueString($_SESSION['MM_Username'], "text"), GetSQLValueString($modeofpay, "text"), GetSQLValueString($_SESSION['MM_yearlynow'], "text"), GetSQLValueString($_SESSION['MM_paymentstatus'], "text")); $recunvesummary = mysql_query($query_recunvesummary, $enamysqldb) or die(mysql_error()); $row_recunvesummary = mysql_fetch_assoc($recunvesummary); $totalRows_recunvesummary = mysql_num_rows($recunvesummary); $totalunvepayment=0; while($row = mysql_fetch_array($recunvesummary)){ $totalunvepayment = $totalunvepayment + $row['amountpaid']; } …

Member Avatar for PinoyDev
0
154
Member Avatar for mizzwaniez

How to do this assigment.im did not understand it..plz somebody help me.i will appriciate anybody who will help me. The program question are like this and this program should use c programming:- The owner of a snack bar wants a system which will allow a menu, with prices, to be …

Member Avatar for moonw3ll
0
91
Member Avatar for Robins Antony

Hi friends, How to Find the no of simultaneous users logged in to a web site at a time?. Any help with the C# code will b greatly appreciated. Regards Robins

Member Avatar for alc6379
0
74
Member Avatar for CoolAtt

hi everyone. my program uses an infinite loop & runs forever. i want to run some codes when i decide to stop the program using CTRL-C. Is this possible ? Please advise me. thanks

Member Avatar for CoolAtt
0
255
Member Avatar for itcraze

Hello everyone, I want to import data from Excel sheet to my SqL Server database using ASP.NET and C#.The data in excel sheet should be imported to the SQL Server table ................tell me the code in C#.net for performing this fuctionality .............. Thank u ALL !!

Member Avatar for alc6379
0
334
Member Avatar for itsrahulk

[B]Hi All I have a .dat file in which content is like X)YF(6ÿÿÿÿÿ™Iÿÿÿÿ which is in ascii i want to convert it to simple text (readable) first i need to read this .dat file then convert it to readable text. pls help me how can i do it with C# …

Member Avatar for alc6379
0
72
Member Avatar for Amara

Hi, Using .NET, is there any way to create a dialog which allows the user to choose multiple directories by ticking them. The purpose is to scan the chosen directories for certain files. Thanks

Member Avatar for alc6379
0
131
Member Avatar for Acute

Hi, there. I want to create a table by using PHP which'll get data from MySql DB and display it on a table. Sounds like easy, but.....I'd like the table to be like in Excel(i mean not using 'select forms', you just click on field and update it...), is it …

Member Avatar for nathenastle
0
98
Member Avatar for vikidigi

PLz Help i have some Images in DataBase in Blob field but images are displayed with a Cross (X) not the actual image MainPage.php//code [code=php]<?php $con = mysql_connect("localhost","root",""); if (!$con) die('Could not connect: ' . mysql_error()); mysql_select_db("db1", $con); $image = mysql_query("SELECT * FROM userimagetable"); while($imageResult = mysql_fetch_array($image) ){ ?> <img …

Member Avatar for nathenastle
0
72
Member Avatar for Dhaneshnm

This is my code: package hello; import javax.microedition.midlet.*; import javax.microedition.lcdui.*; /** * @author User */ public class TBexample extends MIDlet { Display display; public static String txt; TextBox sample; public TBexample() { txt = "enter your text here"; } public void startApp() { // String localtext ="hi"; display = Display.getDisplay(this); …

Member Avatar for Dhaneshnm
0
215
Member Avatar for sid78669

Following is a function I wrote to get a line of definite length from a long string. The line is also word-wrapping to make sure no words are splitted: [CODE=C++] char * getLine(char * str, int length, int start, int lenSent){ int index = 0, //Index number of the current …

Member Avatar for sid78669
0
143
Member Avatar for endisbegun

so...i dont really understand my project -_- the teacher is asian as am i but he does not write english very well :3 can i get some hints maybe? ^_^ thank you i really appreciate it ive been stumped for such a long time :O "I typed the following 2 …

Member Avatar for endisbegun
0
94
Member Avatar for schuerm

Hi I am desperately trying to get the text from a chat window. My idea was to use win32gui.GetWindowText(). I wrote a program to display any text with win32gui.GetWindowText() by iterating over all past and previous handles and as deep into each handle as there are children. Basically I tried …

Member Avatar for jworld2
0
397
Member Avatar for atreides27

now...like...i need to concatenate the two words that the user enters, s1 and s2 and output them...i thought i needed to use strcat but like...i dont really understand how to do that here, do i need to make a new c string variable or...? ah i hate this stuff lol …

Member Avatar for SeeTheLite
0
146
Member Avatar for orwell84

Hello, I'm just wondering how you would go about exporting the matches that regex finds. For example, if I were to have the following code, which matches all the digits in a string and (supposedly) reads them into an array, which is then displayed: [CODE] @numbers = ($string =~ /\d*/); …

Member Avatar for KevinADC
0
94
Member Avatar for ARYT

It's me again. :?: This is the question: Write a computer program that computes the temperature of a gas that is originally at P=5 atm, =V30 Liters, T=273 K. Solve the problem using one dimensional array only. Assume number of array elements is unknown (use the end of file function). …

Member Avatar for Ancient Dragon
0
219
Member Avatar for yukirosaki

I'm working on this polynomial program but I have stuck at some points which still don't know what's wrong exactly. So anyway, I have to add 2 polynomials, subtracts, and multiply. So could anyone please correct this code below. Thank you very much!! [code=syntax] public class Polynomial implements Cloneable { …

Member Avatar for Ezzaral
0
111
Member Avatar for redmaverick

Hi, I formatted my pc and restored everything back and now I forgot how to install jdk and set the path. I am using windows vista..... I created a CLASSPATH in system variables as follows .;C:\Program Files\Java\jre1.6.0_02\bin and path in system variables as %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Java\jdk1.6.0_12\bin and again a new path …

Member Avatar for VernonDozier
0
116
Member Avatar for archangelzero6

Alright, Here is my problem. I am using VB 2008. I am trying to get information from comboboxes to link to others. by that I am trying to get a flowlist going. box1= vehicle year box2= vehicle make..... then model, etc. I appreciate any help that comes my way. here …

Member Avatar for archangelzero6
0
174
Member Avatar for f.ben.isaac

[CODE] const char* findThisMsgInMem = "Hello World! Everyone is Happy"; if(memcmp(&dataInMem[i], findThisMsgInMem, defaultMsgSize) == 0) { memcpy(&dataInMem[i], newMsg, strlen(newMsg)); //more code here }[/CODE] This is first time for me trying to use malloc, and realloc. Please see the coding example for illustration purposes. Don't worry of this lengthy question, most …

Member Avatar for f.ben.isaac
0
509
Member Avatar for gseed87

Project Title : Student Grading System Purpose : Calculate the grade and sort the student matrix in descending example Input file : studentsmark.txt example Output file: studentresult.txt How the user operate the software: 1) user run the software 2) an interface show on the screen 3) user keyin Input file …

Member Avatar for r.stiltskin
0
193
Member Avatar for k2k

Hi, I am trying write a program to input and output data from a microsoft access file with java.sql class and the swing class. basically i am on the first stage, trying to figure out different parts. the first thing i would like to know is: (assume it is already …

Member Avatar for k2k
0
285
Member Avatar for greg022549

I am enclosing my code and as you can see below the Event Recorded Banner the event type will not display. I would appreciate if you could show me what my problem may be. Everything else works properly. I am stuck. [code=cplusplus] #include <iomanip> #include <cmath> #include "EventBooker.h" EventBooker::EventBooker() { …

Member Avatar for VernonDozier
0
124
Member Avatar for daniwebnewbie

I'm writing an application that needs to store a ton of objects and some attributes. I was wondering, based on python's inner workings, if it's more memory efficient to have one huge dictionary or many small dictionaries and then one dictionary that just references the smaller dictionaries? Any information would …

Member Avatar for paddy3118
0
261
Member Avatar for orwell84

I have a problem with a program I'm writing. It's supposed to find the factorial of the number you input, but it's not. The problem seems to be that the recursive function isn't...well...recursing. Right now, when compiled, the program multiplies the number by the number before it. So if it's …

Member Avatar for orwell84
0
161
Member Avatar for Takafoo

So I have the below code to check the input, I'm just having trouble because apparently flushing the input causes the tests (its an assignment) to lock up and I need to manually break out of it. The problem is that if I remove the flushing of the input it …

Member Avatar for Takafoo
0
128
Member Avatar for Dragonsfire

So, I'm attempting to write an object oriented program that solves simple sudoku puzzles by checking the rows, columns, and the 3 x 3 grid. [code] #include <iostream> using namespace std; #include "doth.h" int main() { User file: Sudoku call; int flag=0,ptx=0,pty=0; call.Display(); for(;flag != 1;) {[COLOR="Red"] if (Puzzle[ptx][pty]==0) { …

Member Avatar for Dragonsfire
0
96
Member Avatar for ceyesuma

[i] Topic The topic of this question is: Creating a MySQL table and Entity from Database. [/i] [icode] Hello and Thank you in advance for any assistance. [/icode] [u] [b] Purpose: [/b] [/u] [b] This is another attempt to render data in a visual web javaserver faces table. The purpose …

Member Avatar for ceyesuma
0
161
Member Avatar for trixymix31

Hi, I have a homework problem in where I have to count the vowels from a readin file from a flashdrive/harddrive. Then the amounts of each vowel has to be displayed & which occurred the most amount of times & which occurred the least amount of times. Extra credit (which …

Member Avatar for trixymix31
0
99
Member Avatar for Lukezzz

I have a little problem. I have a lot of code in the backgroundWorker2 (//Do Stuff) When pressing the button1_Click, everything works great and the code executes for the backgroundworker. But if I now try to drag the form around on the desktop, the form will "get stuck"(Not Responding). It …

Member Avatar for Lukezzz
0
75
Member Avatar for animefun2

Hi I want to link my program in vb6 to the system calendar in windows XP by using shell but to be able to do that i need to know the default path or file location of the system calendar ( i was searching all day and still didnt find …

Member Avatar for hkdani
0
819
Member Avatar for SUD

I am new to C++ and attempting to complete an exercise my question is How you can use cin.ignore to ignore every character up to and including a specified character – for example a full stop, ’.’.

Member Avatar for William Hemsworth
0
866
Member Avatar for Azurkan

So A friend and I are new to C++ and we are trying to create a sudoku project and are trying to figure out different ways to do so. Right now we are stuck at the repetition checking. I was wondering if anyone could help us out?? We are trying …

Member Avatar for nucleon
0
100
Member Avatar for jimjohnson123

I am at work and did this program on notepad and not sure if this is correct or not. Can someone that has the visual studio compiler test this and let me know if it works. If it does no could you offer any minor feedback on the location of …

Member Avatar for nucleon
0
151
Member Avatar for satrix36

Hi everyone, I'm making yet another program, and i am needing a login screen. The first form has 2 edit boxes and 2 buttons. The cancel button closes the program, the login button checks the username password if there correct or not. I have written the code for the login …

Member Avatar for malditcha87
0
566
Member Avatar for G-to-the-RIZZLE

i am using an else if to call a method from another class but it says a ')' is expected can anyone help please :D else if (source == tol.jbTakeOut) { bookname = tol.jtfBookName.getText(); authorf = tol.jtfAuthorFName.getText(); authors = tol.jtfAuthorSName.getText(); [I]Store.changeLoanStatus(String bookname, String authorf, String authors);[/I] //the line which the …

Member Avatar for G-to-the-RIZZLE
0
125
Member Avatar for sreya.n

hi all, Can I use the light box for displaying the contents in a php file in the pop up.For an image the lightbox is working properly.Is it possible to pop up a script using light box? xpecting ur reply... Thanx in advance...

Member Avatar for jeffc418
0
121

The End.