199,113 Archived Topics
Remove Filter ![]() | |
Hello everybody, this is the first time I'm going to create a real-life JAR, so maybe a bit stupid question but I'm totally out of ideas here... Okay, I have a project named WiWClient which depends on other project named common and requires libraries from lib (there are like 20 … | |
In my project, I need a stand alone scroll bar for my text box. So I have created a customized scroll bar. Any idea How to use my customized scroll bar(both Horizontal and Vertical) in the text box instead of built-in scroll bar? | |
how to print a web page using php code only ?is it possible are not ? i am using **php5.3.8 **version | |
i am making a project in vb.net and i have a bio data form in it i have 2 textbox in it, TextBox1 is for Name and the Textbox2 is for father's name . i want to make the first letters of Name in textBox1 as Capital(eg: Pratik Shukla) in … | |
Good day, I created a simple search in sql. inside the textchange event. everythis seem to be ok for text box. i want to have another search with the other text but this time i want to use the first search and concat it with the next condition.. here is … | |
Pls.. Someone help me on how to display in JLabel the product with two decimal places after I click a button.. pls. help I am new in making a swing program | |
Hi Guys, I'm new to Java and hoping someone can help me with this code. I started to work on this exercise to create a calculator app, and Im really stuck on two things: 1. NumberFormatExeption - NetBeans IDE keep show me this error: }catch(NumberFormatExeption e){ required: Throwable found: NumberFormatExeption … | |
Hello, I am looking for a free ads management script. Basically, every time someone click on the ads, in the website backend there is a daily and monthly graphic and table statistic that record the ads click. Any idea? | |
I created an application that can looks into the database for people having their birthday today and then send mail to them. The issue is that I want the system to do this automatically instead of me clicking it every day. I tried a scheduler but it stops working after … | |
Hello guys im in need of a help. I have a checkbox on a Listview1 and i also have listview2, textbox and 2 buttons. On listview1, i have a list of items and its subitems. Then im going to put a check on the one of the listview item then … | |
Hey everyone, Sorry if I seem a bit annoying to some people on here as well as posting something that seemed to have been solved in another post, but I cannot seem to figure out why I am getting all these error message that I've written into the processing of … ![]() | |
I need to design an application that makes a histogram that visually shows the distribution of a set of numbers. It has to read in numbers 1-100 and then produce a chart which labels how many of each number is input. So if my input is 1, 23, 17, 13, … | |
Hey guys I am trying to prompt the user to input a file name, and save that file name into a packed array of characters then use that inputed flename to perform some opertions. FileName : text; Line = PACKED ARRAY [0..79] of char ; writeln('Please input a file name … | |
hi, i am getting Run time error '13': Type mismatch error. below is my code: Dim ndMain As Node Set ndMain = TreeMain.Nodes.Add(, , "Root", "Main Menu", "myappname") thanks, krunal | |
Hi everyone, I need some help with my homework. I checked online and found loads of results but didnt understand much. I need to submit hw by tomm nyt .. 27hrs from now. Please help me if you can plz .. Here is my code snippet public static void main(String[] … | |
i am facing another issue. i want to delete row via ajax and fadeout. i have write below code. this is successfully deleted the row but do not fadeout. var parent = $(this).parent().parent(); $.ajax({ type: "POST", url: "delete_order.php", data: "id="+id, success: function(){ row.find("td").fadeOut(1000, function(){ $(this).parent().remove();}); } }); return false; | |
Hi there, am I doing something wrong with the if-statement? it either doesn't evaluate the conditions I've got in there or throw an error. $('button').click(function(){ var button = $($(this)).text(); console.log(button); // this logs the value of button as night or day depending on the button I click if(button == 'day'){ … | |
error:Notice: Undefined index: username in C:\xampp\htdocs\E_COMMERCE\INCLUDE\header.php on line 20 login in information: so i have a checkbox called "$remember_p". if check box is on than i want to set cookies but if its not on than i want to set session. if($remember_p == "on") { //cookies doesnt get destory when … ![]() | |
Hi guys, I'm defining my dropdownlist in my codebehind and it continues to crash when when I bind the dataset to the actual dropdownlist. here is the aspx file: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="_332_Final_Proj.WebForm1" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> <%-- <link href="~/Content/StyleSheet1.css" rel="stylesheet" type="text/css" />--%> </head> … | |
I am trying to add collision detection to this simple game, but I am a little lost on where to begin. I know I need to use rects to do this but I am struggling to find out what I need to code to make this work. Any pseudocode or … | |
Hi everyone. im kinda bored so i made my own code language. the code is like a=e b=q c=m d=p e=i ect. so i made it into a program. so i started to fill in the code: Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim … | |
i am trying to store image in folder and 2nd part is store image name in database. this works fine but the problem is that no matter how many images u upload, there is only one image in folder name 0.jpg. $sql = mysql_query("SELECT * FROM item WHERE image_user_name = … ![]() | |
Hello good day. I have a quick question is anyone able to assist me in saving a password file. I encrypted my password and so I want to save the salt and the encrypted password(which are byte arrays). I tried using a properties file, but I soon found out that … | |
Today i was reading someone written code and trying to understand it, but I have encountered so many times that programmers override builtin methods or set new properties , the code below is from a tutorial i came accross , I hope some one can help me out how code … | |
Hi everyone! I have used following code to show dates in combo boxes. Private Sub Income_Sheet_Report_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load cmbisrbdt.Items.Clear() cmbisrbdt.Text = "BEGINNING DATE" cmbisredt.Items.Clear() cmbisredt.Text = "END DATE" Me.FormBorderStyle = Windows.Forms.FormBorderStyle.None Dim con As New SqlConnection(ConnectionString) Dim com As SqlCommand = Nothing Dim … | |
If am writing a VB.Net module for a project I am working on and have decided to try out different ways of doing some things, without getting rid of the older code that worked. I am selecting between these methods by setting a `#Const` at the beginning of the Module … | |
I have this static block of code which is following Singleton design pattern. class Employee{ private static Employee emp; static { if (emp==null){ emp=new Employee(); } } public static Employee getEmployee(){ return emp; } } My doubt is if this code can be accessed by Mutiple threads concurrently and break … | |
{ conOOC.Open(); SqlCommand cmdDisplay = new SqlCommand("SELECT * FROM [Course] WHERE ([CourseID] = @id)", conOOC); cmdDisplay.Parameters.AddWithValue("@id", ddlCourseList.SelectedValue); SqlDataReader dtrDisplay = cmdDisplay.ExecuteReader(); while (dtrDisplay.Read()) { GridView1.DataSource = dtrDisplay; GridView1.DataBind(); } this one is depends on user select which items on the dropdownlist, once they have selected should display the gridview, but … | |
Hi there, I am just beginning to learn java right now, and have a real begeinner question. I ahve read that when you declare a float variable and ssigna value to it the number has to be followed by an "f". What I coudln't find out is why: `var floatNumber … | |
Hello! I've got a question here that has me scratching my head - I've got a table of IP addresses. Each octet has its own field (OCT1,OCT2,OCT3,OCT4). The first two octets are fixed, and will never change (so, the IP addresses on my table are between X.Y.0.0 and X.Y.255.255). As … | |
i'v 1 multidimensional array from where i just want to print where (parent==0) by counting. It suppose to provide me 2 value but when i write return method on line-32 it show me d 1st one & whn write on line-35 , it show me the last one. how can … | |
**Can some one please help me with this ?** import java.util.*; public class Expression{ /* * Strings used for storing expression. */ String s, x; /* * Term evaluator for number literals. */ double term(){ double ans = 0; StringBuffer temp = new StringBuffer(); while( s.length() > 0 && Character.isDigit( … | |
i have a checkbox (ckVat) and a textbox (txtvat). what i want to do is that when i check the checkbox, it should pull data from the database into the textbox. the table from which am retrieving the data is called "Vat" so i want it to pull the vat … | |
Hi everyone, I'm having eerors with my php code and here's the errror code that i'm recieving: > Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in /home/w0638385/public_html/blog/index.php on line 9 > > Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given in /home/w0638385/public_html/blog/index.php on line 22 … | |
Hello Everyone... Can someone tell me what am not doing right here? Because am trying to insert a record into a database through a VB.net 2012 windows form into a MSsql satabase. Problems: When I write the codes without the insert statement, it will work well and open the connection. … | |
I have a video program that use gstreamer and wxwidgets. Before Ubuntu 9.10, the program works fine. But since I upgraded to 9.10 (or 10.04), it keeps getting crashes when trying to view video. The error is usually Fatal X11 IO error. I googled and found that GTK+ implementation is … | |
Hi guys...I'm new to python so I've no idea what I'm doing but I need to write a function that 1) asks the user how many strings they would like to input. 2)Stores the strings in a list 3) sorts the list 4) Displays the sorted list 5) Displays the … | |
package hospitalclient; public class Person { static int idnumber= 1500; private String name; private String telephoneno; private char gender; private String nationality; //No Parameter constructor public Person() { name="unassigned"; telephoneno = ""; gender = 'M'; nationality = "Saudi"; } public int getid() { return idnumber; } // Accessor Methods public … | |
Students Details and Mark Entry Form Input : Number of students, Student Name , Student Id, 5 subject marks entered through inputbox by using dynamic array Output: List of all input Students Grade Form Input: - Output : List of students Name, ID, 5 subjects, Average, Grade Students Grade Analysis … | |
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package testelimination3; import java.util.Scanner; /** * * @author Nick */ public class TestElim { public static void main(String[] args){ Scanner input = new Scanner(System.in); System.out.println("Please enter a set of numbers"); int[] … | |
Abstract—A video copy detection system that is based on content fingerprinting and can be used for video indexing and copyright applications is proposed. The system relies on a fingerprint extraction algorithm followed by a fast approximate search algorithm. The fingerprint extraction algorithm extracts compact content- based signatures from special images … | |
Hello, I have been given a class diagram where a variable called light_years must be a const int and stored in the space class, but later on that value must be used in the main file. Below is the space class class space { private: static const int LIGHT_YEARS; public: … | |
Does the following code make p as a null pointer static int *p; since `printf("%u",p);` outputs as 0 though the syntax is `int *p=NULL or int *p=0` | |
<asp:TemplateField HeaderText="Interview Date"> <EditItemTemplate> <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> <ajax:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="TextBox1"/> </EditItemTemplate> </asp:TemplateField> this gives me an error, when i click on EDIT button in gridview, even ajaxtools are installed and work when i use them simply, Could not find any resources appropriate for the specified culture or the neutral … | |
Ok i made a chat thing for a forum i have but it didn't work but there was a detail box and this came up on it. "Java Plug-in 10.9.2.05 Using JRE version 1.7.0_09-b05 Java HotSpot(TM) Client VM User home directory = C:\Users\Patricia ---------------------------------------------------- c: clear console window f: finalize … | |
so i want to create a database which will have information about item. so first user will have to choice main_catgory, than sub_catgory, than item info. so for ex: ------------ main_catgory ------------ apparel home decor beauty ----------- sub_catgory ------------ male female furniture accessories bath and body hair care ----------------- item … | |
**Hi Team Daniweb,** Explain perlOOP concepts (basics and a bit advanced) with simple examples to understand what is OOP and how can we use this concepts in PERL. **Thanks!** Anil A Kumar | |
hi friends, here is my problem i'm designing a page with no. of checkboxes but not able to insert its value in mysql... here is my php code: **<?php $host="host"; // Host name $username="root"; // Mysql username $password=""; // Mysql password $db_name="packtest"; // Database name $tbl_name="test"; // Table name // … | |
| Sr.No | Membership No | Name | Addresss | Occupation | |-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | Account | |-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | | 35957 | SHAH HEMANGINI KANAIYALAL NATVARLAL |SHROFF STREET,, KILLA PARDI, DIST.VALSAD, Pardi, Pin Cd : 396125 | | 1 | 35959 | SARSIWALA SAKINABEN ASGARALI ABDULHUSEIN |OPP.HIGHPOWER SODA FACTORY,, DUNGRI FALIA,DAMNI … | |
**I have a text file as below:** I have a text file as below: BRANCH :SARDAR BHILADWALA PARDI PEOPLE'S CO-OP. ,Head Office NODE : 9 BRANCH CODE : 1 RUN DATE :11/05/2009 USER : SNA REPORT ID :R048260 * AREA WISE MEMBER LISTING OF SHARE CUSTOMERS ** PAGE : … |
The End.