199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mpc123

I have a table of names that have done something on a certain date, now this could be over and over again yet of course on different dates but never the same. I need to update a field called last_time that corresponds to the previous date that they occur and …

Member Avatar for WebspoonUK
0
301
Member Avatar for Ahmed91za

Hello I'm a freshly new Graduate student of computer technology engineering, i'm interested in C++ as my first step into learning computer science, what books other than Bajarni books do you recommend, i don't like book that are 1000+ pages long, and prefer ones that are straight to the point …

Member Avatar for vijayan121
0
175
Member Avatar for Hector3000

#include <iostream> #include <string> #include <cmath> using namespace std; int main() { string Choice; string On, off; char a = 'A'; int i = 0, j= 0 , NUM = 2 , z = 1; cout << "Please enter 'start' to start the program\n"; cin >> On; if (On == …

Member Avatar for vijayan121
0
192
Member Avatar for sfiso27
Member Avatar for Ahmed91za

just a question what are the advantages that C# as a general purpose programing language has over other web development programming languages such as HTML 5 CSS and so on

Member Avatar for Schol-R-LEA
0
627
Member Avatar for Catarino

public class Test { public static int f1( int m1 ) { return ( m1 + 1 ); } public static double f1( double m1 ) { return ( m1 * m1 ); } public static void main( String[] arg ) { double x1, x3; x1 = 2.0; x2 = …

Member Avatar for rubberman
0
164
Member Avatar for hertzzz

hi guys! Im hertz.. s computer science student from the philippines.. and this is my final year, so ive gotta start my thesis... ^^ I need ur help! Im interested in making research/implementation about mobile computing, multimedia, and Artificial Intelligence.. Im hoping that u can give me some possible thesis …

Member Avatar for Rhay_1
0
1K
Member Avatar for ibpet11

Hello Everyone, I have a task that invlolve two or more comboboxes, simply put I want a combobox that is populated with state of a country and another with cities in the state.I know I have to populate from Database which isnt a problem. Now to populate the state combobox …

Member Avatar for ibpet11
0
186
Member Avatar for Guy On

I'm working on file delete function. I want to delete image from both database and folder. Image is deleting from database but not from the folder. But i want to perform delete image both from database and folder. Here is my code. public function dodelete() { { $contact = Contact::find(Input::get('id')); …

Member Avatar for diafol
0
4K
Member Avatar for Hilal2009

Here are my codes, I want to get access token after user login, but I don't know where am I wrong guys. I know to get access token in PHP SDK v4 but I think It's quite different in PHP SDK v5. Please help me guys <?php session_start(); require_once("Facebook/autoload.php"); use …

Member Avatar for Hilal2009
0
2K
Member Avatar for Guy On

I'm saving data with the help of ajax and laravel. In the form the text field data is saving but the file is not saving with the help of ajax. This is my script. <script> $(document).ready(function() { $('#ajax').submit(function(event){ event.preventDefault(); $.ajax({ type: 'POST', url: 'post_contact', data: $('form#ajax').serialize(), dataType: 'json', }) .done(function(data) …

Member Avatar for Guy On
0
119
Member Avatar for zamm65

Hello to everyone i have a databse made up of 5 table, where 4 of the tables are linked to the fifth one by foreign keys. the tables are as follows. 1. **Client** - ClientID, ClientName 2. **Brand** - BrandID, BrandName 3. **Currency** - CurrencyID, CurrencyType 4. **RegisterShipments** - RegShipmentID, …

Member Avatar for zamm65
0
240
Member Avatar for zamm65

Hi to everyone, i am trying to display certain data onto some labels depending on the selection the user does from a combobox. The database consists of two tables, RegisterShipment and Shipments, where the RegisterShipmentID is linked to the Shipment Table by a Foreign Key. On the form i have …

Member Avatar for zamm65
0
156
Member Avatar for hermela_1

this is a code for an input window that takes in data from users i tried to save whatever data the user put in in axml file but it is giving me errors...what is wrong with it...help /* * To change this license header, choose License Headers in Project Properties. …

Member Avatar for stultuske
0
1K
Member Avatar for Kert

I have followed all the tutorials, but still I have a problem that I can't get an object from a form to the controller using Spring MVC. What might be the case? I am using Thymeleaf to format my jsp pages. <!DOCTYPE HTML> <html xmlns:th="http://www.thymeleaf.org"> <head> <title>Getting Started: Handing Form …

0
323
Member Avatar for shashigowda

Hiii, I need very urgent help.i have developed one wordpress site,now i want to move that site to server.please any body help me, how to move wordpress site **from localhost(using xampp) to server(using Godaddy)**.

Member Avatar for shashigowda
0
236
Member Avatar for Saboor880

Hello to all! I have learnt VB.net and used IDE Visual studio 2012. Know I have started learning java. But I have a confusion that can Java be used with .NET frame Work? If Yes then which IDE is required for this. As we know that for VB.Net, C#.Net and …

Member Avatar for JamesCherrill
0
284
Member Avatar for Kert

I have followed all the tutorials, but still I have a problem that I can't get an object from a form to the controller using Spring MVC. What might be the case? I am using Thymeleaf to format my jsp pages. <!DOCTYPE HTML> <html xmlns:th="http://www.thymeleaf.org"> <head> <title>Getting Started: Handing Form …

Member Avatar for stultuske
0
1K
Member Avatar for bashkaru

Hello, i am trying to plot X,Y coordinate of a location on a map used in a pictureBox in a windows form using vb.net 2008. when i use the complete UTM grid and load it in the Picturebox, the coordinate plots correctly, but when i use a portion of the …

Member Avatar for Mr.M
0
719
Member Avatar for Zianne

Recently in an interview I was asked to design a "send invitation for an appointment to multiple contacts in a company". (Something similar to creating an Appointment in Outlook) Here is what I came up with, I would really appreciate some feedback, suggestions, questions. So, after asking few questions, the …

0
136
Member Avatar for malik.epperson

I am creating a couponing app where coupons are stored in a database and compared to local ads to let users know when to use the coupons. I have created a database that holds all of the coupons and also one for the user's personal library. I am having difficulty …

0
169
Member Avatar for Mr.UNOwen

Hello, For some reason javac errors when I import any of the Apache-Spark classes. I've gone through a number of setup guides to see if there's some environment variable I'm missing, but most don't have a step where an environment variable is set. Anyone have a clue what I'm missing? …

Member Avatar for Mr.UNOwen
0
2K
Member Avatar for Aishwarya786

User input 1234 567 scanf("%2d %2d",&value1,&value2); scanf("%3d %2d",&value1,&value2); scanf("%4d %3d",&value1,&value2); scanf("%-5d",&value1,&value2); How does all these work actually?? Iam confused..

Member Avatar for Kamal_9
0
158
Member Avatar for abcdz

redo (or do for the first time) programming project 2 from chapter 11. define your ADT class in separate files so that it can be compiled separately. I need help with that!!!

Member Avatar for bernardo.mclobo
0
107
Member Avatar for jamesjohnson25

Q 1) In this small snippet #include <stdio.h> void passingAddressOfConstants(const int* num1 , int* num2) { *num1 = num2; } int main(){ const int limit = 100; int result = 5; passingAddressOfConstants(&limit,&limit); } Error : error: invalid conversion from 'const int*' to 'int*' Here I defined "limit" is of type …

Member Avatar for aleeha.saqib.5
0
225
Member Avatar for kumanutiw

Create a class Candy with the following data: weight of one candy bag, price of one candy bag. There are three types of candy in the store. Find the weight and price of heaviest candy bag. What is the price of 1 candy bag with minimum weight?  Extend the …

Member Avatar for bernardo.mclobo
0
146
Member Avatar for Mahnoor_1

Ok guys ! I'm trying to study operator overloading. which i found the toughest article in OOP :( I tried a code for == operator overloading to check whether both arrays have same elements or not but it isn't working. Can anyone help? Here is my code: #include<iostream> using namespace …

Member Avatar for aleeha.saqib.5
0
241
Member Avatar for usmanjani

hello guys i need a real good ideas from u i want to create social networking program for c++ like instagram,facebook etc my general q: how to implement the coorect DSA structure on building profiles and mangae post comments message from other freinds and user?

Member Avatar for aleeha.saqib.5
0
124
Member Avatar for Darsh95

hi im new to javascript and im attempting it for the first time. im using framework 4.5, asp.net, c#. i need help in with the javascript. i need calculate quotation and display the information. heres my code so far model.cs public class QuotationView { [Display(Name = "Pickup Address")] [Required(ErrorMessage = …

Member Avatar for ryantroop
0
323
Member Avatar for vegaseat

Just wondering. Exploring Google's Go language, a modern day C with the Google in it.

Member Avatar for vegaseat
0
399
Member Avatar for Rajesh_18

Dear All, I have learned to use the shutil.move to move files from one folder to another but I need to also do the following . Would appreicate any help. Perhaps a template so I can fill the gaps and learn along the way. I have a folder with sub …

Member Avatar for Gribouillis
0
281
Member Avatar for Darsh95

Hi Im using framework 4.5, asp.net, c# to caculate quote instantly. The quote for a delivery has be calculated using the kilometres between the pickUp point and DropOff Point, the diesel cost, wear and tear, and labourCost. The formula im using is total= (kilometres * DieselCost)+ wearAndTear + labourCost. the …

Member Avatar for pritaeas
0
230
Member Avatar for Darsh95

hi i want to add an instant quote calculator on the about page and i want to know the steps on how to do it. im using asp.net mvc5

Member Avatar for pritaeas
0
174
Member Avatar for crazyvonzipper

Hi al you wonderful daniweb peoplez :) I am currently on a mission to write some cool javascript / jquery / ajax controls and now i realised that if I call the control multiple times it seems to lose scope. I realise that this is a small design flaw, and …

0
243
Member Avatar for ddanbe

Hi all, I need to obtain the fractional part of a double. AFAIK C# and .NET has no such function. Have a few options here:(x is a double) `x - (int)x` `x - Math.Truncate(x)` Convert to a string and extract the fraction... Perhaps someone knows other options? Which should I …

Member Avatar for JOSheaIV
0
662
Member Avatar for jamesjohnson25

import java.util.*; class occult { public static void main(String[] args){ int n = 2; for (int i = 0; ; i++){ if(Integer.toString(i).contains("666")){ if ( n == 1 ) System.out.println(i); n -= 1; } } } } I have written the above java code into c++ . i wanted to know …

Member Avatar for vijayan121
0
521
Member Avatar for nitin1

Hi, Actually, I want to make one Singleton class which will create one instance for one thread. I mean if we have 10 threads, then Singleton will create only one object for one thread. IF same thread will ask for one more instance it will return the same instance. Basically, …

Member Avatar for vijayan121
0
339
Member Avatar for michael.james.90475

I want to resize my caroseul on click of a button. Below is the code that needs to be changed. Width: 100% needs to be changed to width 50%. I am using JQuery maybe there's a way using that but nothing works so far other than changing the CSS itself …

0
186
Member Avatar for AntonyRayan

Hi, I searched example for multiple dates selecting at a time in a calendar, its working in online., but not in local. Can anyone help me for multiple datepicker to select multiple dates from a single calendar ?

Member Avatar for diafol
0
3K
Member Avatar for clife

Hi, I have the a file which contains information as mentioned in the below format. IP:20.20.20.50 DLBytes:0 IP:0.0.0.0/0 DLBytes:0 IP:20.20.20.52 DLBytes:0 IP:0.0.0.0/0 DLBytes:0 IP:20.20.20.53 DLBytes:187329 IP:0.0.0.0/0 DLBytes:17176 IP:0.0.0.0/0 ULBytes:0 IP:20.20.20.50 ULBytes:0 IP:0.0.0.0/0 ULBytes:0 IP:20.20.20.52 ULBytes:0 IP:0.0.0.0/0 ULBytes:187329 IP:20.20.20.53 ULBytes:17176 I am using below commands to extract entries which have proper …

Member Avatar for clife
0
366
Member Avatar for UK-1991

Hello, I tried to verify if users or record already exist in the database so to do that I used a concept of in array fucntion but this was not successfull here is my code function adduser($connect) { $uname = $_POST['uname']; $pass = $_POST['pass']; $email = $_POST['email']; $query_get = mysqli_query($connect, …

Member Avatar for UK-1991
0
387
Member Avatar for hermela_1

i have a jtable calendar program and i want the user to be able to click on the dates and i wrote a mouse listener and added it to the jtable nut its not firing .....what should i do my deadline is tomorrow....

Member Avatar for JamesCherrill
0
970
Member Avatar for Sophia_1

Hi everyone, am trying to save and display the text color after select change in php and html. After selecting Selfrating1 ie "Good", the textbox T11 suppose to change to "Green" color. After submit button the text color supposed to be save in mysql and display on the form. The …

Member Avatar for Sophia_1
0
592
Member Avatar for Eschen515

Hi i have an assignment I’m working on. I have to let the user input their date of birth and then the program will print its age. I don’t know a lot about VB so if there is an easy way to do this. Thanks for the help. From looking …

Member Avatar for ChristaJocelyn
0
967
Member Avatar for fredjoe565

Was hoping there are some experts on PHP out there that can help me with a specific imageboard software called kusaba X. Specifically version 0.9.3 I am running specific Mods like, post screening 2.0, links open in new tab/page, images open in new tab, staff edits (where staff members can …

Member Avatar for fredjoe565
0
210
Member Avatar for cambalinho

the GetDesktopWindow() give me the desktop HWND, but how can i get the desktop toolbar HWND? i belive that theres 1 function for get the toolbar on windows, but i don't know how :(

Member Avatar for cambalinho
0
158
Member Avatar for matoo

hi there everyone this sounds sily but i am trying to make a calendar which will show attendance on the calander what i want is to stop on the todays date txtbox txtboxes are arreys so the name is txtDay(0), txtDay(1), txtDay(2)........... txtDay(41) Dim strDate As String Dim strStartDate As …

Member Avatar for BitBlt
0
222
Member Avatar for jonsan32

I'm having trouble applying the javascript necessary to close one set of sub-menus when another set is opened. The tutorial site provided some demo code that works, but I can't get it to work without displaying all the various buttons to activate the other available skins. Up top is the …

0
235
Member Avatar for Mahnoor_1

I have a little confusion in my mind. I know very well the difference between preincrement and postincrement, postdecrement and predecrement. But i wonder how do these operators work during loop. I ,myself, use postincrement or decrement in loop as follows: for(int i=0;i<5;i++) { //code } But in my book …

Member Avatar for Mahnoor_1
0
282
Member Avatar for can-mohan

Hi All, in below class i wanted to have two friend function(overloading) one with default argument and other is without default argument. but during compilation it gives error. could you let me know how to fix (overload) this by not changing the function name , argument type or number of …

Member Avatar for rubberman
0
290

The End.