199,114 Archived Topics
Remove Filter ![]() | |
Hi all , I have a program I have written for a question , but it has one problem I dont seem to be able to solve , the last part has to calculate the average hours spent on each module , yet it keeps coming up with answers I … | |
how to to "ondelete cascade" command with the phpmy admin? I know how to link the relation between different tables and primary key and foreign keys in the tables but unsure how to put constraints such as "on update cascade" with phpmyadmin...... is it needs to be done just by … | |
Hi everyone Does anyone know of a script that allows multiple file upload while only having one file input on the screen? I think gmail does this. The user browses for an attachment and then clicks ok, the file is uploaded immediately and then the user can upload another file … | |
Greetings, I'm trying to write a function which gets two pointers as parameters. The first one "points" to the start of the first linked list, the second one is currently on null, but it will later serve as a pointer to the start of another linked list. The function is … | |
Hi All, I seem to be stuck with this problem and despite my attempts at looking all kinds of solutions, I still find myself miserably and frustratingly unavailable to solve my problem. My problem is the following: I want to restrict access to a folder which contains the administrator pages … | |
hai, please give explanation about .net framework...? thanks. | |
i need to develop an instant messaging using Jabber. Can anyone suggest me which jabber client api is the best for developing IM in java. Any samples on jabber client will be helpful. thanks & regards, | |
Hello, I am trying to add a total of some items in a while. My while produces list with names and with times that that person has worked. Like this: [code] John 8:00 John 5:00 John 6:00 <<here the total of john>> Lars 9:00 Lars 4:00 <<here the total of … | |
Ok, a few questions on fstream with C++ and winsock 1. Is it possible to search all the tagged lines that say Item I.D. for a specific value that is a variable such as CharacterItemID is 108 than search all the tagged lines that say Item I.D. for 108 and … | |
Hi all Just curious to know if this(thread heading) is at all possible. Haven't been able to find anything on the net so far. | |
Hi All, I'm trying to pass a variable from a form to a perl script. It produces the error:- "CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers." when run it (call it from the click of a submit button on an html … | |
Hey guys I have a current query that looks something like: [CODE]select a.avalue, b.bvalue, c.cvalue from (select idVal, dummyVal as avalue from....) as a left join (select idVal, dummyVal as bvalue from....) as b on a.idVal = b.idVal left join (select idVal, dummyVal as cvalue from....) as c on b.idVal … | |
Hello everybody, Please help me. very urgent. I am a Junior developer. My problem is, In my site there are number of users. There have entered for space,domain registration ,etc... what is i want is. After one year the Domain Registration was expired. Before one month of expiry date a … | |
hi all my name is rida i'm from lebanon 21 years old i'm in CNAM university and studying informatic i have a project about java language and i didn't know any thing about this language since i have an accedent in the begining of the year and i didnt watch … | |
Hi All, Im desperate to write a hex file in Delphi. Effectively I have a Decimal value, say 580 which I convert to Hex: 02 44 And I need to put this into a Hex file (multiple times) - 25000 times per file Each line in a similar hex file … | |
![]() | Hi =) I am very new to c++ and have started messing around with some lines of code, but I am totaly stuck on this one: [CODE] #include <iostream> #include <string> #include <sstream> using namespace std; int main() { int antnames; cout << "How many names do you want to … |
Hi all, the while loop in my code dont seem to be working as i wanted it to. I wanted it to constantly check if new data is available in the sample.txt but curently after the button click it just finished with one try. is it i put everything into … | |
The program i am working on currently need to read a file and write into multiple files. Basically i am supposed to separate all the classes in tat file so i actually added an comment line to the file, i extract the classes according to the comments. Now i would … | |
I 've linked the two files together, main.cpp and myClasses.h, I've declared a variable, but what I'm asking is can you access a variable from myClasses.h? Here's a example of what I got so far: [CODE] //main.cpp #include "myClasses.h" #include <iostream> using namespace std; int main() { ClassOne myClass_instance; s … | |
I want to create a code in vb.net 2008 that will delete data from its database table(Microsoft Access). The columns (attributes) in the database table are CWNo, Name, IC No, Nationality, Company, Join Date and Expiry Date. Then it will insert data from a Microsoft Excel Sheet that contains the … | |
Hi all, I just need to delete .jpg form the end of a variable stored like this: $name = $_POST["name"]; Thanks :D Max ps echo stristr($name, '.', true); // As of PHP 5.3.0, outputs *content of string BEFORE the first full stop* dosnt work. im guessing its because my php … | |
hi there....I'm a trainee student who is new to the world to the world of programming.I would like to do a lab time table scheduling system.i have about 100 records where i have to generate list of students according to labs available that equals to the number of computers available … | |
hello all i don't know what is the problem with this code when i choose a p for prof ........all the objects be prof objects and when i choose s for student all objects be student objects [CODE]#include <iostream> #include <fstream> #include <string> #include <vector> using namespace std; class person … | |
I've this servlet that reads the data from db and then passes on a sublist of the data retrieved from db to the jsp page... [ICODE] package tryjsp; import java.io.*; import javax.servlet.*; import javax.servlet.http.*; import java.util.*; public class GetReleaseDataServlet extends HttpServlet { String releaseno = ""; String location = ""; … | |
hi friends, I am working with file IO in C++, but there are some serious issues i am facing: 1) Initially I create some files(4 files), if they dont exists. 2) Then I read one file entirely i.e each record within the file, there are 30000 such records - 1 … | |
How to i get it rite ?? i tried the code below by it fail, anyone can correct me and tell when i when wrong ?? var Fname=document.getElementById('Fname').value; if(!/^[A-z]*$/+$/.test(Fname)){ msg+='- Only Letter & Space '+email+'\n\n';} | |
Im able to copy the entire content of say file A to file B but the last line of file B end with several unwanted tttttt. I suspected the number of "t" is related to the number of line if read and written. Any advise will be greatly appreciated. file … | |
Not being a SQL programmer please forgive the following but I need to know. I have a MSSQL database with a table containing a row defined as Column Name Data Type Length Turnover decimal 5 also in Enterprise Manager I see Precision is set to 7 and Scale is set … | |
I have some number: [code] int i = 43; [/code] I need to divide this number in to two digits. For example - 43, to get a 4 and 3. Help me pls) | |
I just recently started programming about 3 weeks ago and I have to say, I really enjoy it. My question for this would be, what programs would you recommend for a novice programmer to begin writing? Which type of programs did you write? Any advice would be great. I do … | |
dear all, i have few question on combo box provided in vb.net. 1) can we show multicolumns in combox dropdown list ? 2) is there any provision to add picture in combo box list item ? 3) can we disable/enable individual item in drop down list ? thanks Warun | |
Hi, is there a data type larger than unsigned long long int except double? I don't want double or float because I need to keep it as precise as possible. I also need it to be able to do modulus. How would I do this? | |
I am trying to create this code for my website but i am having trouble per when you click the button for corrosponding with correct image it does not on call take that image and show it as my main one i can not get my img swap to work … | |
Hi, I am making a simple screen shot program. I need to be able to capture the entire screen, or if possible, a region of the screen (like a rectangle from point (25, 60) to (300, 456)). I also need to be able to save it to a bitmap file. … | |
Hi, i am trying to create a stored procedure with TQuery, but the code is resulting in the Token Unknown error pointing to the ':' used in the sql.add statement. This same procedure as it is is working fine when directly executed with the SQL Explorer of the INTERBASE(i am … | |
[B][COLOR="Green"]I'm developing a WAP site using wml and PHP. i want to display some images from database (mysql). The problem is , how can i display more than one image in a single wml page ? Is it possible to implement "Image Scrolling " using PHP ? please help me … | |
I`ve just begun to learn delphi and sql server. I want to make small application using delphi and sql server, but i can`t make the report like this: Note Plus Minus Balance ------------------------------------------------------------------------- sell 5.000 0 5.000 buy 0 1.000 4.000 sell 3.000 0 7.000 sell 2.500 0 9.500 I … | |
My previous step hs been resolved. Now it's on to the next component. As previously stated, I am using a do-while loop with a switch-case. I've figured out how to state the functions that I'm calling to, and it now allows me past the main menu. Once I'm in however, … | |
hi, i have a table called exam, it has following columns ----------------------------------------------------------------- | ID | QUESTION | OPTION_1 | OPTION_2 | OPTION_3 | ----------------------------------------------------------------- now I've normalized it and put the exam options in another table called 'exam_option' table which keeps these options in rows instead of columns. Since i … | |
Hi all. A while back I'd posted regarding a do-while routine, using switch. It appears that my main is working, and my switch.... it just keeps looping around my main menu. I'm not entirely clear on why either. Here is the code. (One responder to a previous post told me … | |
I wonder if it is possible to call the function void OneFunction() inside the buttoncontrol. [code] namespace Test1 [COLOR="Green"]{[/COLOR] public ref class Form1 : public System::Windows::Forms::Form [COLOR="green"]{[/COLOR] private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) { // Is it possible to Execute/Call OneFunction() here ? } [COLOR="green"] }; }[/COLOR] void OneFunction() { … | |
Hello! I am doing my BSc Hons final year project in the above topic (Detecting Masquerading using Intrusion Detection System). Can you please give me any suggestions or materials to help me? I will like to make the system Host based to start with, this is because I have only … | |
I am trying to write an Interpreter but are not really sure about the methods that are used for this. What I think I have understood is for the example below, I will have to parse out 3 things from the string. "Number1", "==" and "2" and associate these to … | |
Hi, do any of you know any good resources for (2d) game development in java? I want to build a game but need a good tutorial/resource for such a thing. Can you help? | |
Ok I'm doing some exam prep. I'm checking out an old exam paper and come accross this question Which of the following is not a tool for designing modular systems a) Structure charts b) Data dictionaries c) Class diagrams d) Collaboration diagrams I know that modular systems include collaboration diagrams … | |
Hi, I want to do B.A through Online Please give me some information about the university who provide online education in Bachelor Degree. | |
[COLOR=#555555]I am using common lisp for customizing CoCreate Cad software.[/COLOR] [COLOR=#555555]I am confused regarding the load function.[/COLOR] [COLOR=#555555] [/COLOR] [COLOR=#555555]The following command will load the indicated file:[/COLOR] [COLOR=#555555](load "c:\\temp\\testload")[/COLOR] [COLOR=#555555] [/COLOR] [COLOR=#555555]The following will load the 2nd item but the 1st item exists:[/COLOR] [COLOR=#555555](load "c:\\temp\testload" [/COLOR] [COLOR=#555555]if-does-not-exist[/COLOR] [COLOR=#555555](load "c:\\temp\\testload2")[/COLOR] [COLOR=#555555])[/COLOR] … | |
Hi friends, My requirement is to maintain a collection of products based upon categories and i have to retrieve that.For ex:i can retrieve different book names which are under the category Book..Say i can retrieve all mobile company names which are under the category Mobile.I was told to use collections … | |
Hi, I've created 'Windows Control Library' project in VS2005, created one control in this project which inherits from UserControl class like this: [CODE=CSHARP] class MyControl : UserControl { MyControl(){_myproperty = 0;} int _myproperty; int MyProperty { get { return _myproperty;} set { _myproperty = value} } } [/CODE] So, now, … | |
Hi All I'm looking to start a community website that we can begin small but build more stuff onto it at a later point. So I'm looking for some kind of Blog/forum/cms system so if it could fulfill most of the following criteria that would be great: - News/Blog posting … |
The End.