199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for glasnoster

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 …

Member Avatar for glasnoster
0
81
Member Avatar for vidhyaponnusamy

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 …

Member Avatar for vidhyaponnusamy
0
103
Member Avatar for A_Dubbs

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 …

Member Avatar for Gribouillis
0
384
Member Avatar for nola_Coder

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 …

Member Avatar for ejosiah
0
343
Member Avatar for OnIIcE

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 …

Member Avatar for network18
0
98
Member Avatar for mrcniceguy

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 …

Member Avatar for mrcniceguy
0
180
Member Avatar for EngSara

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 …

Member Avatar for masijade
0
118
Member Avatar for ajay_p5

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 …

Member Avatar for baki100
0
262
Member Avatar for 50701735

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.

Member Avatar for dkalita
0
77
Member Avatar for kalual

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.

Member Avatar for kalual
0
97
Member Avatar for gauravdott

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 …

Member Avatar for ganesh sk
0
97
Member Avatar for just_me

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]

Member Avatar for network18
0
100
Member Avatar for mauryoung

#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 …

Member Avatar for mythilisrini
0
191
Member Avatar for Drew

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]

Member Avatar for yonker
0
198
Member Avatar for infern0

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 …

Member Avatar for Phil++
0
89
Member Avatar for arunajasmine

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 …

0
106
Member Avatar for msaqib

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.

Member Avatar for yonker
0
324
Member Avatar for kool.net

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

Member Avatar for avirag
0
224
Member Avatar for sarithak

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 …

Member Avatar for sarithak
0
105
Member Avatar for wood1e

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

Member Avatar for network18
0
114
Member Avatar for comput

*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 …

Member Avatar for dkalita
0
1K
Member Avatar for darkw1sh

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 …

Member Avatar for darkw1sh
0
149
Member Avatar for SebKom

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 …

Member Avatar for BestJewSinceJC
0
108
Member Avatar for guerrund

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 …

Member Avatar for masijade
0
162
Member Avatar for Kshiteesh

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 …

Member Avatar for Sumanbehara
0
120
Member Avatar for mcap61

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 …

Member Avatar for mcap61
0
142
Member Avatar for mIssy_ricco

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.

Member Avatar for miracle007
0
60
Member Avatar for abu taher

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 …

Member Avatar for abu taher
0
67
Member Avatar for sanjanaa
Member Avatar for sanjanaa
0
120
Member Avatar for logan59102

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 …

Member Avatar for Beg.CProgrammer
0
350
Member Avatar for vineeth5march19
Member Avatar for vb5prgrmr
0
89
Member Avatar for hollywoood69

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 …

Member Avatar for hollywoood69
0
110
Member Avatar for Trini89

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 …

Member Avatar for Trini89
0
123
Member Avatar for tones1986

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 …

Member Avatar for Vincenttalent
0
169
Member Avatar for wyett

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: …

Member Avatar for wyett
0
89
Member Avatar for WethiL

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 …

Member Avatar for Dave Sinkula
0
113
Member Avatar for nola_Coder

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 …

Member Avatar for nola_Coder
0
108
Member Avatar for kira4

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">&nbsp;</span></p> <p align="center"><span lang="zh-cn"><img …

Member Avatar for SoN9ne
0
157
Member Avatar for claire89

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 …

Member Avatar for MrNoob
0
95
Member Avatar for jsw24

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 + …

Member Avatar for masterofpuppets
0
15K
Member Avatar for lewashby

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 …

Member Avatar for willygstyle
0
305
Member Avatar for xfrolox

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 …

Member Avatar for TomW
0
122
Member Avatar for gokhanxyz

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 …

Member Avatar for StuXYZ
0
137
Member Avatar for j_limboo

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 …

Member Avatar for sariraj
0
82
Member Avatar for Phil++

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 …

Member Avatar for Ancient Dragon
0
102
Member Avatar for nola_Coder

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 …

Member Avatar for nola_Coder
0
683
Member Avatar for Kruptein

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 …

Member Avatar for jlm699
0
262
Member Avatar for Kruptein

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 …

Member Avatar for bumsfeld
0
205
Member Avatar for saikeraku

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: ")) …

Member Avatar for cornflakes
0
347
Member Avatar for poojasweetgirl

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 …

Member Avatar for poojasweetgirl
0
782

The End.