199,114 Archived Topics
Remove Filter ![]() | |
hi, im using tomcat and im trying to do simple submit form. before submiting i must chek the fields. the problem is that my submit functuin dosnt sends to the server the fields values. help... how can i submit but check all the fields first??? here is my html [code] … | |
Is it allowed? What I mean is, if I have two queries? Like I need to read a dataset to populate a gridview and other than gridview, in one form. | |
I don't know what would be a good title for this but I'll just explain. I have two forms. When I run my login form, my main menu form will also visible but only behind my login form. Now, you might have some idea what i'm talking about? . My … | |
The goal of this program is to create a "bag" array and a function that will calculate the Fibonacci sequence. The "bag" array should be initialized to a size of 2 where the the elements in order are 0 and 1 respectively. For example: array[0] = 0 and array[1] = … | |
Hey there, I'm trying to organize a file that contains the name of the player, and his score. ex: kunkunlol 473 marc 94 Susan 134 I have 2 functions, one to read the file (will show the top 10 players like above), and another to write on it (like above … | |
Hello everyone. I'm still new to PHP. What I would like to do is to place the value of the $truck inside the column Truck. I don't have any error messages whenever I run this page, so I don't really know what's wrong, and no values are placed inside the … | |
Hi there... I have the msgsnd code: [CODE](...) char *c1="./df"; if(!(df=(FILE*)popen(c1,"r"))){fprintf(stderr,"pipe1 problem");} s1.mtype=1; while(true){ time3=time(NULL); if((time3-time4)>3){ fgets(s1.mtext,1000,df); time4=time3; if(msgsnd(msqid,&s1,1000,msgflg)<0){fprintf(stderr,"sending1 problem\n"); perror("g");};} } } else if(pID1<0){ printf("failed to fork1\n");} else{ prid2 = nproc2();} return pID1; }[/CODE] and the msgrcv code [CODE]msgbuf rcv; while(true){ time1=time(NULL); if((time1-time2)>1){time2=time1; if(msgrcv(msqid,&rcv,1000,1,msgflg)<0){fprintf(stderr,"rcv problem");};printf("%d : %s\n",time1,rcv.mtext);}}} return pID3; … | |
hey guys i have a web page involving a listview and every supitem has a button !! deal is tht wen i click on the button i need to get the INDEX of the listview subitem in which the button was clicked!!! please help me through this :) | |
Hi everybody: I want to make a java application, but I can't think of anything to make. Any ideas would be appreciated. Thanx, C++ | |
Hello My program is supposed to "remove" odd indices from a linked list (with the index starting from 1, and the last address of the linked list being 0): The program should print out 13579, but it instead prints out 13268501024526850100872685009929. I know assembly is tedious as hell, but I … | |
Hi .. this is my first post here... i have been trying to solve this problem for two days ..but no luck.. here is my problemm... I am using win32.. I can able to get notified on new device insertion and removal using DBT_DEVTYP_DEVICEINTERFACE [CODE]if ( DBT_DEVICEARRIVAL == wParam || … | |
Hi all , How can I send Service command in pys60 , I read it's available in S60 3rd Ed FP2 not in FP1 ,... So what does this mean ???? Is there a difference when I'm writing a code using python targeting FP2 devices or FP1 devices ?? If … | |
somebody help me how to open connection postgresql with vb.net .. | |
I'd like to serialize and deserialize an object using SilverLight. Thanks in advance. | |
I am trying to Copy a Folder that consist of many files to another folder with a new Name. I know how to do with files but if I write: System::IO:: Directory:: I cant find any ::Copy Members here. Is it possible to Copy a folder "C:\\Folder1" and at the … | |
i m final year engg student,i need a mega project in java,plz suggest me some ideas. | |
the error i am getting in the html file Message: Syntax error Line: 1 Char: 1 Code: 0 URI: [url]http://localhost/testhtml/test.php[/url] The test.php code is <?php Header("content-type: application/x-javascript"); echo “document.write(‘Hello World I am php code called from HTML file:’);”; CLOSE WINDOW; ?> The test.html code is “<script language="JavaScript" type="text/javascript" src="http://localhost/testhtml/test.php"></script>” HELLO … | |
Well i need to change my banner of the website alternatively , like once user experiences the pic1 which would be incorporated in my CSS. But the point is i want that pic to change . for example when user 1st time logs in , he see pic1 as a … | |
[CODE]protected override void Dispose( bool disposing ) { if( disposing ) { if(components != null) { components.Dispose(); } } base.Dispose( disposing ); }[/CODE] I new nothing, what this code is doing in this project. I am familiarizing myself with am application to send and receive SMS from GSM modem. Meanwhile … | |
I am using xCode on a Mac to write some c++ code. Any time I use cin >> the program compiles just fine, but when I run it something happens that I didn't expect. I enter what I want for input and hit the RETURN key, and it goes to … | |
Hi i have a calculator progran which is shown below...i need to make this into a class calculator....i need some ideas to get started....like what should be the member functions, private data members etc..... [CODE]#include <iostream> #include <string> #include <map> #include <cctype> using namespace std; double number_value; string string_value; int … | |
Hi guys, I have been trying to use the mscomm32.ocx library in my project but to no avail. generally, i try to use the #import directive to import the library. However, i get some weired errors from non-project files viz: [code] #import "C:\\Documents and Settings\\Marembo\My Documents\\Visual Studio 2008\\Projects\\BlueTraxGI\\libraries\\mscomm32.ocx" //errors include … | |
I've been playing around with recursion a little bit, admittedly it's been some time since I've used it, and I'm feeling pretty rusty. I was simply trying to recursively reverse a linked list and wasn't getting anywhere and finally google'd some code and came across the below snippet, [code=c] node … | |
![]() | I was going through my computer book,and I saw that "\a" can be used to emit a sound in c++,and I tried it as well,but my question is,is it possible to do the same without showing the standard output screen......?? ![]() |
Server Error in '/PrecompiledWeb2' Application. ________________________________________ Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: Unrecognized configuration section 'connectionStrings' Source Error: Line 10: <configuration> Line … | |
plz teach me how to create a role playing game using c++ or any programming language? | |
while Iam running my asp.net project by entering the url it shows the auhentication pop up as "Enter username and password for http://localhost" it shows in firefox plz help me | |
![]() | [B]I've been given a homework assignment that goes as follows:[/B] We will write a program which inputs a 10-place ISBN number, cleans it up (removes spaces, and punctuation,) then strips the last digit (saving it) then re-calculates that last (check) digit from the rest of the number. If the result … |
[CODE]main() { char name[10],s[12]; scanf("\"%[^\"]\"",s); }[/CODE] How this scanf will scan? | |
I'm having trouble with my program. It randomises the craps results i.e how many games are won or lost on a particular roll. The problem is, it is supposed run 1000 games but it also randomises the number of games too. Usually between 1000 to 1005. I think it is … ![]() | |
Im sure ive parented everything up right buut when i run the code it doesnt show the panels right. As you can see from the code i want a 3 page notebook on the left half of the screen and a blank panel on the right side but i really … | |
how to make a program run when an external device is plugged in???(program run from the computer not an autorun from the flash) | |
i am also seeing the similar problem.. the code is here.. [code=c] #include<stdio.h> #include<string.h> int palindrome(char *a,int n); int main() { char a[20]; int b,n; printf("Enter the string to be checked\n"); scanf("%s",a); printf("The entered string is "); puts(a); printf("%c%c%c",a[0],a[1],a[2]); //empty line strlen(a); b=palindrome(a,n); if(b==0) printf("%s is palindrome\n",a); else printf("%s is … | |
OK here is my program so far and I'm getting a compile error on my constructor located in class Inventory on line 50 [CODE] // Inventory Program Part 2 import java.util.Scanner; //Inventory program //This program monitors DVD inventory, price, and stock public class Inventory {//new class inventory public static void … | |
| |
Hi there, I need to do a few things onclick, but I'm having problems. 1. Swap divs onclick of a text link in a list (found a script for this) 2. Change the font color of the text link that is active, then change back to normal color when another … | |
I own a site and the programmer has not made the columns user selectable for ascending and descending. Would any one like to help me out? Here is a spinet of code that has the tables. [code=php] <tr> <td width="50" align="center"><font size="2"><? print $usemembernumber ?></font></td> <td width="50" align="center"><font size="2"><? print … | |
I've searched for two days for a way that when you press a button (In this case button15) that when its pressed, it will retrieve a .txt from online. Basically I need to turn this: [code=c#] DirectoryInfo di = new DirectoryInfo("C:\\"); FileInfo[] rgFiles = di.GetFiles("*.dll"); foreach (FileInfo fi in rgFiles) … | |
Hello, [I]Before you get scared away - my issue does not particular seem to relate to Quaternions or Vectors. More generally, it appears to be something compiler or C++ standard related, as my return call from the function is acting strange. You can eventually start reading the [U]concluding issue at … | |
the html version of this php script works. What's wrong with this php script? It produces:Parse error: parse error, expecting '','' or '';'' in C:\wamp\www\temp8.php on line 5 [code] <html> <body> <?php echo '<input onMouseOver="this.style.color='red'" onMouseOut="this.style.color='blue'" style="position:absolute;left:111px;top:290px;border:none; color:blue;border:none;background:transparent;font:bold;font-size:150%;cursor:pointer;" type="Submit" value="Print Selections" />'; ?> </body> </html> [/code] | |
Again, another hard question. So Ive got a function, and ive got a couple of try and exception in it, and basically what i need is, if those exception give me an error, i want that function to go to an end. So, how am i suppose to do this. … | |
I am trying to join two tables and havent been very successful, can anyone please help! The two tables are joke and author; I need to get the authors name and email address in the joke table! The database is ijdb; mysql> USE ijdb; Database changed mysql> SELECT LEFT(joketext, 20), … | |
Download [URL="http://www.2shared.com/file/MGH_DXrx/lol.html"]this [/URL]great app, that I created. You will like it if you like basketball, especially. | |
[CODE] #include<iostream.h> #include<conio.h> main() { int c=2,a=5; clrscr(); c = a++ - a; cout<<c; getch(); } [/CODE] I know the answer of this program. The result is 0. But i want to know the working of this program(I'm a newbie to c++. So, please help me..) Thanks. | |
Hi i have another username but i cant login!! so i had to create a new account I'm doing a project in Visual C++....in Portuguese....i'm hoping you can help figure out the problem eventhough it's not in english... here is the whole code....incomplete in the int main and it's missing … | |
Below is code as of now in my .htaccess [CODE]RewriteRule ^series/([^/]*)-([^/]*)-schedule-fixtures\.php$ /viewseries.php?id=$1 [L] RewriteRule ^schedule/([^/]*)-([^/]*)\.php$ /viewschedule.php?id=$1 [L] RewriteRule ^venue/([^/]*)\.php$ /viewvenue.php?vcity=$1 [L] RewriteRule ^team/([^/]*)\.php$ /viewteam.php?team=$1 [L] RewriteRule ^month/([^/]*)\.php$ /viewmonth.php?month=$1 [L] [/CODE] Now, Problem is that it doesn't show redirect 301 to google or anyone other. Can you tell what should I … | |
Hi there, i'm currently writing a HTML & PHP script, i need to be able to click a standard HTML button which fires some PHP code to execute a program, for example Microsoft Excel. In time there will be a series of buttons which will execute different programs. If anyone … | |
Hi, I downloaded some code from a university website that calculates a metric evolutionary trees. I'm trying to run the program (called example.py) and the first line of the program is [CODE]from TreeGenerator import Tree_generator [/CODE] I did not think this would be a problem because TreeGenerator.py is another file … | |
I would be thankful if some one explain me where to start in order to access a database in Java on Eclipse Thank you in advance |
The End.