199,114 Archived Topics
Remove Filter ![]() | |
Hi, Is there some way how to repalce "Enter" character on the end of line (for example in the textBox) with HTML tag </br>, so I can use it then in Literal? Steve | |
I'm working with existing code, where I've found that I have to modify some #include preprocessor directives. For example, to change [code]#include "myhdr.h" [/code] to [code] #include "..\hfiles\myhdr.h"[/code] I include the original line in a comment just above the changed line: [code] /* #include "myhdr.h" original */ #include "..\hfiles\myhdr.h" [/code] … | |
hi guys, I want to create my own PHP, MySQL forum for my website. Please can anybody give me or direct me to a website where I could get the source code. Thanking you in advance | |
I wrote the code for the following 2 combo boxes which display a drop-down list of dorm buildings and meal plans for a college student. The code works, and both boxes are displayed. I have completed what I have to do, but want to find a way to get the … | |
How do I use a submit function to ensure that a name field only has letters, zip code field only has numbers, etc. w/ Javascript when submitting a form? | |
Hi folks, Working on a small project with PHP spell checking features (pspell) and wind up with strings containing both plain text (properly spelled words) and drop down lists (misspelled word suggestions) such as: The large brown [dog] ate my [homework]. Where words in brackets are drop down lists containing … | |
I'm very new at C++ and would like to know how I would change a directory via user input? This will be a Win32 Project and [U]not [/U]a Win32 application. I know I can use (as standard - and without user input) the [U][B]chdir("\\dir");[/B][/U] - but how do I use … | |
Hi all there. I was given the task to write a simple Complex Number class as an exercise for a class I'm taking. I already met my professor and all went well (:)) but I'm left with a question which I forgot to ask her: how should I handle any … | |
[icode] struct entry { int key; } entry[TABLE_SIZE]; [/icode] i declared a struc like this... but i no that u cant declare it in this way, if i write it in the correct way i am getting errors. Y is this, can some one modify this code please .. i … | |
i am in a first semester programming class and this probably might seem like a dumb questino to everyone here but i have been working on this for along time and cant seem to come up with anything. i am stuck on 2 programs. the first is to ask for … | |
Hi, i have bieng trying to write a method which takes a listbox index (1D array) and find the corresponding 2D index. I did this code with some help which get the 1D index of a 2D array. Now i need to do the reverse from listbox index (1D) and … | |
My code is the following: [code] # include <stdio.h> # include <sys/types.h> # include <sys/ipc.h> # include <sys/sem.h> # include <unistd.h> # include <stdlib.h> # include <time.h> # define NS 3 union semun { int val; struct semid_ds *buf; ushort *array; }; int main(void) { int sem_id, sem_value, i; key_t … | |
[icode] struct value { char c[29]; }; char toLower(char na) { char c; char str[29]; int i=0; while (na[i]) { c=word[i]; str= (char)(tolower(c)); i++; } return (str); } [B][U][COLOR="Red"]in the main program[/COLOR][/U][/B] cout<<"Enter The your name: "<<endl; cin>>v.c; toLower(v.c); [/icode] This is what i wrote to convert the insert text … | |
Why does I encounter a compileerror when doing this. Compile error says. 'Form3' : undeclared identifier 'Form4' : undeclared identifier Inside of Form4.h: [code] #include "Form3.h" Form3 ^form3 = gcnew Form3; form3->ShowDialog(); [/code] Inside of Form3.h: [code] #include "Form4.h" Form4 ^form4 = gcnew Form4; form4->ShowDialog(); [/code] | |
I have generated some SQL code SELECT Invoice.InvoiceID, Invoice.CustomerID, Invoice.RouteNumber, Invoice.TreatmentType, Invoice.Information, Invoice.StreetAddress, Invoice.Postcode, Invoice.Invoicecost, Invoice.InvoiceDate FROM (Invoice INNER JOIN Customer ON Invoice.CustomerID = Customer.CustomerID) WHERE (Customer.CustomerID = '?') When i test it in the query generator everything works. However when i add the following code to my vb form … | |
I have got xampp-linux-1.6.7 and xampp-linux-devel-1.6.8a installed on Ubuntu 8.10. I am trying to install mod_wsgi-2.3 and was able to sucesfully run ./configure on it. But when I run make, it gave me a bunch of errors. I am pasting a snipped of it here. [code]mod_wsgi.c:3886: error: expected ‘;’ before … | |
Hi, I've been experiencing problems when attempting to add resources to a DLL using UpdateResource. I'm adding many images to the DLL, and as soon as the overall image size reaches ~16MB, the DLL loses other resources that previously existed. Any ideas? Thanks, Gil Moses. | |
How can I override a method in a base class without using the @Override sign? For example the class Human below overrides some methods in the class Mammal. Do print the output correctly without @ signs in objects. Convert them correctly before outputting. [code]import java.util.*; public abstract class Human extends … | |
I have several questions: Here is the context: The ASP.NET application I'm building - a web service in essence - will be connecting to MSSQL to log requests to a table. These are basic INSERT commands. During high-volume hours, do I risk race conditions? How does MSSQL handle sequential INSERT … | |
Hi everyone, I have four forms. Form1 is the main form and needs to be kept open and visible at all times but cannot be clicked while the other forms are open. For example, the main form is open and after a certain amount of time the second form opens … | |
Hello ALL The project we're working on is a document retrieval system I have 3 tables as follows. Table 1 contains words from a example doc. Table 2 contains words from documents in a database. Table3 contain only one column ‘DocID’. I would like to search the database to find … | |
First off let me say if this is in the wrong forum i sincerely apologize. Since most people move from VB6 to Delphi, I figured this would be the proper place to put this question. The code I did in delphi works without any problems whatsoever. Because I want to … | |
..bescause it is not a design time package" is shown first time I try to load a project that contains a TTable. I have to let system remove my declaration of TTable. Then I can create a new TTable, with the same name and my application works. Next time I … | |
001 00002 0000003 00004 000005 6 000007 008009 ------------------------------------------------------------------------------------------------------ GBL UTG.L 0692861 DCGB 000000 0 205750 826UTG GBL UU.L 0646233 DCGB 000000 0 722501 -371UU. I have the above data line by line each and coloumn has fixed width then in those i want to assign 9 coloumns to variables … | |
once again teaching myself to write using C, damn I miss C++ the question is to write a program that can calculate the first, second, and third quartiles for a set of data. I need to declare 2 arrays, each having 3 columns. The quartiles will be calculated for only … | |
Hi to xperts here, I do not know how to update with the follwing requirement [code]$score_update_query = "UPDATE participation_score SET score_last_update = '$date' , score = (IFNULL((SELECT avg(score)*0.8 FROM entity_score WHERE entity_score.contributor_id = contributor.contributor_id) , 4) + IFNULL((select participation_score*2 from participation_score where participation_score.contributor_id = contributor.contributor_id), 1) ) WHERE participation_score.user_id is … | |
I created a combo box for the selection of a dorm.... I need to create another combo box for the selection of a meal plan... Should I write that in another class, or can I add it to this class? I need to display the total of the costs of … | |
I have a reference to some string. I need to copy (clone) that string. This is what I tried [CODE=PHP] $newString = $refToString; //this just copies the ref - no new memory allocated $newString = clone $refToString; //this creates "__clone method called on non-object" error [/CODE] If anyone knows how … | |
I thought it was a simple task at first. Don't ask me why, but I wanted to display a number in it's binary form. Manipulating bits in C# seems a bit(no pun...) harsh. The best I could come up with was : [CODE=csharp]static void Displaybinary( uint i) { const byte … | |
Hi, Button below opens new popup window but doesn't send POST data from form. How can i send POST data? I know "form action" but, i want this way. Thanks [code] <input type="submit" name="buttonUnit" value="Add" onClick="window.open('add.php','Done','width=400, height=130')"> [/code] | |
I am fairly new to Python and trying towork on this problem. I want to split the file which contains two seuqence of letters by the blank line that separates them then 'compare' them: What you need to do: Text file genesequences.txt contains two gene sequences, separated from each other … | |
can't solve a homework problem for computer class. Any clues?: Given two tables, USERS and LOG, where USERID is a primary key in USERS and a foreign key in LOG, write a SQL statement that will return LOG records (all fields) with corresponding USERIDs in USERS. The report should include … | |
I`m uploading images to the database for my website,it works fine)) I want them to be resized to width=160 and height=140. now i dont know if i should resize them before uploading them to mysql database Or while Displaying them. Also i dont have Knowledge concerning resize of image. Please … ![]() | |
Hi Everbody, Have you idea about chat- I am facing some type of problem related to chat. How to open a div or popup when anybody send message, like gmail chat system. Thanks, in advance tarique | |
Hello, I am trying to write a program that allows the user to enter a letter and using seven different methods to print out the letters. This display should look like this CCCCCCCCCC CCCCCCCCCC CCCCCCCCCC CCC CCC CCC CCCCCCCCCC CCCCCCCCCC CCCCCCCCCC The method printBlock should accept a character and two … | |
Hi, I had posted this question before and I did appreciate the response I got. However I still need some little help as: [B]1.In the addMovieGoers method check that every member of the collection is a human and that they are old enough to watch the movie, if not throw … | |
I`m creating a social network website,My problem is that i dont know How to get started in this FRIENDS SECTOR. I want somebody to be able to send a Friend Request to Another in my website,and after the other one Accepted the request Both to be able to see each … | |
i've wrote a program with a header file and a cpp file. when i try to compile i am getting errors that i can't fix, (i'm just a beginner). Code Below: [B][U]the .H file[/U][/B] [code=cplusplus] //Flexie Muirhead #: 26075046 //Assignment #2 #include <iostream>//allows program to output data to the screen … | |
Hi everyone please i need some help with linking my website to my database. Can anyone help me? Thanks | |
hi.. i would like to save every word in the sentence separating by space " "... any idea on it?? thxx | |
Hello, I am reading this turorial [url]http://diveintopython.org/soap_web_services/introspection.html[/url] and i am trying to echo out all my wsdl method. I am trying to do this on my external web hosting server. I have got the modules installed but i am getting an internal server error [url]http://adamplowman.com/cgi-bin/test_xml.py[/url] here is the code [CODE] … | |
Hi, Could anyone pls give me some suggestions how to do the [COLOR="Red"]encryption [/COLOR]and [COLOR="Red"]decryption[/COLOR] for text? Best reagards, zawpai | |
Hi , I lke to write the angram game. But I dont know how to sort the words in random Ex:the words gonna be lke this ..J H R E I O M C I want to let the user to type the meaningful words to choose among from that … | |
Hi ppl! Im using a java servlet to access a mysql 5.x database, BUT when I run the servelt from my web browser I get this error : "No suitable driver found for jdbc:mysql://localhost:3306/spacemandb?User=root&Password=admin " I have intsalled all the necessary drivers viz mysql driver and it is working. here … | |
Hi, I am doing a doorbell using P16F84A chip. I have programmed in asm in MPLAB 8.10,but the code is not working at all. no any errors show up, but just not working. please help me out. #include P16F84A.inc __CONFIG _CP_OFF & _WDT_OFF & _PWRTE_ON & _RC_OSC errorlevel -302 org … | |
Considering the given code as an algorithm calculate the time complexity of this code. #include<iostream> #include<stdlib.h> using namespace std; int main(){ int i, j, n; for(i=0;i<n; i++){ for(j=0; j<n; j++){ cout<<"my time complexity is = "<<i*j<<endl; } cout<<"complexity is increasing"<<j<<endl; } system("pause"); return 0; } | |
Hi All i need Final Project ideas for bs Cs Please help Bye | |
Hi, I working on COM Components in VC++.NET 2005, [CODE]HRESULT hr = spCrypt.CoCreateInstance(__uuidof(Cryptographer::TMMPlayerHelper), 0); if( FAILED(hr) ) spCrypt = 0;[/CODE] I am facing an error here. I debug the code and found that "CoCreateInstance()" is returning a message "Class is not registered" an my program gets crash. How can I … |
The End.