199,114 Archived Topics
Remove Filter ![]() | |
Hi All, I am a Networking Student and have to do my final year dissertation but am confused in choosing a suitable title and also can you please suggest me what tools will be required for that title. I am more interested in any one from following area: Traffic monitoring/ … | |
Hello, I'm a little lost as to how to get the day part of my function to come up properly without a garbage number as it wants to do at the moment. I have everything else working well until it doesn't return the day on line . [CODE] #include<iostream> #include<cmath> … | |
Hi, I'm new to Daniweb, and I was just wondering, let's say I entered: 2 + 2 in a textbox, and using php and a function I want to solve that equation. But whenever I try to return it It returns "2 + 2". Can anyone help me with this? | |
Good Day: I'm working with an image changing javascript that allows you to click on an image to open a URL. The problem I'm having is that when I click on the image, it opens the said URL in a new window. I want it to open in the parent … | |
hi ,,, i have create php page code for show booking online and for free seat is come green color if paid red color and... blah blah is working fine but can you fix it to be better and fast browseing page this PHP file and MySql [ATTACH]17504[/ATTACH] [ATTACH]17505[/ATTACH] waiting … | |
Hello peeps, I am currently doing a project on a system that handles online coursework submission. The project has some items there but i wanted to add more features such as security. Thereby, I am going to have to make a survey in order to get responses. So I want … | |
[CODE]import java.awt.*; import javax.swing.*; import java.text.NumberFormat; import javax.swing.JFormattedTextField; import java.awt.event.*; import java.text.*; public class Database extends JFrame { private JSplitPane splitPaneV; private JSplitPane splitPaneH; private JPanel panel1; private JPanel panel2; private JPanel panel3; private int X1, X2, X3, X4, X5, Y; private JLabel gradeL, equivL; private JFormattedTextField gradeTF, equivTF; private … | |
I'm building a portal system for my company and need someway of grabbing the windows username of the person logged on accessing the portal. Setup... Apache & PHP on Windows. This is VITAL so any help is MUCH appreciated. I've tried echo $_SERVER['REMOTE_ADDR']; - returns IP, not username echo $_SERVER['AUTH_USER']; … | |
Hello everyone! I just had a quick question about XSLT. I have a large xml file with many <DIMENSION_Id> nodes nested inside each other. In each <DIMENSION_Id> node there are two SYN tags: <SYN>String</SYN><SYN>Integer</SYN> What I am trying to do is take the furthest child node of each DIMENSION_Id and … | |
i having a problem with my website i cannot login via my connection string i get a error say: ================================================================== Login failed for user ";. The user is not associated with a trusted SQL Server connection. Description: An unhandled exception occurred during the execution of the current web request. Please … | |
I am working on a homework assignment. The assigntment info is as follows: Write a grading program that helps to determine your letter grade based on your exam score. For example, when you put in exam score of 80, the program will determine you get a B. Please note the … | |
I'm trying to code a sentence editor. So, basically the input comes form a file, and the code sorts the words. The input in the file is I not do know, theoutput is I do not know. This is what's gonna be in the input file, but it can be … | |
hi all, i have a programming assignment where i read a text file through command line arguments. i then use that information to get a list of photos (just strings, not actual images) and a list of keywords that correspond to each of those photos. i am stuck on how … | |
I need functionality to retrieve the new pk, like I could in DAO. I would like my "nLog" function (see code below) to return the new pk. I have found [URL="http://support.microsoft.com/default.aspx?scid=kb;en-us;815629&Product=adonet"]this[/URL], and I was able to make it work fine in my environment, so I'm pretty sure the problem I … | |
Hello, I am somewhat new to JavaScript, 2 weeks ago I started. I have learnt the basics such as [CODE]alert('example') [/CODE]and[CODE] confirm('example')[/CODE]also,[CODE] prompt('example','')[/CODE] But, in the end, playing around with [CODE] <HEAD> <SCRIPT TYPE="TEXT/JAVASCRIPT"> alert('HELLO') </SCRIPT> </HEAD> [/CODE] Gets boring, along with the others, even asking you to type your … | |
How would I go about finding the first/bottom element 'pushed' into the linked list stack? would I need to copy the stack, then pop the elements until I reach the first element? I'm not even sure how I would go about doing this. The only thing I can think of … | |
I go to Rutgers, NB, and I'm taking a class that requires the use of C without teaching us much of C, so sorry if I'm a bit uneducated. My first question is, when using fgets(), how do I get the [B]next[/B] line? I have [CODE]while((fgets(line,MAX,file)) != NULL){[/CODE] to get … | |
![]() | I want to do a check for game servers if they are online or not. I tried using this method but it gives me false-positive: [CODE]if(! $sock = @fsockopen("udp://".$ip, $port, $errno, $errstr, 5)) { //offline } else { //online fclose($sock); } [/CODE] I tried to enter random IP addresses and … |
I'm trying to find a way to search an array to see if the values entered bu the user are already in the array. For example, if numbers[0] = 1, and the user tries to input numbers[1]=1, then I want the program to kick an error back that won't allow … | |
I am trying to create an image search but having a small issue. I think I'm brain dead lol What I'm wanting is a way to display images from my database in more than one column in my table without each column being a repeat of the other columns. I … | |
Hi, I have made a log in script that checks the database for username and password. I have everything working for the users (they must be logged in to access member.php). Now I have admin.php redirecting to a different page, but how do i keep users OUT of that page? … | |
hi.... if i download UBUNTU OS in my system....will it work with my existng windows or ll replace it??? will i get it while em offline???? | |
[B]What is wrong with the "update" row :-O.... it is showing some syntax error !! plz sombody rply soon !!!!!! [/B] [CODE]$sql="SELECT * FROM contact"; $result=mysql_query($sql);?> <table align="center" width="700" border="0"><tr><td><?php echo "<form name='form1' method=post action=''>"; echo "<table border='0' cellspacing='0' cellpadding='2' width='600' align='center'>"; echo"<tr bgcolor='#ffffff'>"; echo"<td> </td>"; echo"<td align='center' bgcolor='#FFFFFF'><strong>emailid</strong></td>"; echo"<td align='center' … | |
[CODE] #include<iostream> #include<fstream> #include<conio.h> #include<stdlib.h> using namespace std; void write(); void rear(); void search(); void write() { int no; char name[80],surname[80]; ofstream file("student.txt",ios::out|ios::app); cout<<"name:"; cin>>name; cout<<"surname :"; cin>>surname; cout<<"number :"; cin>>no; file<<name<<""<<surname<<""<<no<<"\n"; file.close(); } void read() { string line; ifstream file("student.txt",ios::in); if(!file){cout<<"file not found.\n"; getch(); exit(1);} while(!file.eof()) { getline(file,line); cout<<line<<endl; … | |
here in my page "eg3.php" ..."NEW" and "Delete" button are working fine ... but when i click "edit" button ... the "update.php" page opens but with empty textboxes as if i have to insert NEW data ... that is the problem... the text boxes should display data of checked row … | |
I'm having trouble with this windows program its in Visual C++ and it's my first time really using and type of windows console. I'm trying to get the program to where the program starts up there is nothing on the screen but then the user left clicks a 'X' appears … | |
Photo Gallery Code. This code is show all the images from the images folder with filename ending with "_thumb" When i run this code its working but i a getting an error as "[COLOR="Red"]Notice: Undefined variable: count in C:\wamp\www\photogallery\AutoGeneratingGallery\index.php on line 58[/COLOR]" I am using Wamp server 2.0 Please some … | |
I have written two programs that need to use an exe.manifest file, when I attempt to run the either of the applications it says that it cannot start because the application configuration is incorrect. I will post below and hopefully someone knows what to do with it. [CODE] <?xml version="1.0" … | |
I have a struct "Telegram" which contains a time offset, the Sender ID, the Receiver ID, and the Message itself: [CODE]struct Telegram { int Msg; // Message unsigned long Time; // Time offset (i.e., GetTicks() etc.) int Sender; // ID of Sender int Receiver; // ID of Receiver Telegram(int tMsg, … | |
Hi there, i've the strings, who containts this: "asgaasg, gasgasg, saxx" or "asgaasg, saxxss". And I need always to get only the part of the strings for the last comma, so in th first example it is: "saxx" and in the second "saxxss". I tried to get that with using … | |
Hi, I need som assistance placeing an HTML table within a PHP script. I thought I could just echo it, but I am getting a parse error. Here is the PHP code: (the parse error comes on line 339 <?php /* declare some relevant variables */ $DBhost = "localhost"; $DBuser … | |
I'm doing some self-study concerning statistics right now and while doing so I want to get some practice with templated classes. As a result, I'm working on a collection of templated classes designed for statistical analysis. What I would like to know is how I would handle creating typedefs for … | |
Hi, I'm working on a project where I have a text file that needs to be parsed into assembler instructions. For example: 01364820,8D280000,FFFFFFFF will be parsed as: ADD $t1, $t1, $s6 LW $t0, 0($t1) I need help parsing the text file. I thought I would start by first reading the … | |
I want to know how to transfer between two server a data table without using the SPROC for link them. | |
Hi, I am using visual studio 2008. I have a winforms app that takes data from an xml doc. I store the data in a ms sql database that I have created via a stored procedure. When Irun the app the data from the xml doc is captured and put … | |
Hi there, I'm making a script that gets a form's elements, and writes them to an XMLHttpRequest. It works perfectly with inputs, but when it switches to text areas, it returns "undefined" :\ Could you help me find the error? :D [CODE=js]function sendForm(target, form) { var item; var string=""; var … | |
hi I want to write a VBA program, where i want to convert the currency notes into coins. I made a userform with one label, one textbox and one command button. Simply i want to write the codes under command button and want to run the program. After running the … | |
I have this code [CODE] protected void loginbutton_Click(object sender, EventArgs e) { Int32 d = checkuser(uid.Text, pwd.Text); if (d == -1) { prompt.Visible = true; prompt.Text = "Unregistered ID. Please make sure that you have a registered account and you have correctly typed in the user ID"; } else if … | |
hey i want to change the textbox from the dropdownlist.....whatever item is selected from my dropdownlist i want to display in my textbox......i have used the below code but its not working. and i also want to autogenerate the code for employee code for eg. if employee first name Aaron … | |
i want to update the row in gridview but it give me one error Object reference not set to an instance of an object. how to update the current row selected in grid view.......please help! [CODE] public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { … | |
Hi There, I am using a sql query to show a row to users. The Problem is in the database there are single as well as duplicate records. My 1st code is – Works good if user has no duplicate records; [CODE] SELECT contacts.forenames, contacts.surname, addresses.postcode, contacts.contact_number FROM contacts LEFT … | |
I am a learner in java . I want to connect my MYSQL database table to a combo box. I created 3 combo box on my jpanel.When I select first two combo box items its automatically call the data base and show the particular content from my table in the … | |
I have to use a software package written in c with many different files. It has an executable file with a variable - cc=/usr/bin/gcc cc is later used in that file to compile other files present in the software. wenever i try to run this file I get an error … | |
For starters, mine is C#, closely followed by VB.NET | |
hi, I want to know why some programming languages are so powerful,while others go away easily. Although C is an old one,it is used very much today (in c++ or Java). What properties do they have that keeps them alive,and what the languages like pascal or other -that I don't … | |
1st off, just want to say if you're reading this, thank you for taking your time to help me out, I really need it. Ok now on to my question: Using C++ I'm attempting to use a "for"loop to ask user to input two integers, then the loop should add … | |
Hi, I am a secondary school with a keen interest in computer science and i was wondering if anyone could suggest any journals, newspapers, magazines, etc i could read that would enable me to keep up-to-date with developments in the field. It would be amazing if the recommendations were targeted … | |
I would be really nice if someone presents an idea of how to link mySQL with A Java Program.. Tried it many times but unsuccessful. An example would be much useful. Thanks!!!!!!! | |
(sorry i miss-typed dev c++ IDE) hi, i am a CS class right now, and my professor uses VS 2010. I on the other hand am cheap, and i opted to get dev c++ as a Integrated developing environment. I wrote this code for a project due tomorrow and it … | |
hi all. i have a two-dimensional array of System.Drawing.Color that I wish to populate with random colors. I have created a class called Utilities that I want to place a RandomColor() method so that various classes within my program can use it... so this is what the utilities class looks … |
The End.