199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Shellie_1

I really want to learn Java but I have no idea how to study it. I just keep reading the books yet have no idea how to program. :(

Member Avatar for Zycog
0
501
Member Avatar for khair.ullah

Hi every one . Recently i complete my project on libraray managment system which work perpectly on my system. Now the problem is that when i Execute my project on other system it show error at con.open i.e it mean that connection string not set in this system . Now …

Member Avatar for Muhammad_113
0
5K
Member Avatar for debayanenator

Hi , I am looking for some directions with this and posted the same question in one more forum. am trying to get the word type as an output from an input file (input.txt) which looks like this, Input file John N N loved V Mary N N . S …

Member Avatar for 2teez
0
227
Member Avatar for rayearth_1

i need help, i want to create a smart auto complete using a text box, it fill clients names from client database, is it any way to create those without jquery, thanks

Member Avatar for cereal
0
518
Member Avatar for ganeshhsk

The problem that im facing is, the below code is working correctly and retrieve the pdf format files correctly and displaying it in the iframe. but it is only working in eclipse internal browser but not in firefox or internet explorer. what will be the reason for this.... Source code: …

Member Avatar for Vivek_18
0
2K
Member Avatar for Altjen_1

Recently I was speaking with one of my friends from school for Self learning softwares. He kept telling me that it is possible to do a program like that in C# and/or Java. I was refusing because did not have much information about this. If it is true, how can …

Member Avatar for JamesCherrill
0
622
Member Avatar for beanboy

hi, The jsp page has multiple check boxes (retrieved from DB),.... [CODE] <input type="checkbox" name="selecttype" value="<%=rs2.getString("description") %>"/> [/CODE] I've read these values in to servlet page using [CODE] String[] selecttype=request.getParameterValues("selecttype"); [/CODE] the 'selecttype' now contains only selected checkbox values. but i want to retrieve values of unchecked checkboxes. Pls help …

Member Avatar for vk
0
4K
Member Avatar for grant.baker

Consider the following query: //$fix and $limit are dynamic values $query="SELECT ICAO_Ident AS ID, Location_Identifier AS LocID, Official_Facility_Name AS Name, Landing_Facility_Type AS AptType, Associated_State_Post_Office_Code AS State, Associated_City_Name AS City FROM APT WHERE `Location_Identifier` LIKE '%$fix%' OR `ICAO_Ident` LIKE '%$fix%' OR `Official_Facility_Name` LIKE '%$fix%' OR `Associated_City_Name` LIKE '%$fix%' ORDER BY `ICAO_Ident` …

Programming mysql
Member Avatar for grant.baker
0
279
Member Avatar for Mariano_1

Hey I'm coding Tron which is basically a two player snake game, I'm a noob when it come to pygame and python and need help with the collision logic and would love it if you could help me. (the comments are just ideas I had for the loops for the …

0
275
Member Avatar for සශික

I used below select query to select information from two tables. But it show one record. How to change this code to view all records ? select loan.loan_id, loan.customer_name, loan.total_amount, ifnull(sum(settlement.amount), 0) as 'Total Received', ((loan.total_amount) - ifnull(sum(settlement.amount), 0)) as 'Total Due' from loan left join settlement on settlement.loan_id = …

Member Avatar for Bukola_1
0
276
Member Avatar for Dennis_9

I'm knida new to Python and I made a program that works the way I want by renaming files in bulk, however it will only work in the current folder and will not go into sub directories. i already have import os from os import rename, listdir is there any …

Member Avatar for Gribouillis
0
173
Member Avatar for Naheed_2

Hi, I have the following html code I have for a task manager. <%@ Page Title="" Language="C#" MasterPageFile="~/Site02.Master" AutoEventWireup="true" CodeBehind="Tasks.aspx.cs" Inherits="DMS.Tasks" %> <%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %> <asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server"> <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server"> <div class="row-fluid sortable"> <asp:Button runat="server" ID="btnAddTask" CssClass="btn btn-success btn-toolbar" Text="Create Task" OnClick="btnAddTask_Click" /> <asp:Button runat="server" …

0
294
Member Avatar for Alishan_1

Can we define an object with own property but use pre-defined method??? For Example: I defined and Object: subject And use it with a method i.e: subject.write Can we???

Member Avatar for Alishan_1
0
109
Member Avatar for Nathan_6

Hi, everyone. I want to create a RISK-style game in C++ with decent graphics, of course. I would like to create a map with countries as buttons [I know that this is possible in java through extensions but I want to do this in c++] Could anyone please help me …

Member Avatar for Nathan_6
0
200
Member Avatar for kamilacbe

string query = "DECLARE l_cursor SYS_REFCURSOR;ServiceName la_service_provider_detail.service_name%TYPE;Surname people.surname%TYPE;Forename people.forename%Type;"+ "Action Varchar(50);Rate ey_pupil_premium_log.rate%Type;"+ "Funding_Code single_funding_formulas.funding_code%Type;"+ "BEGIN EYPupilPremiumPackage.GetEyPupilPremiumLog(pLogId=> 6613, pPreview => 'T',EyPupilPremiumLog=> l_cursor);"+ "LOOP"+ "FETCH :l_cursor "+ "INTO ServiceName, Surname, Forename,Action,Rate,Funding_Code;"+ /*IF l_cursor%NOTFOUND"+ Then DBMS_OUTPUT.PUT_lINE('NO DATA FOUND'); EXIT WHEN l_cursor%NOTFOUND; END IF; "END LOOP;"+ "DBMS_OUTPUT.PUT_LINE(ServiceName || ' | ' || Surname || …

Member Avatar for rproffitt
0
1K
Member Avatar for kamilacbe

Hi , here is my procedure where i want to return the open cursor to client using EyPupilPremiumLog parameter and then have to loop through for looging purpose which i cudnt able to do.. tried fetch /for etc but missing somewhere the nuanses .. Advise would be helpful. PROCEDURE GetEyPupilPremiumLog(pLogId …

0
286
Member Avatar for Sourav_6

We need to select a foreign language out of German,Chinese,Japanese,Korean & French for our third semester of B.tech degree in computer Science,so which language should i choose???

Member Avatar for ddanbe
0
145
Member Avatar for Tre Sivileo

Hey new to JDBC SQL DERBY and Java so I don't know why but my Jtable only shows the columns. Here are my codes for my LeaderboardDAO class. public class LeaderboardDAO extends Dao { private static final Logger LOG = LogManager.getLogger(PlayerDAO.class); public static final String TABLE_NAME = "leaderboard"; private static …

Member Avatar for Tre Sivileo
0
372
Member Avatar for _1_14

I designed app to make order for pizza food restaurant I show userid,menu id ,address,longtiude,latitude then press on button make order Error show after I press button and found in async task doin background It give me fatal exception error An error occurred while executing doInBackground() and it show to …

Member Avatar for rproffitt
0
1K
Member Avatar for matoo

HI everyone i am trying to write POS and Inventory for myself in vb6. I am stuck and gone blank what to do. here is what i want to do. search database for the stocks. change the caption of the button ( eg caption of the botton is "COKE 250ml" …

Programming visual-basic
Member Avatar for matoo
0
255
Member Avatar for ajahar

I was working on bank ifsc code search engine which provides all branch details for every bank in India. I used Php and Mysql to handle database queries and data retrieval. The whole project looks good but there were some technical limitations stopping me. Like, i have done all SEO …

Member Avatar for rproffitt
0
1K
Member Avatar for _1_13

We wish to write a program countletter.cpp that takes a filename and a single character on the command line and prints the number of occurrences of that character in the file

Programming c c++
Member Avatar for rproffitt
0
98
Member Avatar for Vikram Sehgal

can someone please explain me this piece of code //say getdetail() is a function declared above a.getdetail(); f.write((char *) & a,sizeof(a));

Programming c++
Member Avatar for Vikram Sehgal
0
342
Member Avatar for vivekgalatage

Hi Guys, I m writing one HTML page where i wanted the page orientation to be set to LANDSCAPE through Javascript or CSS. So when I click on Print button or anyways on the HTML page, the print window will pop-up so now in that orientation property should be set …

Member Avatar for Sara_14
0
22K
Member Avatar for vishal_13

In this code if we enter the prime numbers like 3,5 or 7 the output is wrong.and if we input 3,11or 17.. output is correct why????

Programming algorithm c++
Member Avatar for rubberman
0
57
Member Avatar for Azer_1

I have created a simple Javascript slider with Slice and Box effects. It runs and no problem. But when i look up console, I see that after two cycles it throws an error. Browser says that document.getElementById('smth') cannot get specified element. What may be the problem? Below is codepen URL. …

Member Avatar for Azer_1
0
141
Member Avatar for Ivan_10

I want to redirect every user on my site to folder - if folder exists with htaccess. Regardless to which page he wants to access (index.php, team.php, custom.php), he must be redirected to the folder I want.

Member Avatar for rproffitt
0
425
Member Avatar for phphp

Sir I have following codes <?php if (isset($_POST['submit'])) { $allowedExts = array("gif", "jpeg", "jpg", "png"); $temp = explode(".", $_FILES["file"]["name"]); $extension = end($temp); if ((($_FILES["file"]["type"] == "image/gif") || ($_FILES["file"]["type"] == "image/jpeg") || ($_FILES["file"]["type"] == "image/jpg") || ($_FILES["file"]["type"] == "image/pjpeg") || ($_FILES["file"]["type"] == "image/x-png") || ($_FILES["file"]["type"] == "image/png")) && ($_FILES["file"]["size"] < 20000) …

Member Avatar for hielo
0
196
Member Avatar for _1_6

I know this should not be difficult, probably I've been too lazy to figure it out. When I execute the python script below, I get this message: <bound method Forces.Sums of <__main__.Forces instance at 0x7fcecfb56a28>>. What is wrong? import numpy class Forces: """ Forces between particles""" def __init__(self, l1, l2): …

Programming python
Member Avatar for Gribouillis
0
278
Member Avatar for riccardo_1

Hi all, i'm currently workin on a project and i need to show on a maps the live position of my car. i have an arduino wich send every 5sec to my DB the position The problem is that i can't figure out how to refresh my polylines every 5second …

Member Avatar for rproffitt
0
1K
Member Avatar for _1_5

Hi i'm make an Inventory System for my personal game project with C++ Composite pattern. What I'm going to do is set a limit so player unable add item once hit the specific limit. but here my problem : 1. Did i set the limit & add item function correctly? …

Member Avatar for rubberman
0
364
Member Avatar for rhys_2

Hi, i have been making a maze game in pygame. I have made every level and have them all in different folders so i can find them easily. I have been trying to make a menu for the game where you are able to pick any level and play it. …

0
148
Member Avatar for Koel

Hi, I have two text files. The first one has a list of words , like the following : File 1.txt Laura Samuel Gerry Peter Maggie The second one has paragraphs on it. For e.g. : File2.txt Laura is about to meet Gerry and is planning to take Peter along …

Member Avatar for Koel
0
309
Member Avatar for יוחאי

on my university I got an assignment to build a program on OpenGl that read from a given txt file a coordinates of some lines and draw them to the screen. i thank everyone that might help me, I know a little bit programming on C but I'm a little …

Member Avatar for rubberman
0
276
Member Avatar for nadiam

Hello. Im doing some practice questions and Im kinda stuck. So basically I have three Jbuttons: "Menu", "Left" and "Right", a JTextField : "tDisplay" and an array : status. code (dummy code for example): String[] status = {"hello","goodbye","goodnight","goodmorning"}; what needs to happen is when Menu is clicked Hello is displayed …

Member Avatar for JamesCherrill
0
424
Member Avatar for debayanenator

Hello, Can you please help me with the following scenario in Perl scripting? I want to compare two text files and save output of this comparision in third file with flag PP. So basically, the word common in both the text files should be printed with a flag |PP on …

Member Avatar for debayanenator
0
969
Member Avatar for sup_1

Hi My code is giving me a red line under '.createStatement()' and I really don't know why and how to fix it. @Override protected String doInBackground(String... params) { if(userid.trim().equals("")|| password.trim().equals("")) z = "Please enter User Id and Password"; else { try { connection con = (connection) connectionClass.CONN(); if (con == …

Member Avatar for JamesCherrill
0
1K
Member Avatar for JustMarkInAz

Hello, My vb.Net code interacts with a design software and extracts a list of strings into an array. I want to use that array to populate a list box on a form. Every search I try always retursn "How to send array from one form to another" I only have …

Member Avatar for tinstaafl
0
212
Member Avatar for JustMarkInAz

So I ask a question, and I get a response, ok cool. I want to eleaborate on my question to be more clear. I cannot attach anything (files or pictures). I try to just enter my code and clarifications and when I hit "Submit" it refuses and says it can't …

Member Avatar for Dani
0
137
Member Avatar for Stefce

I have problem with selecting elements from array i have this code which is supposed to take the choosed element and echo it back but instead that this code just takes last element and echo it what is wrong with the code ? <div class="col-xs-3"> <?php global $m; $currencies = …

Member Avatar for Stefce
0
390
Member Avatar for kkavita060
0
106
Member Avatar for Sadiq_2

Good day ,wish to know how to upload multiple image files with multiple inputs and multiple directories. My code is <table border="1px" width="100%"> <tr><td colspan="3" style="background-color:#E8E8E8"><b>Supporting documents upload</b></td></tr> <tr><td> </td><td colspan="3"><input style="height:35px;" type="file" name="pri" required ></td></tr> <tr><td> </td><td colspan="3"><input style="height:35px;" type="file" name="oresult" required ></td></tr> <tr><td> </td><td colspan="3"><input style="height:35px;" type="file" name="oresult2" required ></td></tr> <tr><td> </td><td …

Member Avatar for series
0
2K
Member Avatar for se00an

Hello all, Inverting an upper (or lower) triangular matrix is a trivial algorithm, due to the nature of the matrix. I am having an issue getting a part of my upper-triangular matrix inversion function to work, and I would like to get it working soon for a personal project. From …

Member Avatar for Ivan_12
0
905
Member Avatar for rouse

I am looking for a jQuery tutorial that will show me how to do what I have heard called the garage door slide. Two panels that are initially closed, together. When a button is pressed or the panels are hovered over the panels move apart, one to the left and …

Member Avatar for hericles
0
168
Member Avatar for nivedita5

I am working with a code which stores the information of customers in a file called customer_details.txt then asks the user to enter a name and then searches for the name in customer_details.txt, if the name is found, the entire details of the user is displayed on the output screen. …

Member Avatar for 2teez
0
3K
Member Avatar for Marco_4

Hello, how can I improve this form login with error alerts? For example, if the fields are empty, if entered data do not match any user, etc. etc. Right now my form is so, taking advantage of a class: if(isset($_POST['login'])){ //Retrieve the field values from our login form. $username = …

Member Avatar for diafol
0
406
Member Avatar for rhys_2

Hi, i have been making a maze game in pygame. I have made every level and have them all in different folders so i can find them easily. I have been trying to make a menu for the game where you are able to pick any level and play it. …

Programming os-x python
0
172
Member Avatar for nitin1

Hi, I have been working on JNI. I have one doubt. When I call any native method from android activity (Java code), then we get jclass object from jobject instance we get in the native method as a parameter. Why do we need it actually? Here is a snippet from …

0
183
Member Avatar for TheFearful

Hey everyone, I am trying to be able to have a textbox that only accepts numbers that is either 1 or greater but less than the number of items in a table from the databse. The queries work fine and such. What I'm trying to figure out is how to …

0
200
Member Avatar for bigignoramus

I have been wrestling with this subject for six months and can find no complete answer anywhere on the web or in any book seen. I have become very familiar with the debate and so it is not necessary to debate the following here. I had rather do all of …

Member Avatar for gentlemedia
0
2K

The End.