199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mcmanuel20

You are working as a software developer in a company named Blue Moons, Inc. Your team has been assigned the task of developing software that would assist the users to store and retrieve personal information. According to the requirement specifications, the software should provide the functionality to store contact details …

Member Avatar for mcmanuel20
0
106
Member Avatar for daino

Would anyone know what this kind of syntax means. Its in reference to a library I want to include in my c++ applicaiton. It takes this form. Where can I read up about this. I've tried a google search but I'm not sure what to search on. #include <name/name.p> //what …

Member Avatar for daino
0
146
Member Avatar for ehpratah

Hi need some assistance here im having an error connecting my database to the server online,the thing is it is working fine in localhost but when i uploaded it just wont work.. i already change the necessary string to match the server configuration online from config.php this is in the …

Member Avatar for ehpratah
0
202
Member Avatar for nsharif

expandable JPanel while adding items Hi, I have a JFrame and I added JPanel inside it However, I designed in a way, I can add JButton to that panel it is used as a bookshelf for example btn 1 btn2 btn3 so each time i add, it goes three columns …

Member Avatar for nsharif
0
236
Member Avatar for thewilf

Hi All, Quick one, I am calling a web service that returns a dataset but the company doesn't know what structure is in the dataset anymore as the original programmer has left. The webservice code calls a stored procedure that they can't access. Is there anyway to call the webservice …

Member Avatar for TnTinMN
0
195
Member Avatar for brian.ediger1

I have a program that has the user input a resistance value, then the program checks to see if it is a valid resistance value, and then prints the min and max, based off a valid tolerance value. Here is my code: Resistor.h #ifndef Resistor_H #define Resistor_H #include <cmath> #include …

Member Avatar for brian.ediger1
0
212
Member Avatar for ar123

Hi there! I am new to daniweb.com and C++ CLI. I am trying to make a program that will tell the user the text for the ListItem number they type in. The ListItem information is stored in a text file with my custom file formatting, which is: <~ListItem 1> text.... …

Member Avatar for ar123
0
289
Member Avatar for jonsan32

I'm trying to get random images to display onto four different cells with their corresponding links in place. All that's happenning is one random image is chosen and displayed throughout. Is there a way to pull 4 images from the given list and display them randomly instead? **Thanks a bunch …

Member Avatar for jonsan32
0
419
Member Avatar for Sevyt

I got a textbox which holds a persons address For example Streetname / house number / box number They are seperated by a space I want them to go into their own textboxes TxtStreet, TxtHousNr, TxtBoxNr I am pretty sure its best done with indexof But i cannot get it …

Member Avatar for Sevyt
0
174
Member Avatar for Krazykado

I am fairly new to Java programming and I am having problems with creating a program with these requirements: 1. Create a program to simulate the roll of 2 – six sided dice. 2. Test to see if the dice are equal. 3a. If they are equal print “You win! …

Member Avatar for matencio
0
801
Member Avatar for cafegeo

Hello all, I am a beginner at Java and taking a class which is moving at a fast pace. So I have this Animal class and Fox class that must access the AnimalColor class through an API. Originally the AnimalColor object in the Animal class was public(accessible by all) but …

Member Avatar for NormR1
0
286
Member Avatar for azegurb

Hi all. i would like to have fulltext search in my news site. I have added fulltext to the **text** column in my news table. but though it cannot grab two or more phrases at a time from database. the engine is MyISAM. what might be the problem? if possible …

Member Avatar for azegurb
0
135
Member Avatar for mmcdonald

