199,114 Archived Topics
Remove Filter ![]() | |
Hi all! Is there any way to add http headers to a request generated by the web browser component in C#? The setup is as follows: I have developed a piece of thadware that gives users access to the internet. The hardware is connected to an admin pc. On this … | |
hi i have created one simple page using ajax ,my index page contains menus page1 page2 page3 page4 if i click the page2 menu means my page2.html is opening in the same window index.html itself ,but in my page three i have a link if i click that link it … | |
Hello everyone, I need some help with instances and loops (I am a very new programmer). Basically, I have a problem where I need to make a program that has a circle move around a window every time the user clicks. This circle is suppose to have a text box … | |
I need help with how to handle parentheses when converting an infix equation to postfix through the use of a stack. The program reads the equations in from a .txt file. It works for the equations without parentheses, but not for those with parentheses. I've attached the text file to … | |
hello, i was woundering if somone could point me in the right direction. Im making a CMS/socialnetworking script for fun and want to change how the url gets the data for profiles. at the moment its using the tradition $_GET['id'] thing from the broswer url, but id like to try … | |
I`M USING THE PHP MAIL FUNCTION TO SEND EMAILS TO MEMBERS IN MY SITE. [CODE=PHP] sendto="xxxxxxx@yahoo.com"; $to=$sendto; $from="From:mysite@mysite.com \r\n"; $subject="$fullname contacted mysite"; $content="$message \r\n his/her email address is $email"; if($content){ mail($to, $subject, $content,$from); echo"<font color=green>Your email was sent successfuly to adminstration of mysite.<br/><a href=index.php>Continue to the site</a></font>"; } [/CODE] i … | |
Hi, I want to write a java program that send a file through cable to another PC automatically in specefic time.. I don't know which cable to use(crossover or usb) and how to read and write from the serial port.. i tried to do it in VB(with help from some … | |
Hello people, Well The problem that I am facing is: I have a date in string format like 30 Jun 2009, how can I insert it into MYSQL table as DATE data type? I created the table and declare data type for Date column as DATE, when I insert 30 … | |
please tell me about some my questions. if (we have a pointer *tmp)-> that my goal is assign that pointer for another pointer ** temp ; so ,how do we assign for right sytax. | |
Hi Guys, I am stuck i need reports in my VB 6.0 small project (Crate Management System, anyone with good tutorials or ready to help me on this one, i have used ADODC and a Microsoft Access Database. | |
Hi, I am new to algorithms and i have following assingment to do, although i understand Greedy algorithm but i have no idea how to proceed please help me solve these questions 1. Prove that a graph with n nodes and more than n-1 edges must contain at least one … | |
hi guys. can someone show me the right syntax to make link based on the ID using php echo. My coding will not give any input. below is my coding: [code]echo "<td width='101'><a href=view_supplier_details.php?details_ID={$user['report_details_ID']}</td></a>";[/code] | |
#include <stdio.h> int main() { int age; printf("Please enter your age:"); scanf("%d", &age); if(age<100) { printf("You are pretty young!!!\n"); } else{ if(age==100) { printf("You are old\n"); } else { if(age>100) { printf("You are really old\n"); } } } getchar(); return 0; } the program just flashes wen i click run … | |
I created this code because i was bored and wanted to try something with some code and i ended up creating this little code snip. [B] Code from: [URL]http://www.iportalx.net[/URL][/B] | |
Hi. I'm having trouble making a simple calculator. The code I have so far compiles, but it does not run. Right now I only have addition in because I wanted to make sure I was going in the right direction before I added anything else. I have to use a … | |
i am trying to use the File upload feature in my application .. i am having a Form with many fields of type Text,textarea and including File upload FIeld. I have kept a Submit button at the end of the Form which on click will submit the actual value of … | |
This is a small function that will block the specific IP from viewing the certain page, and it will redirect the user to the main page or noaccess page. | |
hi, pls. tell me how to select value from a check box, & from a list box or combo box. actually i m new to c# , so sorry for this stupid question but i need your help. Thanx in advance. Happy Diwali Regards ~ Dimple | |
Hi frnds.... First of all sry for all 4 arraising same(email) thread more times... I have a problem with email sendhing... one my old client ...his project is shifted from one server to another server(control panel)...now, the contact page(email) is not working properly...here i m getting the below error....plz tell … | |
Hi, Has anyone seena script for searching a database, and having pagination as well...as I have tried and successfully created a search database sarch webpage..and a pagination webpage, but that returns all the data in the database... Regards Rob Wood | |
*Forgive the double post (in Computer Science thread too. As soon as I figure out which thread this should be in, I will be sure to consolidate and delete one.* I got this example in a handout in class, but am having trouble following...can someone kindly insert some comments? After … | |
I am having a small issue I have to use only putchar and get char to get an operator and two numbers and print the format into num1 (operator) num2 I have a lot of code but I am afraid to post on the site because someone might steal it … | |
Hello coders, newbie on board! Just a quick question: How do I calculate the number of steps a bubble sort takes to sort a database of n entries? On my notes it is written that "It is easy to see that a bubble sort of n records requires n−1 comparisons … | |
I need to know how to do the following: Allow for editing and Allow for searching by state or by any other options This is what I have so far: [CODE] import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.border.*; public class AddressBook extends JFrame { // Specify the size of … | |
Dear all, I have been preparing an address management system using ms access as backend and vb.net as front end. I have got a problem in using search button. How can I display searched datas in access files in grid. (can i get a code for it if you really … | |
I have this program that calculates students grades. It asks for each students test scores individually then gives their total score and percent, then loops for the next student. But after the user is done inputing all the students scores, how do you create a function of some sort to … | |
i want to store into a store procedure where a hyperlink from the gridview ir datalist can also function as a save button. the problem is that the list is from the database aswell. and there is a parameter from the table that i do not know how to pass. | |
in my data report I have two rptfunction. both of them show the total sum. here I want 1 extra rptfuncion show the calculate amount. I mean it show (1st rptfunction - 2nd rptfunction). like: 1st rpt...2000 and 2nd rpt....1500. so the 3rd rpt... show 500. and one more thing … | |
Hi, How to convert two datagrids into a single PDF.... Thanks in advance... | |
Here is my assignment: Write a C program that will reserve seats on an airplane that has 10 first class seats and 100 coach seats. Your program should be menu driven. If a seat of the desired type is available, your program should recored the reservation and display the seat … | |
do anyone 1 knows hw 2 access other running windows in desktop using VB??? i saw it in a buk | |
Hello everyone of DaniWeb!! I have an issue with the good old Mortgage Calculator I need to make this list, but i am not sure what i am doing wrong. any help? Here is the assignment Write the program in VB.Net (not Web based) and have it accept user input … | |
Im trying to write a program thats uses call function, but for some reason the program. Can someone help point out what i might be missing in the code? [CODE]#include <iostream> #include <cmath> using namespace std; void timeoffall(); void velatimpact(); int main () { double h; cout << "Please enter … | |
Hey all. I have worked with a project to create a basic student database/registration system for the past 4-5 projects... slowly adding more functionality or using different containers and classes etc. For this next project, i am to use the code from a website online which contains all the nescessary … | |
Quick question regarding the Fraction class created in the header file. Someone in my group used this in the header and I was wondering if there was an alternative to coding it than what they used. Something simpler for me to understand. It seems they just took a shortcut. [CODE]public: … | |
Purpose of this program take base and two number then multiply that numbers in that base.I used Dev-c Shed compiler for gcc.It takes the numbers and base from text in the attachment.Please help....It doesnt have syntax error but it has logic error... [code=c] #include <stdio.h> #include <math.h> #include <malloc.h> #include … | |
I'm needing to evaluate string infix equations and transform them to postfix equations. I'm following the info here: [url]http://scriptasylum.com/tutorials/infix_postfix/algorithms/infix-postfix/index.htm[/url] 1.) I'm confused by this line: "compare the precedence of the character with the element on top of the stack" It's asking me to compare the precedence of an operand to … | |
I can't query my database and cannot update, may I know what is the mistake in my coding? [CODE]<html> <head> <title>Index</title> </head> <div style="position: absolute; width: 1146px; height: 842px; z-index: 1; left:10px; top:1px" id="layer2" align="center"> <body background="E-Filing%20Management%20System%20Picture/Snow.gif"> <p align="center"> <img border="0" src="E-Filing%20Management%20System%20Picture/logo-RR-gif.gif" width="957" height="245"></p> <p align="center"><span lang="zh-cn"> </span></p> <p align="center"><span lang="zh-cn"><img … | |
For example i have a stack of chars and i want to pop a word from the stack how do i know whem the word starts and ends inside a stack? I have a program who separates words and i want to eliminate the word from the stack thats repeated … | |
I am trying to add to an empty list in python and I am having trouble. Ill give an example of the code to see if anyone can help me out.... num = 0 mylist = [] while num < 10: num = num + 1 mylist = mylist + … ![]() | |
I more than half way through the book "Python programming for the absolute beginner" 2nd Ed. and things are really starting to get hairy. The book has me to write some code just before or after explaining each part. But I have to really concentrate on the paragraph I'M reading … | |
How do i do that when Button5 is pressed it will add 3600 to the textbox1 and if button4 will add 1800 cuz when i do press the button 5 textbox says 3600 its ok but when i press button4 the 3600 change to 1800 i want it to add … | |
Does the constructor create an instance of a class? or is it a member function of a class that is invoked automatically after the creation of the object is compeleted? same question about the destructor; does it deallocate the object itself or does it have the responsibility of making the … | |
While creating a userid the password is saved in type md5 in mysql The below script to change password does not save password in md5 in mysql and hence user after changing password cannot login The script also gives password chaged sucessfully but also says you have typed wrong password … | |
Hey, I'm creating a kind of database for a College project that stores values in a txt file. The thing is, it's currently set to "values.txt" and everytime the program runs, it over-writes it. Basically what I want it to do is ask create a .txt file depending on the … | |
Hi... I'm a new user here. I've stumbled across this place on a couple occasions in the past, and it worked out to my advantage when I needed a little help with some coding assignments. My Data Structures class is working on stacks right now, and that is our current … | |
I need to split a float in 2, but the split function doesnt work with floats... What is an alternative for this? If I have 2.4 I want to get 2 and 4 In math you've got a function fpart and ipart, but I don't know this is possible in … | |
okay I tried to make a reverse of finding the num value of a letter bu it returns in an error :f [quote]Traceback (most recent call last): File "/home/darragh/Bureaublad/t.py", line 15, in <module> numtolet('A') File "/home/darragh/Bureaublad/t.py", line 6, in numtolet letters['A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z'] TypeError: list indices must be integers, not tuple[/quote] [code=python]def … | |
I want to use a while loop to count up numbers. The output would be something like this: Start: 1 End: 10 Count by: 3 1 4 7 10 Here's my code right now: [CODE] start = int(raw_input("Start at: ")) end = int(raw_input("End at: ")) count = int(raw_input("Count by: ")) … | |
Hello. I wish to create a servlet which checks if the entered username and password are correct.If yes..message hello else go back to page showing error message. I know the settings for tomcat. i know the basic code for servlet.I also know i need http servlet .I will be using … |
The End.