199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ayesha789

Hi, I am using XAMPP for developing my Inventory management system. I have stored the XAMPP in Drive C in Windows. But there is a risk if windows corrupt I will lose all my data , So I want to save the XAMPP in Drive D and acces all the …

Member Avatar for mukul127
0
21K
Member Avatar for Jay_7

hi i created login page using php and mssql but i got an error **"Fatal error: Call to undefined function mssql_query() "** **heres my log in code** <form name="log" action="log_action.php" method="post"> Username: <input class="form" type="text" name="name"><br /> Password: <input class="form" type="password" name="ssn"><br /> <input name="submit" type="submit" value="Submit"> </form> **log_in form** …

Member Avatar for veedeoo
0
435
Member Avatar for dlmagers

Hello, I am definitely a beginner. I need some help with this application. I need to be able to have an alert box pop up and as the user 'Enter degrees in Fahrenheit\n Or enter 999 to end entries'. I am not sure what I am doing wrong. Thank you …

Member Avatar for Alberto Bucur
0
1K
Member Avatar for LVZombie

I am now on part 3 of a payroll program for my Java class but I did not add the while loop in last week so I need to figureout what I did wrong so I can do part 3. The program should loop until the user enters "stop" It …

Member Avatar for jwenting
0
256
Member Avatar for Raadha

i have a result of say.. 6 records.. fectched from db. each containing values a 10 b 20 c 10 a 30 c 50 a 05 i need to get printed as a 45 b 20 c 60 how to get the distinct results with the sum in the next …

Member Avatar for Raadha
0
144
Member Avatar for davy_yg