Hey all. All I need is to collect every `id` from `servers` where `active ='1'` and then cycle the results in a loop right until the end for each individual id. (I've written this on daniweb, might be typo's or errors. I'm not interested in code errors it's the process …

Member Avatar for cereal
0
217
Member Avatar for savedlema

Hi friends, I'm developing an application for HR. I have two tables so far.One is tblDetails and the other is Academic. I have created a relationship (ID to AcademicID), I have been able to pull data to a form by this SELECT statement: sqlSearch = "SELECT tblDetails.ID, tblDetails.FirstName, tblDetails.Surname, Academic.AcademicID, …

Member Avatar for savedlema
0
209
Member Avatar for SQLpower

Hello, I was wondering how could I display around 10 rows vertically and 34 horizontally in a table view with ticks? Every row will have a tick, which upon saving will be added to the database. Any suggestions are highly appreciated!

Member Avatar for SQLpower
0
243
Member Avatar for laxy_m

Hi!! Please guide me. How can I send variables from a PHP script to another URL using POST without using forms and hidden variables? Thanks Laxy

Member Avatar for shafiphp
0
499
Member Avatar for pooja123

Hi, I am a beginner and new here. I have a question which might be very easy for you all so thought of asking a good solution. I need to read an integer from console into an array in c++ , can any one please help! for example: I want …

Member Avatar for pooja123
0
177
Member Avatar for yeeitsneo

i have a problem with editing and updating my data on my database. i cant pass or echo the data from the database into text boxes. heres the php script. // this script is for displaying the information oof the logged in member. and contains the link to edit the …

Member Avatar for mmcdonald
0
301
Member Avatar for honeybee2090

my text box have multi lines i want to count those lines and show it in form caption. spoz i have 12 lines in text1.text i want show it like this Sockz-12

Member Avatar for honeybee2090
0
536
Member Avatar for HunainHafeez

i have a login page within asp.net 3.5 (c#) website, and sql server 2008 at backend, i wrote a store procedure to save password in hashed form using SHA1 algo during registration , now during login i want to compare etered passowrd with the one save in db, so i …

Member Avatar for HunainHafeez
0
398
Member Avatar for rhowell

I'm inspecting a binary file. I have a rough idea of what is inside but there are some characters present which I am not sure how they got there. My question is highlighted in bold below. Thanks. To speed things up the first 28 bytes are reserved for the date …

Member Avatar for rhowell
0
164
Member Avatar for IS_student

Hello everyone, i am developing a Library system, where user can borrow books and return them. i have a table in my DB called "borrowed books" it contains list of information about the borrowed book and the borrower, when the user returns the book the system should remove the record …

Member Avatar for mikeybware
0
155
Member Avatar for jontennyeah

i have a data gridview with 4 columns namely name age address and attendance. my problem is this ,using a button how i change the attendance in all to "OUT"? help me please

Member Avatar for mikeybware
0
118
Member Avatar for mageamida

need some help guys im trying to put a hyphen between a number for the telephone number but i want to use the keypress or textchanged i already done it using the button so im trying to use the textbox rightnow but after the hyphen is been inserted to a …

Member Avatar for mikeybware
0
180
Member Avatar for Ctechnology24

I know that its very simple to save an image source in a MySQL database but my problem is that how can I save an image source and add it to my project's resources so that I can call it easier even if I transfer my Application to other PC, …

Member Avatar for Ctechnology24
0
293
Member Avatar for rahul.ch

import java.util.*; public class GenericDemo4 { public static void main(String r[]) { Set s1 = new HashSet(); s1.add(0); s1.add("1"); dostuff(s1); } static void dostuff(Set<Number> s) { do2(s); Iterator i = s.iterator(); while(i.hasNext()) System.out.println(i.next() + " "); Object [] oa = s.toArray(); for(int x = 0; x<oa.length; x++) System.out.println(oa[x] + " …

Member Avatar for rahul.ch
0
302
Member Avatar for ms061210

Please help me debug about datetimepicker. I think, the code is written correctly but its not. The program kee[s prompting **ORA-01858: a non-numeric character was found where a numeric was expected** Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Dim cmd As New OleDb.OleDbCommand 'cnn.ConnectionString = …

Member Avatar for mikeybware
0
326
Member Avatar for prasanta.nit15

I need a ASP.net readymate project with code and documentation. please help me. prasanta

Member Avatar for JorgeM
0
350
Member Avatar for garungns

hi im new to programing and im trying to make a program that would calculate the tax on a given price but that would accept the tax rate as either an integer or a double but i get this error Index (zero based) must be greater than or equal to …

Member Avatar for garungns
0
158
Member Avatar for rithish

hello can any one give a easiest and understandble link or video tutorial for cursor implementation of linked list very hard to understand please suggest a good link and understandable

Member Avatar for rithish
0
3K
Member Avatar for yeeitsneo

there seems to be a problem with adding records to my database. heres the code. //this redirects the logged in user to the create php whereas the idnum of the user is already //echoed in a textbox. <?php $result1 = mysql_query("select * from info where idnum = ".$_SESSION['valid'],$conn); while($row = …

Member Avatar for HunainHafeez
0
221
Member Avatar for rithish
Member Avatar for andyy121

<?php require_once("start.php"); require_once("myconfig.php"); require_once("db.php"); require_once("kontrollo.php"); require_once("mylib.php"); require_once("datavalidation.php"); if (!isset($_REQUEST["id"])) { exit("which category??"); } $category=$_REQUEST["id"]; ?> <html> <head> <title>GarantSig Artikull i ri</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link href="../css/travel.css" rel="stylesheet" type="text/css"> <link href="../css/style.css" rel="stylesheet" type="text/css"> <script language="JavaScript"> function validate() { if(document.myform.title.value==""){alert('Verini nje titull');return false;} if(document.myform.subtitle.value==""){alert('Verini nje Nentitull');return false;} if(document.myform.rendi.value==""){ alert('Verini nje rendesi');return …

Member Avatar for andyy121
0
330
Member Avatar for handry.wiranata

i've problem with login, if login always appear error 1.Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in.... 2.Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in.... coding php: <?php include ("config/koneksi.php"); include ("config/library.php"); $pass = md5($_POST['password']); $login = mysql_query("SELECT * FROM user WHERE id_user='$_POST[username]' AND …

Member Avatar for Bachu
0
213
Member Avatar for daniel36

Hello sir, In my project i need to display online user in sandbox.For it i have made a login_status field in users table.When any user login to website it becomes true and if a user logout then it's value changed to false.but if a user leaves website without logout then …

Member Avatar for daniel36
0
115
Member Avatar for rahul.ch

class Sample1 { Sample1() {System.out.println("Sample1 const"); } void doStuff(){System.out.println("sample1 dostuff"); } } class Sample2 extends Sample1 { Sample2() {System.out.println("Sample2 const"); } } public class Sample3 extends Sample2 { Sample3() {System.out.println("Sample3 const"); } public static void main(String r[]) { new Sample3().go(); } void go() { super.doStuff(); } } The output is: …

Member Avatar for rahul.ch
0
198
Member Avatar for doha786

i'm just very new in php & its my 1st post here.. having a small problem to pass the login error msg to LOGIN.PHP from check login page. here is the code of **checklogin.php** file: if($count==1){ // Register $myusername, $mypassword and redirect to file "welcome.php" session_register("myusername"); session_register("mypassword"); header("location:welcome.php"); } else …

Member Avatar for doha786
0
269
Member Avatar for xbat

I am trying to add a input box that has the phone section in it. I did add it in.. But it doesn't load in the message that I get in the email.. if i change around the code. I can get just the phone number to show in the …

Member Avatar for xbat
0
290
Member Avatar for akinfemi

hi all, been tryin to find wat is wrong with this code. It works for sometime then starts repeating the same value continuossssssly. any help will be appreciated. thanks /* THIS PROGRAM IS TO RUN A SIMULATION PROGRAM OF ARRIVAL AND SERVICE TIMES OF AN AUTO-REPAIR WORKSHOP * servTime = …

Member Avatar for Starstreak
0
135
Member Avatar for techyworld

Hii need help for writing user input in a file. The following code is writing only the last word in a file. For example if user type "hello world", it will save only "world" in the file. I want to write the whole sentence in the file. for i in …

Member Avatar for TrustyTony
0
168
Member Avatar for khair.ullah

Hello every one and thank you all for your sweet replies. I am making a project in VB.NET, after the completion of project, is it possible to install it in anyone's computer? I mean to say, the project which I have made in VB.NET 2008, can be only run through …

Member Avatar for Reverend Jim
0
315
Member Avatar for MeSam0804

I searched and found a lot of codes and I made a code for myself for transfering file through ftp protocole but I got some errors there that I dont know:-s this is my code : Dim FTPRequest As System.Net.FtpWebRequest = DirectCast(System.Net.WebRequest.Create("ftp://ftp.microsoft.com/Softlib/" & "README.TXT"), System.Net.FtpWebRequest) FTPRequest.Credentials = New System.Net.NetworkCredential("", "") …

Member Avatar for Reverend Jim
0
3K
Member Avatar for PennyPeso

Hey All, I created a calculator with an online tutorial, but it is very basic. I wanted to include keyboard functionality. For example i currently am unable to use my key board to do "6 + 9". I need the "6" to be stored when the "+" on the keyboard …

Member Avatar for ddanbe
0
247
Member Avatar for Jollyyy100

Hi, i have successfully made my registration and login page. Now i need help. When i click on login by using specific username and password that i had created, i want my next page to show details about that person, this details are stored in Mysql when they register and …

Member Avatar for zain10137
0
1K
Member Avatar for Ashenvale

Hi, i want to call frame B from Frame A private void BFrameBActionPerformed(java.awt.event.ActionEvent evt) { Frame B = new Frame B.setVisible(true); } NOTE :calling JframeB is trigerred by a jButton but when I do this FrameA overlays my Frame B. can someone help me with this?

Member Avatar for Ashenvale
0
79
Member Avatar for ratanji

pls i want how to upload and retrive only pdf files in php and mysql code or any links..

Member Avatar for ratanji
0
148
Member Avatar for juliani91

A corporation has six divisions, each responsible for sales to different geographic locations. Design a DivSales class that keeps sales data for a division, with the following members: • An array with four elements for holding four quarters of sales figures for the division • A private static variable for …

Member Avatar for ravenous
0
677
Member Avatar for de Source

hi.. i want to know the the syntax of for loop that can circulate betweent "0" to "63" with step "8" that mean if value of "i" become 60 it will not move to 68 it should be go back to zero after 63 and the value of "i" should …

Member Avatar for Momerath
0
87
Member Avatar for dan_code_guru

Hi i am working on a server sent event script to be sent when the user has logged out, but in the network tab the server sent pages are being sent every couple of seconds with no data. Client-Side script var source=new EventSource("include/updates.php"); source.addEventListener('logout',function(event){ $("#notificationsContainer").append(event.data + "<br />"); source.close(); },false); …

Member Avatar for dan_code_guru
0
241
Member Avatar for deceptikon

Provided below is a bare bones dynamic array library. The game is to extend this library with new primitives and features that interest you, that you've needed in the past, or that you feel may be useful. The intention of this game is to give some of the newer folks …

Member Avatar for myk45
0
251

The End.