199,114 Archived Topics
Remove Filter ![]() | |
Hi guys just need a little help here. Well I'm done with the code but I can't seem to understand what's wrong with it. I mean when you are done entering your pair of username and password on both forms it's supposed to save the username and password entered on … | |
Hi anybody know how to convert a doc file to pdf using c# code i need to create my owne application i donot want to use any one at internet Best Regards, IT_Techno | |
Hi. Here is a simple beginners program. It uses "if_else" and returns no information. After execution, it deletes files within the same directory as the exe. Enjoy. | |
Hello everyone, I've been out of college for a little over a year now with my degree in web development (or so it says at least on my degree) My school wasn't the best at training me and i've spent the better half of this year trying to teach myself … | |
im following along in this nifty little book and one of the coding examples just sparked my interest. data = open('some_file.txt') for each_line in data: print(each_line) How does python know what i want it to do without really telling it? i figured i would have to tell it how i … | |
I saw many website user page is like www.xyz.com/hhh From these complete information can be retrive of "hhh" user. I want to know that how www.xyz.com?username=hhh can be convert to www.xyz/hhh Any help | |
Hello everyone! I am having a bit of an odd problem here. So, on my Visual Studio project, I decided to use a precompiled header. This didn't seem to cause a noticable problem up until today. I have a small segment of code that is supposed to remove one element … | |
Hello, I am trying to place data from a text file into an array and then sort it by date and finally display it in a text box. The part I am stuck on is sorting the data by date. As I do not want to confuse anyone trying to … | |
Hello all. I am 16 years old and I am a junior in highschool. I Love computers I am A+ certified I can network I know alot about Linux and windows and yes I can program in VB6, Pascal, and I am learning vb.net and C. What I am wanting … | |
Hello to everyone, Im new to vb.net and right now I am developing a program that its like a agenda where the user sets the date and the time do be remembered of the task the he has to do. Im storing the tasks in a txt file. The part … | |
Im going to create database.there are few table in that db. I need to know what is the best ; add more column to table or use separate table rather than add more column | |
#include <stdio.h> #include <stdlib.h> #include<string.h> void main() { char name[30],mname[40]; printf("enter the num:"); gets(name); strcat(name,123); printf("%s",name); } is it possible to concatenate num and character its not working how to concatenate numbers and character | |
Hi there, I wanted to get the percentage of total vote per candidate but it always result to 0.00. Can anybody tell me what's wrong with my code? public static void main(String[] args) { //Array Declaration String[] candidate = {"Estrada J.", "Drilon F.", "Enrile J.", "Lacson"}; int[] voteEs = {5, … | |
Hey guys I was trying to run a Applet from netbeans 6.9.1 My code has no error when i compile, but when i run the file I received an error which says "start applet not initialized". what does that mean? thanks There are 4 classes in my code, which is … | |
I'm new to triggers, but have been working with MySQL for quite a while. Now I need to implement a trigger. I want to create a trigger on my 'persons' table so that after an update, ***if the attribute clubid is changed***, attribute clubname should be changed. I have a … | |
Hi, Code below doesn't work for a file contains HTML content? How do we solve this issue? Result must be *<span* but it dispays blank screen. Thanks in advance **Content of index.txt** <span class="mw-headline" id="Zero"><a href="/wiki/Zero" title="Zero">Zero</a></span></h2> **PHP to read the file** <?php $handler = fopen('index.txt','r'); while ($line = fgets($handler)) … | |
![]() | hi, int fun(int(*)()) { ....... ....... ...... } int main() { ....... ...... ....... fun(main); ........ ........ } my question is that how can we use "main" (only name without parenthesis) as the pointer to a function ? because main() is a function. I am not getting it how is … |
I have problem with database system that where it would make sense not to use a database system?? Practically I didn’t meet such that situation and need to know about your ideas. (It not need to practical at always) Thanks | |
Hi guys. So, I'm trying to read data from a database and displaying in a GtkTreeview. I used glade to design the GUI when i click on the button (view movies) the list of movies should display as a list. def on_btnmovies_clicked(self,widget,data=None): store=self.builder.get_object('listmovies') connect=sqlite.connect('movies.db') db=connect.cursor() db.execute("SELECT * FROM movie") for … | |
Hi Guys, Here is my requirements: I need to pullout records based on datetime fields ranges from 12 am in the morning of 2012/6/4 and 12 am in the morning of 2012/06/05. kindly please check my declare parameter for date if it is correct. Thank you in advance. Data: Declare … | |
I need to start my VB.NET app through a batch file and pass an argument to it. The app uses the argument (a dated directory;Ex: 20120530) to process the data files there, output a CSV and a Log file and then close the app. The app does not need any … | |
Hi, I am having the C application which I want to access a remote Java Web Service; I have looked for open source SOAP libraries for C and found [CSOAP](http://csoap.sourceforge.net/). However, I am having the following questions/problems with it: 1) Is it possible to access Java Web Services using CSOAP? … | |
I have about 16 tables in a database schema that are empty and wish to populate them with junk row values of the same type which I have defined,is there a way to do it? | |
Hi there, I have a form with some fields. Address is one of them. I used textarea tag for address. Now the problem is, when i search something according to one address, it only works for the one line addresses. I mean if i entered a newline (Paragraph format) in … | |
Hi, FYI. I have very very little knowledge of PHP & MYSQL. i am trying to create a simple webform with insert statement what i am trying to do is that, when i enter a new data into this form this will show the message "1 record is added" and … | |
I understand overloading but what does someone mean by "Overload the increaseRed method with an increaseRed method that accepts a number that specifies an increase factor"? The increasedRed() is as follows: public void increaseRed() { Pixel[] pixelArray = this.getPixels(); Pixel pixel = null; int value = 0; int index = … | |
I have to make an applet that gives you 2 single digit integers and you have to multiply and then it will tell you if you are correct. I got it to work but how do I make it continue the same set of numbers until you provide the correct … | |
how to do the total of value in the array ben[20] have to use function or other ??????? #include<stdio.h> #include<stdlib.h> void main() { int ben[20]; printf("pls enter 20 no\n"); for (int i=0; i<20; i++) { scanf("%d",&ben[i]); } system("pause"); } | |
how can i put a c# windows form application on server? | |
Hello, Would you please help me? my code is not executing loop to allow user to play again after user cin>> yes. also the code suppose to allow user 10 tries to guess the number then stop, I am using this code if ((i = 10) && (userGuess != RANDOM_NUMBER)){ … | |
Hey everyone, Recently, my friend and I have decided to begin to learn how to code as it could potentially be beneficial for future uses. I've been looking around and researching which coding language to learn first as the foundation in order to learn other coding languages more proficiently. In … | |
i want to create multilanguage web application......having labels and text boxes and having the button for different language...i any button is press the whole application can be converted in to language respect to that button..............How can in implement the Google dictionary to implement this thing...................plzzzzzzzzzzzz give me suggestion for that.................................. | |
I am working in school projet. I have made a database and also search from database, everything is fine... But I want to know how in search I can retrive exact parameter. eg: suppose in TaxtBox1.Text = "VI" then the search result must come "VI" only not "VII"/"VIII" Kindly help | |
![]() | Hi, I'm trying to learn how to create an upload file form. I'm stuck on a couple of things. This is something I learn in the past but I forgot how to create one, so it's new to me now. I got the script from http://www.w3schools.com/php/php_file_upload.asp 1) I want to … ![]() |
Hello, I read an article on "how to prevent users from submitting a form twice." at the url http://www.4guysfromrolla.com/webtech/100406-1.shtml I was able to freeze the web page but was not able to unfreeze the web page. I am using PHP with javascript. Nothing happens when my code executes the "unfreeze" … | |
This programs seems to run perfectly fine. but there is a bug in the get_number function I tried to find for hours but I couldnt. See if you guys can help me. Any help is greatly appreciated. Thanks **fconvert.h** // This is the header file for the functions used in … | |
![]() | #include <iostream> #include <cmath> #include <string> #include <cstdlib> #include <cstring> using namespace std; int main() { char chouseing_alphabet[27]={'a', 'b', 'c', '\0'}; string abc[27]; cout << "This program encrypts messages using Ceaser Cipher\n"; cout << "NOTE:capital letters are not allowed in this program\n"; cout << "\n---------------------------------------------------------"; cout << "\n---------------------------------------------------------"; cout << … |
From this [article](http://www.daniweb.com/web-development/asp/threads/42314/exporting-asp-pages-to-excel) i found this code snippet that imports html data to excel: <% Response.ContentType = "application/vnd.ms-excel" Response.AddHeader "Content-Disposition", "filename=excelfile.xls" %> <table> <tr> <td>Category Name</td> <td>Category Description</td> </tr> <tr> <td>Software</td> <td>Holds data for software</td> </tr> <tr> <td>Hardware</td> <td>Hardware related data</td> </tr> </table> However, what i want to do is … | |
Hey, I've been trying to generate a pdf file using html2pdf library (http://html2pdf.fr/en/example). What I need to do is to print a table with PHP in that pdf file, so I stored the table in a variable called $contain with all html tags. My code goes this way: 1) It … | |
Here's the problem, I was wondering if i am right to assume that when a three-digit input is entered, i.e. 123, then the string 1 will be stored to al, 2 to ah, but i'm not sure where the 3 goes, or if ever it's plain wrong to look at … | |
I have to wirte a code for monte carlo pi approximation for a menu driven calculator. here is my code but when i run it it shows me 1 instead of the pi value. can someone tel me what is wrong. double approximatepi(void) { double x,y,z,pi,randomnumber; double r,p,in; int tries; … | |
Hi, I want to have my Short Register Form's content go to the main registration page. So like I type some information into a short register form like username and email but when I click the submit button I get transfered to another page which already has the information entered … | |
I want some **Logical** algorithm to get all possible combination of given string except the palinadromes. Like Input is: ABC OutPut: A,B,C,AB,AC,BC,ABC,ACB,BCA,BAC It can't contain CBA,CAB as it already has ABC,BAC i.e reverse of those. I want to get it done by boolean logic and but it is no where … | |
![]() | Write a program that calculates and outputs the monthly paycheck information for an employee, including all the amounts deducted from an employee’s gross pay, and the net pay that is due to the employee. The user of your program will know the employee’s name and the gross pay for the … ![]() |
Hello, I am a total noob to web development and am running into some problems. I am trying to search for a specific string, or records that contain a union of strings in a SQL Sever CE database using WebMatrix, and display the results. Ideally, I would like to have … | |
Hello Friends. It has been a long time since i posted my codes in the DaniWeb Forum. I have a problem which is really preventing me from moving ahead in the Project. My project requires me to develop a small quiz application with a registration functionality. The registration functionality requires … | |
Write a Java program that can take a positive integer greater than 2 as input and write out the numbers of times one must repeatedly divide this number by 2 before getting a value less than 2. | |
Hey all, Am working with anothers script on a Wordpress plugin. There is a menu added to one page in the admin area of the plugin using this: <div class="menu-cat"> <h2>select category</h2> <div class='submenu' > <a href="<?= $curaddress ?>" >home</a> </div> <? foreach($cat as $n=>$c): echo " <h3>{$c['info']->name}</h3> "; foreach … | |
#!\strawberry\perl\bin print"Enter the number of column\n"; $r=<stdin>; print"\nEnter the numer of row\n"; $c=<stdin>; print"\neNTER THE sEQUENCE FOR THE ROW\n"; $i=0; for($j=1;$j<=$c;$j++) { $a[$i][$j]=<stdin>; } print"\neNTER THE sEQUENCE FOR THE ROW\n"; $j=0; for($i=1;$i<=$r;$i++) { $a[$i][$j]=<stdin>; } $i=0; { for($j=0;$j<=$c;$j++) { chomp $a[$i][$j]; print"\t$a[$i][$j]"; } print"\n"; } for($i=1;$i<=$r;$i++) { $j=0; { chomp … | |
Lets say I have a class A and I also have classes B and C that inherit from class A class A { virtual void foo()=0; //stuff } class B : class A { void foo(); //more specific stuff } class C : class A { void foo(); //more specific … |
The End.