Hallo, I wonder how do you create a scrollable website like: [scrollable website](http://www.nexgardfordogs.com/Pages/offers.aspx) I mean I would like to design a tall portrait website then whenever people click the navigation bar it will take them to certain section of the portrain website just like in the link example. How to …

Member Avatar for <M/>
0
232
Member Avatar for airhalynn101

This thing has particularly interested me because I never thought in any way that this is possible (due to the fact that I don't know how to create one). While I was looking for tutorials/articles that can help me solve my problem about formatting a textbox to display currency during/after …

Member Avatar for airhalynn101
0
215
Member Avatar for Brandy_1

Writing pseudocode for an assignment that asks to convert the number of pennies collected into dollars and cents, BUT displaying on seperate lines. I understand (sort of) that the \ sign will divide and return an integer result of the whole number and discard the fraction, while the Mod % …

Member Avatar for Brandy_1
0
466
Member Avatar for malatamil

below this link i have a ratting thing. in this its working but here update and disply part. http://www.namshimoga.com/searchdetails.php?idval=399&maincatid=147&maincateg=Testingmp#details in another page http://www.namshimoga.com/searchbycat.php?catagory=Testingmp&maincateg=Testingmp&maincatid=147 i want to display only final rating without updation. its my display part <div class='headstar'> Rate It ! <ul class='star-rating'> <li class='current-rating' id='current-rating'><!-- will show current rating …

0
151
Member Avatar for Goldfinch

Hi, I'm looking into implementing a program that can translate words into another language (english to name the language) and I am looking for an easily readable language. I posted in this forum because its not really a coding issue, and its closer to the Natural Language Processing that is …

Member Avatar for Goldfinch
0
199
Member Avatar for mvd3

I use Default Shared Preferences to save some data in them. I have created a class to handle all this : public class PreferencesHandler { private Context mContext; public PreferencesHandler (Context context) { this.mContext = context; } public void setBoolean(String name, boolean value) { PreferenceManager.getDefaultSharedPreferences(mContext).edit() .putBoolean(name, value).commit(); } public void …

0
134
Member Avatar for nickkipr

package dmaze2; import java.awt.Dimension; import javax.swing.ImageIcon; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.JScrollPane; import javax.swing.JTable; import javax.swing.table.DefaultTableModel; public class Dmaze2 extends JPanel { JTable jt; ImageIcon Icon = new ImageIcon("x.png"); JTable imagelabel = new JTable(Icon); public Dmaze2() { Object[] columns = {"1","2","3","4","5","6","7","8"}; Object[][] table={{"f","f","f","f","f","f","f","f"}, {"f","f","f","f","f","f","f","f"}, {"f","f","f","f","f","f","f","f"}, {"f","f","f","f","f","f","f","f"}, {"f","f","f","o","f","f","f","f"}, {"f","f","f","f","f","f","f","f"}, {"f","f","f","f","f","f","f","f"}, {"f","f","f","f","f","f","f","f"}}; …

Member Avatar for mKorbel
0
239
Member Avatar for Anzish_1

iam in final year of BSCS i have a project from university plz help me for this kindly send me source code for virtual desktop screen splitter and kindly explain how to do this. Thanks in Advance Khan

Member Avatar for radenli
0
205
Member Avatar for Vlad_2

// Convert Celsius to Fahrenheit and vice versa. import java.awt.BorderLayout; import java.awt.FlowLayout; import java.awt.GridLayout; import javax.swing.JTextField; import javax.swing.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; public class ConvertTemp extends JFrame { // instance variables JLabel labelFahr; JLabel labelCels; JTextField textFahr; JTextField textCels; JButton conFahToCel; JButton conCelToFah; public ConvertTemp () { super …

Member Avatar for Vlad_2
0
8K
Member Avatar for oskido2010

Hi Guys I am trying to display friends of a logged in user for my website, the user(person1 is friends with person2 and I would like this to display when either person1 or person2 log in( this should be under the hyperlink) Friends. and also to be able to see …

Member Avatar for diafol
0
239
Member Avatar for Builder_1
Member Avatar for Hiroshe
0
139
Member Avatar for wngus0

plz cheak this if you dont know? >>>>>surf birthday paradox #include <iostream> using namespace std; #include <stdlib.h> #include <time.h> const int SAMPLE_SIZE = 24; const int NUMBER_OF_SETS = 1000; int Menu(int); void ExplainBirthdayParadox(); void VerifyBirthdayParadox(int Birthday[]); void SortBirthdaySet(int List[], int Last); inline void Swap(int &A, int &B); void LookForMatch(int Birthday[]); …

Member Avatar for Hiroshe
0
644
Member Avatar for iamthwee

So what are your thoughts. I've recently been looking at things like expression engine, http://buildwithcraft.com http://statamic.com and http://modx.com Purely because, writing my own CMS from scratch is one helluva ballache. The above sites look appealing because they afford enough flexibility to write a CMS to control pages using templating in …

Member Avatar for diafol
0
150
Member Avatar for davy_yg

Hallo, How to decrypt md5 password? I have a password stored in mysql in md5 then would like to retrieve it and decrypt it. How to do so? Thanks in advance.

Member Avatar for diafol
0
400
Member Avatar for finalist

Anyone know how to avoid this error - message on compiling my program using Delphi XE5: Undeclared identifier: 'DateSeparator' When I compile the same program using Delphi XE, it is OK, without any errors. I have declared: uses SysUtils ....;

Member Avatar for finalist
0
580
Member Avatar for cambalinho

when we create child controls, what is the style for accept text formats? (i mean: '\t', '\n' and others)

Member Avatar for cambalinho
0
136
Member Avatar for pspwxp fan

Hi Daniweb, I have a checkbox that is dynamically generated using php using inputs on previous pages. <form name=partselect action="JavaScript:checkmate()" method="post"> <table> <?php while(oci_fetch($stmtgp)){ $idpart = oci_result($stmtgp, "PART_ID"); $stmtparts = oci_parse($conn, "select * from PARTS where PARTID='".$idpart."'"); $execparts = oci_execute($stmtparts); if(!$execparts){ echo 'unable to fetch part'; } oci_fetch($stmtparts); $tpartcost = …

Member Avatar for iamthwee
0
381
Member Avatar for SpottyBlue

I was doing my 2nd assignment to create a bank program using Java. I got a problem when I run a few times. For example, I entered the starting amount as $50000. Then, I choose withdraw. I tried to enter withdrawal amount as $5000. Then, I choose to check balance, …

Member Avatar for howemonster
0
418
Member Avatar for abra_ka_dabra

Is there ay inbuilt method to convert 2D array into CSV file? e.g. Can anyone give me a hint to convert [1,2;3,4] into a file output.csv?

Member Avatar for howemonster
0
424
Member Avatar for ACE--

Hi, My requirement I need to edit or replace content in the word document every time and save it to another location. What I wanted is I want to simplify this through vb.net but stuck in somewhere I am doing mistake in the code itself (I am completly newbie). I …

Member Avatar for cgeier
0
10K
Member Avatar for johans22

The 3rd party to EXE calls like call backs work but call backs from 3rd party DLL to another DLL won't work. 3rd party DLL has to message the upper EXE or DLL that evetually gets emailed out. Working platform is Vista or Win 7.

Member Avatar for johans22
0
90
Member Avatar for davy_yg

Hello, I am trying to fix that error, yet I cannot find mysqld in the registry. I am afraid that I accidently delete it. [mysql error](http://en.kioskea.net/faq/1718-mysqld-exe-encountered-an-error-and-needs-to-close) What should I do now to fix that error? Do I need to reinstall windows? Thanks in advance.

Member Avatar for rch1231
0
233
Member Avatar for sheelap

some people says that java is not purly oops language like C++.pls suggest me if it is true then why iot is so?

Member Avatar for mike_2000_17
0
207
Member Avatar for alina.nazchowdhury

For developing web apps eg. oline portal, asterisk billing software, voip soft swich billing, wich programing language i should learn, please give me details.

Member Avatar for Hiroshe
0
196
Member Avatar for nickliutw

I'm currently writing a program that can track each word appear in a paragraph. For example, if a paragraph is "I have two dogs and two cats......" my program output should be: 'I'appeared 1 time, 'have' appeared 1 time, 'two' appear 2 times ....so on So far, I have two …

Member Avatar for iamthwee
0
158
Member Avatar for Nigam_1

I am creating a website wherein Admin is supposed to create a Form and the other users are supposed to fill it and submit it. My main goal is to the give the Admin user a webpage where he will type the question , select the type of answer to …

Member Avatar for iamthwee
0
490
Member Avatar for aquilina

i have problem with my index id for class_student.php.. i not sure where it missing smth.. kindly look it for me. there is an error with index id at line 3 which mean $get_id = $_GET['id']; <?php include ('session.php'); ?> <?php $get_id = $_GET['id']; include('header.php'); $user_query = mysql_query("select * from …

Member Avatar for aquilina
0
882
Member Avatar for Matthew34

Hi, Anyone can explain what is ion cube loader? and how it works for encryption and decryption? Thanks in advance..

Member Avatar for diafol
0
353
Member Avatar for MasterHacker110

I am writing a program that will open another form, the user will continue doing stuff on the new form and would then close the form. When and only when this new form closes, the main form should continue with its work and re-enable some components. Here is the code: …

Member Avatar for mKorbel
0
211
Member Avatar for MasterHacker110

I am trying to read a some data that is stored in an xml file and then print it to the screen for the user. But my program isn't working correctly. Here is my XML document: <UserAccounts> <Account AccountNumber="1234567890"> <Password>12345</Password> <Balance>1024.64</Balance> </Account> </UserAccounts> And here is my code: File fXmlFile …

Member Avatar for MasterHacker110
0
303
Member Avatar for vizz

When mouse is on image display one value from array inside **thought** div's span. Show next value each time. When values ends start with first value [something like this](http://jsfiddle.net/W4fm9/) , but when hover on image var arrValues = [ "one", "two", "three" ]; <img src="images/thinker.png" /> <div class="thought"><span></span></div>

Member Avatar for vizz
0
245
Member Avatar for Nebil

Dim dr As OleDb.OleDbDataReader = GetData(qry) If dr.HasRows = True Then Do While dr.Read TextBox32.Text = dr.Item("total") If Val(TextBox32.Text) > 800 Then TextBox37.Text = Val(TextBox32.Text) - 800 Else TextBox37.Text = 0 End If TextBox38.Text = Val(TextBox36.Text) + Val(TextBox37.Text) TextBox31.Text = (Val(TextBox33.Text) + Val(TextBox32.Text)) * Val(TextBox34.Text) Loop Else If MsgBox("Fuel allowance …

Member Avatar for Reverend Jim
0
161
Member Avatar for davy_yg

Hallo, How to create a check mark (V) if status is enable and a cross mark (x) if status is disable. I basically trying to create a CMS for an article. Therefore, if the article is not viewable by others (disable x) or viewable (enable V). Lol. I don't know …

Member Avatar for davy_yg
0
175
Member Avatar for irfan_3

Actually i need help in making a project on reservation system(hotel,bus etc) in C++(oop) ..can somebody just guide me in making my project ,,, thanks in advance

Member Avatar for irfan_3
0
1K
Member Avatar for Vegito1991

I have been struggled to solve this problem for few days, i was working on multichat application where in this class i want to send the text to the server and and response in the client side, if anyone can help me i really appreciate from what i known the …

Member Avatar for JamesCherrill
0
384
Member Avatar for dany12

I have a simple menu like this **HTML** <div> <ul> <li> <a href="#">Demo</a> </li> <li> <a href="#">Demo2</a> </li> <li> <a href="#">Demo3</a> </li> <li> <a href="#">Demo4</a> </li> <li> <a href="#">Demo5</a> </li> </ul> </div> **CSS** ul li:nth-child(1){border-top:4px solid red;} ul li:nth-child(2){border-top:4px solid pink;} ul li:nth-child(3){border-top:4px solid blue;} ul li:nth-child(4){border-top:4px solid orange;} Now …

Member Avatar for dany12
0
297
Member Avatar for cilla

[www.unitedinblue.com](http://www.unitedinblue.com) There's a lot of JS and ajax and extra scripts and things (far as I can tell at a first look) on this website, some of which don't even seem to serve any purpose. If you look in the source (via Inspect Element, not actually viewing the page source, …

0
182
Member Avatar for moaz.amin.37

hi: we use system("cls") function in c++ i need a function or a class or any command that i give it in my code that clear my screen plz help me

Member Avatar for JamesCherrill
0
337
Member Avatar for general2012

there are two properties for my bike method.front gear and rear gear.i want another property which will be a new property called gear ratio property which can be obtained by multiplying front and rear gear numbers.the code i have written giving continuous error.how it can be fixed. <html> <head> </head> …

Member Avatar for GliderPilot
0
392
Member Avatar for Nikusha.Kalatozi
Member Avatar for deceptikon
0
73
Member Avatar for nerdynewf

I have some previously written code that I am trying to modify. This is a portion of code to retrieve entries from a database and then edit inidivual sections, as required. Everything seems to work well with one exception. The code to create the drop down box to select the …

Member Avatar for GliderPilot
0
237
Member Avatar for agrbinoo.albaker

Write a program that calculates the average of a group of test scores, where the lowest score in the group is dropped. It should use the following functions: • void getScore() should ask the user for a test score, store it in a reference parameter variable, and validate it. This …

Member Avatar for Sarkurd
0
208
Member Avatar for CervantesLost

Hi, I picked up this code on daniweb and am trying to get it further. Here's the class import java.util.*; import javax.swing.*; public class LibraryBook { private String title; private String author; private int pageCount; //contructor for books title, author, page public LibraryBook(String bookTitle, String bookAuthor, int bookpageCount) { title …

Member Avatar for JamesCherrill
0
189
Member Avatar for shelton22

I have declared, map<int, vector<int>> abcmap; map<int,vector<int>>:: iterator itmap; vector<int>SPLINKS; SPLINKS contains: 1 3 4 abcmap contains; 1=> 1 2=> 2 6 3=> 1 2 4 I want to iterate both SPLINKS and abcmap to find and erase elements that do not match in both containers; ie after execution; 2=>2 …

Member Avatar for shelton22
0
279
Member Avatar for Sarkurd

Hi after some months learing basics of C++, today i started by creating a simple game but i have problem two problems 1- `checkwin()` doesn't work properly 2- the code goes glitchy if i press Enter before choosing a block sorry for my english #include <iostream> using namespace std; char …

0
160

The End.