199,114 Archived Topics
Remove Filter ![]() | |
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{ … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
![]() | 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 … |
hi! ^_^ i am very confuse on how to edit an external file? can someone tell me? | |
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 … | |
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 … | |
[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']; } … | |
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 … | |
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 | |
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 | |
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 !! | |
[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# … | |
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 | |
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 … | |
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 … | |
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); … | |
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 … | |
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 … | |
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 … | |
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 … | |
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*/); … | |
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). … | |
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 { … | |
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 … | |
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 … | |
[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 … | |
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 … ![]() | |
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 … | |
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() { … | |
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 … | |
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 … | |
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 … | |
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) { … | |
[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 … | |
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 … | |
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 … | |
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 … | |
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, ’.’. | |
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 … | |
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 … | |
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 … | |
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... |
The End.