199,114 Archived Topics
Remove Filter ![]() | |
Hi, I have web page containing 4 ImageButtons for get new id,delete a record,edit the record and save a record.The three of them worked correctly. But when clicking on the save button, a message of microsoft internet exolorer displayed like this: The Web Page you are Viewing is trying to … | |
hi, can someone please tell me what is the no. estimated for compares and data moves required by these three algorithms to sort N strings. And what is the order for calculating the time measurement to sort these strings. thanks. | |
I have recently been doing an assignment which had us making a text editor. What I was trying to do is to get the terminal screen size so that I could use the coordinates. Can somebody tell me how I can save the environmental variables as integer values? I googled … | |
[code] #!/bin/bash # Days and Procs declaration DAYS="3" PROCS="dyyno" # 3 days Old date AGO=$(date --date="$DAYS days ago" +"%b %d") # Getting pids PIDS=$(ps eaxo bsdstart,cmd,pid | egrep "^$AGO"' | egrep "$PROCS" | awk '{ print $4}') # killing the processes echo "Killing $PROCS process created $AGO days ago" kill … | |
Can i call a flash function from php? | |
Hello Again everyone, I have two forms on the same page, i have text input fields and the drop down boxes i created are auto submit boxes i created with javascript. Now the problem is that when form 1 submits itself it resets form 2 and vica verca i am … | |
Hi, I'm currently [URL="http://www.daniweb.com/code/snippet794.html"]using this fantastic script[/URL] by Fungus1487 (thanks!) but am having a bit of trouble getting it to detect Saturdays. For example, when I enter a start date as a Thursday, then enter an end date that's a Friday it'll return 1, fine. If I enter a date … | |
Im trying to make a circular queue. Why does empty keep saying my q is empty? [CODE]using System; namespace CQueue { class Program { static void Main(string[] args) { List queue = new List(); Double number = 9.13; queue.Enqueue(number); queue.Enqueue(number); queue.PrintQueue(); } } } class List { object[] thisIsQ = … | |
I have a header file and a cpp file that i cannot get to compile. The exercise in the book states i need to make a static char of the months. But for some reason i am having trouble initializing the static char[12][25] array for the 12 months. Getting error … | |
I'm using a windows port of gcc, g++, etc. as a compiler. How would I compile a DLL, and define/use its exports? Can I compile header files, classes, etc. into a DLL or only functions? Can DLL functions call functions in a program, or is it only one-way? For example, … | |
Hello everybody.. Here I have a question regarding my “Budget System” project. It’s about to link the annual budget amount (txtBudget) from form 1 to the (txtBudget) in the form 2. It means that the system user have to set the value txtBudget in the form 1, so that it … | |
hi there pals. i am writing some codes for a scaffolding application. consider i want to implement : [IMG]http://ce.sharif.edu/~zamanian/untitled.JPG[/IMG] when user click in Delete Link, DB delete that row and make it disappear from the page with Ajax. i put the whole table on one DIV , and i want … | |
Hey guys, complete noob, been trying to figure out how to wrap my head around cffile for a couple of weeks now. I can get a file to upload to the server, even change the name once saved. But i am having problems entering the data into my database.any help … | |
Hey there, the problem that I am having is that I'm trying to make a simple scripting language that is coded in notepad, then opens the Engine and it displays the code in a console window. I am currently stuck at displaying text on the screen, if I enter a … | |
Can anyone please help here I have a form that i wish the user to select a product from a drop down box and then query it in a mysql then i would like to the user to input a number in the next field the press the submit button, … | |
swap.h : [CODE]#pragma once class Swap { public: Swap(void); public: ~Swap(void); public: void SwapNumbers(int & number1, int & number2); public: void SwapNumbersViaPointer(int * pNumber1, int * pNumber2); };[/CODE] swap.cpp : [CODE]#include "Swap.h" Swap::Swap(void) { } Swap::~Swap(void) { } void Swap::SwapNumbers(int & number1, int & number2) { int tmp = number2; … | |
[CODE] const char *getName() { return name; } [/CODE] Looking at the following code which is a member function of a class, why would one pass the array of a person's name as a pointer and lock it so it cannot be modified when they can just pass a copy … | |
Hi everyone, im not competely new to C++ but we are being asked to create a new program for converting celsius to farenheit which is an easy code set, but we have to create it using seperate units, which i have to admit is massivley confusing me ! [code=cplusplus] #pragma … | |
Hi, I'm a beginner at VB.NET and I want to know how to change the appearance of a form when you click a button. Basically, I have a table that holds information. The user can choose between this table view or a preview. If he chooses preview, the table will … | |
Hey All, I've got a web page that displays multiple boxes of text using php. The text are coming from .txt files instead of using a database to store the data. I can update these text files when I want to change the information. My problem is that I need … | |
i want to change my daniweb user name, how can i do that? | |
Hi all, I'm a newbie with C or C++. I have a raw PCM file 16-bit (like a wav file but no header). I need to build a console application that can read the file, store data in an array, modify it (ex: add 100 to each value of the … | |
please tell me how to find stack and heap address range in C programming | |
Hey all Iam new to programming, so please help me with my problem.... I want to take voice input into a Java program and save it in the form of string....?? Plesae help.. | |
[code] double P = 3.5/(.1 * sqrt(2.0*3.14159)) * exp(-pow(5.0,2) / (2.0*pow(.1,2))); cout << P << endl; if (P==0) cout << "P is zero!" << endl; [/code] Is this underflowing so it is getting rounded to zero? The problem is that I am taking the log of this, so if it … | |
I'm having a pretty weird logic error. It seems that this code is always ending my arrays with 3. It should (being a recursive function) iterate through 0, 1, 2, 3. My test array is of length 4 but I am completely missing the reason. Can anyone else see the … | |
[QUOTE=ardav;788833]This sounds like a clear cut research job that YOU should be conducting for your coursework (or whatever). BTW This is a pHp forum[/QUOTE] [code] Hi I need your help in my project of "online examination”. I am developing this for my lab. backend: sql server 2000 front end: ASP … | |
how to convert .aspx file (which is developed for mobile application) to .jad file ? | |
Now I'm fairly sure this is a simple answer. And I am sure at some point I knew the answer to this question but I just can't remember it. All I need to do is only allow the users to add new records, I am not using a datagrid rather … | |
Hello, I am trying to as the title says within linux environment within my C program this is what I have so far: [code] int file_out = open(filename_var,O_RDWR|O_CREAT); if((child_pid = fork()) >= 0) /* successful fork */ { if(child_pid == 0) { /* Child process */ close(1); dup(file_out); close(file_out); f(execvp(command_var,command_args) … | |
I wrote a pause function: [code] void Pause(void) { printf("Paused...\n\n"); fgetc(stdin); } [/code] It generally works fine (hit enter to continue). But one program doesn't seem to want to stop at all... [code] if(P == 0) { cout << "P=0!" << endl; //just as another attempt to stop it , … | |
hello frendz.. Well, im a beginner in Asp.Net.. im using a win vista home premium & also installed IIS,Visual studio 05. I created a new web site using a Location as HTTP. my prob is whenever i try to run the website, it gives me the error shown in the … | |
I'm trying to make the data display as compact as possible so thought to use response.write (data) & "<br/>" instead of using a gridview or detail view. this sort of works (I can get something out of the DataTable) but the output is from the top of the page, which … | |
Hello Everyone, I have three forms, Form1, Form2 and Form3. Form3 runs first and has a button that when clicked runs Form 1 and a webBrowser window. Form1 has two buttons. When one is clicked it runs Form2 and the other button calls a function in Form3. Form2 has two … | |
From [url]http://www.daniweb.com/forums/thread172120.html#post791196[/url] : [quote=Ezzaral]On a side note, never throw exceptions from main(). Use a try-catch block.[/quote] Why? | |
I’m building a tagger that searches through a corpus of IM data and tags any instances of words that occur on a wordlist. I've run into a problem and was hoping to find help. I'd like to try and understand exactly why it's not working, so I've laid out everything … | |
Hi everyone i cant seem to get my drop down boxes to retain the data the user selected is this code right? [CODE]<select name="bap1" id="bap1" onchange='this.form.submit()' value="" > <option>Select One</option> <option value='Energy Efficient Cooking' <?php if($_POST['bap1'] == 'Energy Efficient Cooking') echo "selected"?>>Energy Efficient Cooking</option>[/CODE] Tahnks in advance anyone!! | |
I have written windows application for managing specific win service. it can start, stop install and uninstall. also i have setup project ( in the same solution of course). the problem is that after i uninstall the application (add/remove programs) the service of course remains in the service list, if … | |
sir, pls help me to write a coding in c for algebraic reconstruction method..... 1 2 3--------->6 4 5 6--------->15 7 8 9--------->24 | | | | | | | | | 12 15 18 Its a three dimensional one in dat first row addng threenos get into 6 and … | |
I have written this Parser for a formal grammar, to me it looks like it should be ok but when i tried to run it a Segmentation Error comes up - i have run valgrind its got leaks but it does come up with an error. Can anyone spot what … | |
can u give me an example of a program like this? write a program that allows the user to play the game called the secret number with the comp. the user will try to guess the secret number, a number known only by the comp. this secret number is an … | |
Hi, I have been trying for several hours without success to write a function that takes a filename, opens the corresponding file, populates a std::vector<double> with values from the file, and returns the std::vector<double>. I can't get past the passing the filename stage unfortunately, despite reading about this here there … | |
Hi, I'm new to the whole programing world, so I'm a bit lost. The problem is: Enhanace the "BankAccount" class by, 1.) Rejecting negative amounts in the deposit and withdrawl methods. and 2.) Rejects withdrawals that would result in a negative balance. (Simply return from the method without modifying the … | |
i want to Call a Div tag in validating a form.....that means i need a div call at the onblur condition....in that time i want to recieve a msg like this username is already exits....like that ![]() | |
Hello, I have a script written in C# (.NET) and within this script I have an IF statement and when this IF statement is TRUE I want to execute the following external script that I placed just under the </head>: <script id='name' type='text/javascript' src='https://xx' integration='jscart-wizard'></script> How can I do that? … | |
Hello! Experts i want to build an app like dictionary (e.g Babylon, Urdu dictionary). Only one text box and button when i wrote a word in text box and click button then display meaning in other label. I confused. Thanks | |
Hi Can Anybody can give me code for hotmail / live id friend importer and send mail to friend... | |
Suggest a nice college project for subject named Object Oriented software engineering ...preferable coding language is C++............. | |
hello guys, am a newbie here.. and i just want to ask for some help.. if any1 knows more on visual basic and how can i interface it with some hardwares (e.g. 7seg, LED, fan, Buzzer) some stuffs like that. Can you help me understand how can i make a … | |
If you’re an enthusiastic developer, sure you have done a lot of personal projects. The problem is that what you will do when you want to start a serious medium size project (which could take month(s)). I don’t think there is a best way to start a project however there … |
The End.