199,114 Archived Topics
Remove Filter ![]() | |
Hi everyone...I have this [CODE] abstract class Program { static void Main(string[] args) { } public abstract void m1(); } class Program2 : Program { public override void m1() { } } [/CODE] I inherit Program and implement the method m1(), can anyone explain in a simple way why I … | |
Hello Guys, Please who can point me in the right direction with regards to auto generating a ruleset text string from a list of url's. I get a list of URL's in the format: example.com/firstplace/secondplace.jpg " " " " etc I would like to be able to read the url's … | |
Hi all, I was hoping for some help and hints to the problem i'm facing now. Right now i have a a 2D array which stores the elements: 22Jan11 180 11Feb11 111 22Jan11 90 22Jan11 30 25Jan11 110 I'm trying to basically add up the the value of the duplicate … | |
[CODE]// This program is supposed to figure out how much does a custom banner cost by figuring out the price for each letter and outputting it's total to the screen. #include <iostream> #include <string> using namespace std; int main() { double cost, total; string banner; cout << "Enter Your Banner … | |
can anyone show me the content of mtb.dll file(attached)............. to know the proper working of my project i want to know what that really written in this [B]"mtb.dll"[/B] file............. [CODE] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Runtime.InteropServices; namespace PROJ … | |
This is a very simple timer and I cant seem to get it to work I have tried this () runs but does nothing: [code] // The "Timer" class. import java.applet.*; import java.awt.*; import javax.swing.*; import java.awt.event.*; public class Timer extends Applet implements ActionListener { // Place instance variables here … | |
![]() | I am using a Pwm TextDialog (which inherits from ScrolledText which inherits from Text). It is being used as a real time status pop-up window. A good deal of the status messages use a carriage return ('\r') at the end of the message as a way of conserving vertical space, … ![]() |
Hello all, Im trying to figure out how to get the for loop for (int i = 1; i <= (11 - 2 * line); i++) { System.out.print("*"); ... to show the method listed at the bottom. I've been able to get the rest of it, just not this part. … | |
How to recover data from .ibd file if innodb is corrupted I have one test database and many table with the extension of .frm and .idb file. from frm file i got strucure of database but how to restore data from individiual file of .idb file. | |
I have a page that displays information about a person and contains a "contact me" form. I don't want anyone to know the email address of the person, that's the reason for the form. My submit button executes some code behind to send the email message. How can I securely … | |
Hey everyvody... I have this crazy idea for a program... I want to be able to load an image (most likely a .jpg) into a java program and then I want the program to print out the binary code that makes up the image and save it to a .txt … | |
[B]Hello..I am working on project based on Human resource Management system using vb6 as front end!..I want to know how to design a timesheet?..will it be possible using datagrid? :X | |
I'm transcribing information from .jpg files. I have my form set up, but as it is now, I have to have the photos open in another window to read them, and use a <select> form field to list all the file names using this code: [code] $files = array(); $dh … | |
Hello All, I am not sure why my algorithm is not working for this problem. I need to store space separated arguments in an array char* argBuffer[], so I can later make some system calls . The problem is that the last argument is writes over all indexes of the … | |
Can I write a program code without designing the form.I have tried,the login form works but how do I insert a form which adds form number, name, sex,occupation etc | |
Hi, I'm using C++ without MFC nor ATL, to create a popup, opening from a DLL loaded in Internet Explorer as Browser Helper Object (all versions from IE7, from XP to Windows 7). Until now, everything went find and my popup is working as I wish. But now I'd like … | |
Im doing a code "test" from the c++ book I am currently reading, the objective is to ask for input using a function and output data using a function, while keeping the data in main. I finished it and it works, but I want to make the program not accept … | |
I want to use sessions to identify if a user is signed in. If user is signed in they should be directed to their own profile. If the user is not signed in then the user should be taken to the login page. on my header I have options when … | |
Hi, I have a excel file with 1000mail Id's i want to send the greetings to them at a time by splitting their names Example: [email]if.ex@gmail.com[/email] the mail should go as "Hi ex".For this i want to upload event or property to upload the excel file. can u please help … | |
Dear All, I have one main class calling another class but I keep getting this error " SMSClient cannot be resolved to a type". Before this I tried on other pc it was ok. Below is part of the codes. What could have been wrong? [CODE]public class callSMSClient{ public static … | |
Hi, I'm writing a small piece of code finding the number of unique 3D arrays in a N*3 array. I first sort the N*3 array, and apply a "condition" function : if the consecutive 3D arrays do not have the same element, then the unique number count +1. Here is … | |
[CODE] class X { public: X () : myID(id) {} X (const X& right) : myID(++id) {} friend ostream& operator<< (ostream&, const X&); private: static int id; int myID; }; int X::id = 0; ostream& operator<< (ostream& os, const X& x) { return os<<x.myID; } X f (X x1, X& … | |
I have a DataGridView control and I want to know if the user has changed any data in the row when they leave one row and go to another row. Here's what I've done... In the Form Class I defined a Before and After row image as follows: Dim rwBefRow … | |
Hello, does anyone have an example of radio buttons working with a java bean. It would help out allot. Thank you | |
I'm stack in a php code that i want to find the total but i don't know what i did wrong and the total comes alway on "0". My code like a order list. You check on what thing you need and how many do you want. You order it. … | |
![]() | I have had a request from my employer to make a program that sort of locks windows until some tasks have been completed, a bit like what happens when the UAC box appears. Is this possible in C#? |
i am making a website in php all on one page. here is my script [CODE]<a href='?goto=register'>register</a> <?php if ($_GET['goto']=='register'){ ?> <form name='register' method='POST' action='?goto=reg'> <table style='margin-left: auto; margin-right: auto; color: white; font-weight: bold;'> <tr><td style='text-align:center;'>First Name: <input type='text' name='first'></td></tr> <tr><td style='text-align:center;'>Last Name: <input type='text' name='last'></td></tr> <tr><td style='text-align:center;'>Email: <input type='text' … | |
Hi, I am vee and I am trying to create a Natural Language search engine based on LSI. I am stuck up and I would be really glad if I could use some help. I have a two-dimensional array which is full of numbers. I want to transfer the contents … | |
Hi, I have a file index.php with script on a link, which opens new window with myfile.php, using JS window.open method. The page itself is based on PHP. What i need to do is to prevent direct access to that JS popup window file. For example, if i press a … | |
Hello all, I have successfully deploy my jsp project into webserver.It is running fine. But my problem is , my project contains some .java/.class files where i have written classes and methods. If i want to change this .java file and re-upload it to web server, it is not get … | |
Can anybody suggest me a tutorial for Perl. I have to prepare for a interview. And have to practise | |
I need to yourhelp,too. can you write this programm :sum and multy 2 sparsematrix with linklist?(language c++) | |
Hi, I have been reading "Learning Perl the Hard Way" and I was trying to complete one of the exercises which involved the use of regular expressions. I could get all of the anchors working except for "$". I have my code below with errors. I was just curious if … | |
Hi all, I've this following piece of code. It is a simple hands on exercise for my learning. I retrieve data from a table called cat and what i would like to do is , go to the action page only if there is a record for that username and … | |
Hi...I want to create a timer so that after completing the time(suppose 10 sec) the control should come out of the function..Please note that am starting the timer inside the function..is this possible in c++... | |
Hi, If I'm not mistaken, the following code will allocate 5 integer elements from memory to 'ptr': [CODE] int *ptr; ptr = new int[5]; [/CODE] If after this code I enter the following: [CODE] ptr = new int[7]; [/CODE] will the original 5 elements be overwritten or deallocated? Or will … | |
Hi friends, I had a database table as follows ... Id | Film Name | Director | Cast | ---------------------------------------- 12 | Dhoom | Name | 123,128,125,458,12 12 | Dhoom 2 | Name | 129,158,147,455 ------------------------------------------------ I need search by cast column For eg : If I select :- [ICODE]select … | |
Is there a way that if I click on a radio button, it inserts its value to database? [CODE]<form name = "data" method = "post" action = "JSP/insert.jsp"> <p> <font size = "4"> Rate: 1<input name="radio_rate" type="radio" value="1" onclick="return validate()"/> 2<input name="radio_rate" type="radio" value="2" onclick="return validate()"/> 3<input name="radio_rate" type="radio" value="3" … | |
Have the following code but can only get it to work when I enter nothing into the answer box then it says sorry..... but if i enter any# or a letter it doesnt do anything.. wordpad will not accept all the end if's and else statements either. only one it … | |
So heres the guidelines: Write a C program that simulates a 3-bit multiplexor. Your program should first read the 3 control inputs; then read the eight source inputs; then print the output of the multiplexor. When you read the control inputs, let the last input be the least significant bit. … | |
Good day to all.. I am a beginner in java. I have a problem, I don't know how to convert string into an array which reads 60 characters.. supposedly, this is my code.. [CODE]import java.io.*; import java.util.*; public class Strinpunct{ public static void main (String [] args) throws IOException { … | |
I'm new to C and I have a question I think it's not that complicated. I'm trying to write a code that creates strings like : File1,File2,File3, etc. Here is my code: [CODE]#include <stdio.h> #include <string.h> #include <stdlib.h> #include <string.h> int main(void){ char string1[80]="File"; char string2[80]=""; int number = 10; … | |
![]() | So my homework assigment was to create a new method in the class section called, public void deleteStudentsWithName(String)...So what it does is reads a files, converts it into an array, and then it asks the user which name you want to delete. My program is very messy(in my opinion), but … ![]() |
Ok so I have a site that I want to automatically close the window when the focus is lost from the page. For example, if the user clicks off the page to something else on there desktop I want the page to close. So far I have managed to do … ![]() | |
Here is my code: slist.hpp [CODE]#ifndef SLIST_HPP #define SLIST_HPP #include"slist.h" #include"slistiterator.h" #include"slistiterator.hpp" template<typename generic> SList<generic>::SList() { m_size = 0; m_front = NULL; } template<typename generic> SList<generic>::SList(const SList<generic>& s) : m_front(NULL), m_size(0) { *this = s; } template<typename generic> SList<generic>::~SList() { clear(); } template<typename generic> void SList<generic>::push_front(generic x) { SNode<generic>* temp … | |
HEllo Everybody..... feels nice to be part of daniweb..community..joined only today...... i am quite ignorant of XML.....but now i have to develop a c/c++ program which reads a XML file......stored on LAN.....retreives the content of the file...and do necesarry manipulation with the retreived data......actually the xml file contains the name … | |
Hello. How can I protect my application against Memory Editors? Like, Cheat Engine, Debuggers, etc. | |
hi! I would like to know how to use jquery in sliding left to right? Can you give me simple sample there.. thanks in advance. | |
Hi, after days of figuring this out, i still have no idea of whats wrong with the code.. Hopefully you guys could help me out.. when i put this code on my home.php file, i keep getting this error : [B] Parse error: syntax error, unexpected $end in C:\xampp\htdocs\smartforum\home.php on … | |
Hey guys I'm new to these forums and I was curious about what avenue to take. I am currently playing with Joomla and so far it seems not bad as far as CMS goes for developing and maintaining content on one website. However I am looking for something a little … |
The End.