199,114 Archived Topics
Remove Filter ![]() | |
Hi, I have been trying to save the state of a sortable list. I have been able to save the sort order to localStorage and get the sort order so that I can display it on the console but I cannot get it to be the order it was last … | |
Hello. I'm looking for a good tutorial for creating a chat messenger in java. I checked [this link](http://www.javaworld.com/article/2076864/java-concurrency/building-an-internet-chat-system.html?page=1) but it was not good and clear, was poor tutorial without clear explanation and details. Can you help me with another tutorial? Tutorial video or text both are good. (Let me mention … | |
i am trying to develop a humain ressource management application with php, html 5 and jQuery the access to this application must be with a login and password, below the source code of two scripts i have developed to ensure access with login and password to the application (login and … | |
hello me again:) There is a page in my cms that users can see my posts there and i want to limit the number of posts that must be shown to users in each page and paginate. This is my code: <?php $servername = "localhost"; $dbname = "mydbname"; $dbusername = … | |
i am creating a program that will help user when they are doing survey during the survey they enter for example from 1 to 25 value in text box1 the text box 2 should show 1st Grad if user enter value from 25 to 50 in same text box should … | |
I am developing a software which will connect to the same database as another application. Is there a term for that? Also any tips on what sort of methods I can use? | |
I have some Tkinter code with a Label object. The user needs to be able to select text from the Label in order to copy the text (and paste into something else). However, it seems Labels aren't selectable? I can't figure out how to enable this... any suggestions? [code] from … | |
Im android developer < I started with android without abase of java. well I worked as android developer for a year but I feel that my skills not improved very well after a year just like something missing. my question is: if I focuse on learning android gonna make me … | |
I have a page that has 2 forms on it. It's an inventory system. One form is to add items to your inventory. The second form is to update your qty of each item. The first one that adds items to the inventory works fine. But the second one will … | |
Have a heck of a time writing XPATH to parse this XML response. Source data is (removed a bunch to save the innocent: `<?xml version="1.0" encoding="UTF-8"?><env> <ProcessResponse> <message> <payLoad> <BillingXMLMessage> <Envelop>SITEINFORESPONSE</Envelop> <COMPONENT DATATYPE="FLDPARAMINFO" NAME="ACCOUNTINFO"> <FIELD DATATYPE="FLDSTRING" NAME="ServiceType">/service/ip</FIELD> <FIELD DATATYPE="FLDBOOLEAN" NAME="ReactivationFlag">false</FIELD>`' XPATH statement is `/env/ProcessResponse/message/payLoad/BillingXMLMessage/COMPONENT[1]/FIELD[@NAME='ServiceType']` Which only gets me `Element='<FIELD DATATYPE="FLDSTRING" … | |
Well I have this code on the knight's tour, where the user will input the knight's starting position. But the problem is, there's too many 9 when I print the output. What's wrong with my algo?? #include <stdio.h> main() { // INITIALYZING THE CHESS BOARD char c, d; // c … | |
string guessNo; **Hi! How do I validate the user input in C++ ? I just want the guessNo string to have** 4 characters, all of which are numbers**.** | |
<html> <head> <meta name="GENERATOR" content="Namo WebEditor"> <title>Insert title here</title> <link rel="stylesheet" type="text/css" href="css/main_style.css"> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> </head> <body> <center> <tr> <th style='width: 3%;'> S.NO </th> <th style='width: 6%;'> Company ID </th> <th style='width: 10%;' > Company Name </th> <th style='width: 6%;' > More Company Details </th> <th style='width: 6%;'> User Details … | |
Hello I getting current user friends list by php api of facebook. can you suggest me what is missing.[LINK](https://github.com/facebook/facebook-php-sdk) <?php require 'facebook.php'; $facebook = new Facebook(array( 'appId' => 'removed', 'secret' => 'removed', )); if($facebook->getUser() == 0){ $login = $facebook->getLoginUrl(); echo "<a href= '$login'>Login with Facebook</a>"; } else{ $user_profile = $facebook->api('/me'); … | |
I'm having difficulties with this code...it won't randomize the answer for some reason #include <string> #include <iostream> #include <cstdlib> #include <iomanip> #include <fstream> #include <ctime> #define down8 "\n\n\n\n\n\n\n\n" #define down7 "\n\n\n\n\n\n\n" #define down5 "\n\n\n\n\n" #define over4 "\t\t\t\t" #define over3 "\t\t\t" #define over2 "\t\t" void welcome (); void splash (); using … | |
Using the below code i am getting the data from database(mysql) and displaying it in the textbox that is in the form of table(textbox inside the table data). Now I can edit the data(td) on browser(table) but the problem is updating it to database upon changing( onChange option ) data … | |
I've been having this issue for a while and can't figure out how to fix it. I have one activity with four fragments. I'm having an issue with one fragment. I have a button on this fragment that when pressed needs to add another button. This works. However when I … | |
Hello all Im trying to make java robot hold down the command key. I have used the following code. robot.keyPress(KeyEvent.VK_META); robot.Delay(5000); robot.keyRelease(KeyEvent.VK_META); This doesant seem to do the trick. Yes I have searched on how to do this but cannot find a working answer. Am I using the wrong keycode? … | |
hello, let's say I have a string which contains: string s="111\n222\n333"; and I wanna add something like: foreach(Line ln in s) { if(ln="111") { MessageBox.Show("Found the 111 number"); } } Can u help me do that "foreach line"? thanks in advance :D | |
I'm making one of those puzzle games that has the empty tile which you need to slide them around to finish the picture. When I refer to the "Active Tile" I'm referring to the tile that's empty on the board. I'm changing the position of the active tile and the … | |
I have been working on a pig latin converter. If a letter starts with a vowel or number it should end with way if it begins with a consonant it should revert the letters so the first one begins with aeiouy like chair should be airchay. Everything in my program … | |
Hy, i'm having a problem with php excell, i have in my db a row that its have a full url, when i export it its not make it HYperlink, i've see the docs on the internet but unft its for only one cell not for entire column this is … | |
Hi: I've been banging my head over this all day... I'm attempting to create my first WordPress theme and have hit a wall trying to work with the "the_post_thumbnail()" function. In my theme, I'm using panels to navigate the site (rather than a top menu) and have them setup so … | |
hello PHP tycoons, i beg for help in giving me a way forward to write php script which will solve the problem i'm facing now. currently i'm developing basic student information system but in php knowledge i'm not that good, thus why i'm asking for help.so what i want to … | |
This is a special purpose boot loader for a system I've called Proto-Sys. Eventually it is going to become a 64 bit application that will encompass all the resources to hook into drivers, benchmark code and optomize algorithms. Synopsis: * Preserve registers as they were passed by BIOS * Create … | |
Hi group, I'm attempting to use a variable (i) to read the multiple files within a folder. However this doesn't seem to be working. Can you tell me what I'm doing wrong? For i = 0 To counter Dim objReader As New System.IO.StreamReader(getRestranName(i)) If System.IO.File.Exists(folderName) Then Do While objReader.Peek() <> … | |
Hello. i'm creating a simple CMS for myself. There is a register form, i can register as the admin of the cms and then with login form, i can enter into admin area to write a new post or edit or delete posts. But there is a problem. I typed … | |
i want to design a software for a robot. i want to use the arrow keys of keyboard to direct the robot. can any one tell me that how can i do coding of that? | |
I'm trying to make average consumption of fuel in my db. But I do not know how to do it. This is an little explanation: I have 2 tables: Tabe CONSUM: ID CARID LI KM DATETIME ------------------------------------------------ 6 9 70.17 174857 2015-02-10 10:58:51 5 5 51.00 154785 2015-02-09 19:11:19 4 … | |
Hi, How to calculate no of days working of an employee and no of days absent in a current month. | |
I am getting id's 3 times. count will be 3 but i am getting 9. i dont know where i did mistake. any body help me $result = mysql_query("SELECT * FROM candidate where user_id ='$username' and password='$password' and status='0' " ); $num=mysql_num_rows($result); if($num>0) { $row1=mysql_fetch_array($result); $cand_id=$row1['cand_id']; $f_mobile=$row1['f_mobile']; $d2=mysql_query("select * from … | |
I am a bit stuck with this script. I am unable to improve the script to work as intended. If you help me out I will be very grateful. Here is the program below: namespace SpreadsheetFunctionality I am a bit stuck with this script. I am unable to improve the … | |
Hello, I am thinking about doing a matrix RREF function, am still in the research stage, but I thought I should post a bug I have been having. The following code doesn't work. What I am trying to do is orderby the array index [0], and then by [i...] etc. … | |
From what I understand a DBMS is a software that manupulates a database. I am developing a retail checkout system which is link to a SQL database. Is that consideres as a DBMS? | |
I am trying to decrypt this PHP file(See the pastpin link given below) for the past one week using many tools around web but nothing worked. After then i found out the ,even i am acessing the tools which is really not build for the particular decryption type.Automated engine fails,Human … | |
I need the solution of this program using C++ .. Develop a database software to maintain the records of students of a college.The software should be user-friendly.The user can easiy add new records,update existing records,create reports of existing records etc. | |
I'm trying to create a webpage to help teacher determine CLO and PLO for exam questions First user will type the keyword in text box and select the chapter CLO() function will start the AJAX the result should be a CLO Number in CLO column and PLO options in PLO … | |
Hello, I used the CodeDom provider to convert a string into an exe (the string is partial): string partial = "using System;\nusing gButtonnamespace;\nusing System.Windows.Forms;\nusing System.Drawing;"; partial+="\nusing System.Collections.Generic;\nusing System.ComponentModel;\nusing System.Text;"; partial+="\nusing System.Threading.Tasks;\nusing System.Reflection;\nnamespace prog{static class program{static void Main(){"; partial += "Form thiss=new Form();\nApplication.EnableVisualStyles();"; partial += "thiss.ShowDialog();"; partial += "}}}"; CSharpCodeProvider codeProvider … | |
Following is the javascript that will change the images in a specific time function startTime() { var timerid = 0; var images = new Array("CSS/Images/shy-baby.jpeg", "CSS/Images/yao-ming.png", "CSS/Images/success.jpg"); var countimages = 0; if (timerid) { timerid = 0; } var tDate = new Date(); if (countimages == images.length) { countimages = … | |
Somebody can help me, why isnt working this code ? <form action="" method="post"> Firstname:<input type="text" id ="changefirstnamebox" name="firstname " maxlength="20"> Lastname: <input type="text" id ="changefirstnamebox" name="lastname" maxlength="20"> <center> <input type="submit" id ="changeusernamebutton" name="changeusernamebutton" value="Change"> </center> </form> <?php $con=mysqli_connect("localhost","root","","user_registration"); if(isset($_POST["changeusernamebutton"])){ echo "working"; if(!empty($_POST['firstname']) && !empty ($_POST['lastname'])) { $newfirstname=mysqli_real_escape_string($con,$_POST['firstname']); $newlastname=mysqli_real_escape_string($con,$_POST['lastname']); echo $newfirstname;echo … | |
I'm currently using this code to restart app with admin rights. // If application can not write to path, alert user. if (!pathiswritable) { if (MessageBox.Show("The application cannot use the current location\nRestart as administrator?", "Need elevation", MessageBoxButtons.YesNo) != DialogResult.Yes) { Exit(ExitError.NOT_WRITABLE_USER); } ProcessStartInfo SelfProc = new ProcessStartInfo { UseShellExecute = … | |
Write a program to print the following pattern based on user input. For eg: If N=4 the code should print the following pattern. 1*2*3*4*17*18*19*20 --5*6*7*14*15*16 ----8*9*12*13 ------10*11 Again if N=5 the code should print 1*2*3*4*5*26*27*28*29*30 --6*7*8*9*22*23*24*25 ----10*11*12*19*20*21 ------13*14*17*18 --------15*16 For N=2 the pattern will be 1*2*5*6 --3*4 PLEASE HELP AS … | |
Hello, I am experimenting with implementing jQuery to validate my form (I hired a programmer one year ago to do this but it seems she made a mess of it so I am attempting to rebuild it.) I have multiple fields in my form and I wish many of them … | |
Hi Everone, How do I remotely access my computer - I want to be able to control the mouse and keyboard and view the screen in real time. I wanted to do this in Java, but the experts sent me here because Java is not platform dependent and C++ is. … | |
i got this error in java eclipse Cannot create extension org.eclipse.core.runtime.CoreException: Cannot create extension at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:296) at org.eclipse.ui.internal.registry.EditorDescriptor.createEditor(EditorDescriptor.java:235) at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:318) at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.createPart(CompatibilityPart.java:266) at org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor.createPart(CompatibilityEditor.java:61) at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:304) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56) at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:877) at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:857) at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:119) at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:333) at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:254) … | |
I have database with columns event_date, subject and description in my mysql table. currently, I am using following code to show calendar to highlight dates on which event is scheduled and on click on that specific date, description is shown.. But with this code, on page load, it shows current … | |
Hi guys, Hope you're all well. I have managed to get the quiz that I have been working on to work now thank god! I just want to show just 20 random questions from the 80 questions that I have in the question bank. Looking at the quiz files I … | |
Sir I using Gallery Slider from this link http://www.a2zwebhelp.com/jquery-auto-image-rotator It works fine but after sometime Google Chrome displays this error message Either Chrome ran out of memory of or the process for the webpage was terminated for some other reason. How to overcome this error message message. I have these … |
The End.