64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for johnt68

Hello After two days of struggling I have come for some help. I have a listview of contact names that I want to search with text added into a textbox. It can either filter these as the text is entered or by a button search ... I haven't got anywhere …

Member Avatar for keskin
0
4K
Member Avatar for flash121

Hello, I got an animation on my form, which is done using the onpaint method and invalidate (with constant updating of the moving object's position ofcourse). Later on, i put a background image on the form and since then im having performance problems with my animation. If im not mistaken …

Member Avatar for Fandi_1
0
1K
Member Avatar for gbhs

Hi to all, I have to preview dataset data using printdoc and my code is below. Upon clicking the Preview button the preview dialog displays fine with data. when I close the preview dialog then click the preview button the data is not diplayed. weird behavior to me. what should …

Member Avatar for Santanu Das
0
586
Member Avatar for koneill

I'm trying to send an e-mail using the PHP mail function and having two issues in regard to the below code: 1) When I get the e-mail - it is not formatted in HTML - instead I get just the actual HTML code in the e-mail - I get all …

Member Avatar for koneill
0
208
Member Avatar for shammi.khan.73

I want to insert a NULL value into my integer column. if ($startYear == "") { $startYear = NULL; } mysqli_query($con, "INSERT INTO Application (startYear) VALUES ('".$startYear."')"); Before you ask, I have checked if $startYear is ever empty, and it is, so this should work. When I run this query …

Member Avatar for shammi.khan.73
1
6K
Member Avatar for Nabeel_2

$(".qty").change(function(){ $.each($('.qty'), function(){ var form_data ={ rowid: $('.rowid').val(), qty: $('.qty').val(), ajax: '1', }; alert(form_data); $.ajax({ url:"<?php echo site_url('cart1/update');?>", type:'POST', data: form_data, async: false, success: function(data) { alert(data); } }); });

Member Avatar for Airshow
-2
3K
Member Avatar for psichoman5

I have a problem with concatenate strings in pyhton. I need to concatenate the string clave and cadena_aleatoria(x) while cadena_inicio is minor than 256. This is my script: Any help? .Thanks! import sys import random x = random.randint(0,9) def cadena_aleatoria(x): cadena = [] cadena.append(x) while len(cadena)<10: x = random.randint(0,9) cadena.append(x) …

Member Avatar for Gribouillis
0
183
Member Avatar for Ritesh_4

Hi I have a code in java to generate a sitemap xml, and to get the last modified date using the following line of code: `oPrint.println(" <lastmod>"+ doc.getLastModified().toString()+"</lastmod>");` The output in the browser when calling the xml file is `<lastmod>23/05/2014 16:48:24 ZE4</lastmod>` which is in "dd/mm/yyyy"format. However, from this link, …

Member Avatar for Ritesh_4
0
792
Member Avatar for younes.keraressi

hi, i create an webapplication with php , i commented the line deny from all in conf file of apache, the users can see the index.php but the problem is: when they click on username and pass therse nothing happens, but on the conexion button it work, its looks like …

Member Avatar for younes.keraressi
0
202
Member Avatar for aluhnev

//HI,need help to extract info from text file and display. //Here is my text file called Report.txt 01 09 2014 john 3.4 12.5 9.5 02 09 2014 freddy 3.4 12.5 9.5 03 09 2014 conor 3.4 12.5 9.5 04 09 2014 mike 3.4 12.5 9.5 05 09 2014 john 3.4 …

Member Avatar for tinstaafl
0
476
Member Avatar for red711

Hi, I'm new to perl, and need help about comparing 2 columns within 2 different .tsv files. I have search through the forum for some similar case of mine, such as [url]http://www.daniweb.com/software-development/perl/threads/335711[/url], [url]http://www.daniweb.com/software-development/perl/threads/336421[/url] and [url]http://www.daniweb.com/software-development/perl/threads/311399[/url] , I have tried to modified them according to my needs but somehow the final …

Member Avatar for 2teez
1
560
Member Avatar for SimonIoa

I HAVE A PROBLEM WITH THIS CODE $('.reply_stdelete').live('click',function() { var ID = $(this).attr("id"); //var X=$(this).attr("my"); var dataString = 'c_id='+ ID ; jConfirm('Sure you want to delete this conversation?', '', function(r) { if(r==true) { $.ajax({ type: "POST", url: "<?php echo $base_url; ?>conversation_delete_ajax.php", data: dataString, cache: false, beforeSend: function() { $("#stbody"+ID).animate( { …

Member Avatar for SimonIoa
0
90
Member Avatar for James_30

Would it possible to get sample build.xml file with imports a properties sheet. Or links to good build file structure and maybe a example of a good file system to maintain? I am dl the ant manual now. Anything that pertains to eclipse and ant would help me get started. …

Member Avatar for James_30
0
162
Member Avatar for daino

Hi I have found several articles on the web about data compression and encoding. My interest in learning this is to decompress, compressed data in files such as PDF etc which are encoded in one way or another. I'm probably asking the wrong question here. I'm wondering how someone goes …

Member Avatar for Ghost0s
1
203
Member Avatar for kazilotus_1

I have a page where I have 100 combo boxes. I made this bookmarklet : javascript:document.getElementById("hioooo").selectedIndex = 38; It works but only for the first combo box, all the rest combobox remains unchanged although they also have the id="hioooo". What should I do to change all the combobox selection to …

Member Avatar for kazilotus_1
0
511
Member Avatar for acrocephalus

Hello, I am trying to build a function that takes the input of the IBAN field (alphanumeric), counts them and compares the to the needed value (24). Then, if don't match it triggers an error message, if they match it does nothing. This is the code: <script type="text/javascript"> function checkIBAN(iban) …

Member Avatar for acrocephalus
0
175
Member Avatar for kayleigh0411

There are no errors when I compile the program, but when I run it and use the "Enter" or "Clear" buttons, they do not work. ----jGRASP exec: java IncomeTax Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at IncomeTax.enterJButtonActionPerformed(IncomeTax.java:182) at IncomeTax$1.actionPerformed(IncomeTax.java:125) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2346) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252) at java.awt.Component.processMouseEvent(Component.java:6525) …

Member Avatar for stultuske
0
2K
Member Avatar for Bhoot

First of all, the keylogger that i am developing is not at all for offensive and destructive purposes. :) I am developing a client monitoring application in C#.NET. Keylogging is one of the features in my application. Though i have developed the code for the keylogger, i have not been …

Member Avatar for Jay Cox
0
230
Member Avatar for christinetom

Hi there everybody. I hope you are all well. I have a question about planning and designing computer programs. Can someone tell me how someone going about a large program would go about this. There would be allot of classes, functions, modules etc. I want to learn how to do …

Member Avatar for Bunny Slimer
0
260
Member Avatar for koneill

I'm calling a simple e-mail validator in JavaScript as the below shows - this works fine as I'm calling it in my HTMl form as such: <form name="email" action="mail.php" onsubmit="return SubMail_Validator(this)" method="POST"> Then this code does the validation that an e-mail has been entered - however - I need the …

Member Avatar for koneill
0
887
Member Avatar for danielleCSU16

Alright i have written my code to reverse a byte string character by character in-place using a loop. We have to utilize the SIZEOF and OFFSET operands and use indirect addressing, However my issue is that I am still getting the string displayed forward and not in reverse. I think …

Member Avatar for untio
0
2K
Member Avatar for lewashby

In the following program what is `ifstream`? It looks like it might be a Class name making `file_in` an object of that class passing `filename` as an argument but this particular book hasn't touched OOP yet so I wasn't sure. #include <iostream> #include <fstream> using namespace std; int main() { …

Member Avatar for NathanOliver
0
336
Member Avatar for Pyler

I'm almost giving up on this problem. How to convert an integer to it's hexadecimal equivalent. I'm not looking to printout the hexadecimal equivalent of the integer in printf() but for a hexadecimal number.

Member Avatar for Lardmeister
0
395
Member Avatar for Jake.20

Greetings, can someone help me on this? I'm really out of ideas. What i need to do is when i click the link the value of it's ID should be pass on the label inside the modal. Here's my code: <div class="row"> <div class="large-12 columns"> <label id="devFont">-Device-</label> <div class="row"> @foreach …

Member Avatar for Jake.20
0
8K
Member Avatar for piers

Hi, I am trying to take a number entry from a text field to use in some round Robin code to output the data. When I type a number for the variable num e.g. var num=12; the program works fine, but if I try to do it from text field …

Member Avatar for piers
0
180
Member Avatar for AliGulSoomro1

I am desiging a Form in which I am asking user to enter: Name in Textbox1 ID Card Number in Text2 here i want to code for textbox2 that it accepts only numbers and "-" but don't know how to control. Can anyone help me?

Member Avatar for J.C. SolvoTerra
0
1K
Member Avatar for docfnt

I've built several user/custom controls in the effort of saving space on my UI main screen. Slide in/Sliode out, collapsable controls save a lot of space on the screen for Art/Design programs. My nightmare is that I hit the same wall every time. I can't get a control to activate …

Member Avatar for docfnt
0
228
Member Avatar for redkowloon

Hi , my friend pass this coding to me , to change it on few things , i try to change it first , to make a while looping ... loop for once but i get error , then change the input from number+letter to letter+number , still got no …

Member Avatar for redkowloon
0
123
Member Avatar for moaz.amin.37

import java.io.*; class ConsoleInput{ public static void main(String ss[]) throws IOException{ InputStreamReader isr=new InputStreamReader(System.in); BufferedReader br=new BufferedReader(isr); char c=' '; System.out.println("Enter Characters And q to Quiet"); do{ c=(char)br.read(); System.out.println(c); }while(c != 'q'); } } in upper code this line `c=(char)br.read();` get string from user at this point user enter some …

Member Avatar for JamesCherrill
0
268
Member Avatar for malatamil

after login i want to display logout and username. but here if i login again its showing login. please some help me index.php <?php session_start(); $city=$_SESSION['city']; $userl = $_SESSION['username1']; <?php if(!isset($userl) == '') { ?> <div class="header_nav_left">Welcome <?php echo $userl; ?> | <a href="logout.php" id="clicklogin" title="Logout" onClick="NewWindow(this.href,'loginwindow','500','500','no','center');return false" onFocus="this.blur()">Logout</a></div> <?php …

Member Avatar for toxicandy
0
152
Member Avatar for lewashby

One of my C++ books was showing the line `cin.getline(arg, arg)` and later showing `getline(cin, arg)`. Why is the second one not object.function and yet have the object as one of the arguments? What's the difference?

Member Avatar for lewashby
0
327
Member Avatar for aluhnev

#include "stdafx.h" #include<iostream> #include<fstream> #include<string> #include<vector> using namespace std; struct DATE{ int day; int month; int year; }; struct onDutyRecords{ string name; double sunshine; double rainfall; double midTemp; DATE date; }; onDutyRecords person; int ShowMenu(void); void ListDaysOnDutyOfMet(vector <onDutyRecords> &); void ListAllTheWetDays(vector <onDutyRecords> &); void ListDaysOnDutyOfMet(vector <onDutyRecords> &); void ListAllTheSunnyDays(vector <onDutyRecords> …

Member Avatar for JasonHippy
0
330
Member Avatar for moaz.amin.37

Hello every body i have a problem with Scanner class.So my question is that when we use `BufferedReader` or`InputStreamReader` to reading and writing input and output then we use `close()`method to close the stream but in the case of `Scanner` why we do not close the stream this is my …

Member Avatar for JamesCherrill
0
162
Member Avatar for davy_yg

Column 'group_id' in where clause is ambiguous. I wonder why? invoice.php <?php //LOAD GROUP $result2 = mysql_query("SELECT group_name FROM `group` INNER JOIN invoice ON `group`.group_id = `invoice`.group_id WHERE group_id = '".$_GET['group_id']."' ORDER BY group_date") or die(mysql_error()); $result = mysql_query("SELECT * FROM `invoice` WHERE group_id = '".$_GET['group_id']."' ORDER BY group_date ASC") …

Member Avatar for Adrian_5
0
566
Member Avatar for nadiam

Hi, so i have this list of table seats like table of 6, table of 8 that kind of thing and i have images(width and height:110px) that correspond with those seats but by default they are hidden using `.hide()` and there is also a div(width:880px, height:350px) where these images would …

Member Avatar for nadiam
0
340
Member Avatar for ankit1122

hello i have seen that tables are locked in mysql while reading the same table..so should i continue using mysql in my website...

Member Avatar for steelbrain
0
285
Member Avatar for Slavi

Hey guys, another one that I got stuck on(Although I passed 4000 points, soon to be on the leader board!:D) ... so here is the idea I have an input array for example {1,2,3,4,5,6,7} and an int number for example 10; so what I have to do is return all …

Member Avatar for Slavi
0
279
Member Avatar for Razi_1

Does anyone have an idea of how I should make a simple calculator without the case function?

Member Avatar for Razi_1
0
1K
Member Avatar for koneill

All, I'm wondering if their is a way to use the CSS clip to place my image propational within another image. In this case - I am giving users the ability to upload their own image: As an example - this URL shows the uploaded image: http://www.pinkcloud.com/custom_clock/submit.php?upload_message=image uploaded&upload_message_type=success&show_image=kmo_mikeg.jpg Here are …

Member Avatar for mattster
0
344
Member Avatar for showman13

OK, this may be an elementary question, and hopefully there is a quick and easy resolution... I have always had this issue and previously just dealt with it, but want to get it working the way it should be. When I generate an email from within a PHP script that …

Member Avatar for mattster
0
268
Member Avatar for James_30

Can someone recommend a book or some reference to properly code DAO`s and apache derby client driver. The derby manual did mot cover this I will display my code in my next post

0
96
Member Avatar for il-diga

Hi to everybody. I've just started a new project for my company in a touch-screen environment. I started to implement a form that simulates a keyboard without taking the focus in order to write i.e. in notepad. It's possible by overriding the `WndProc(ref Message m)` and refusing the activation on …

Member Avatar for RafiqMohammed
0
724
Member Avatar for RonKevinT.Manuela

code works fine...but I have a bunch of photos which are jpeg and they cant be uploaded while the other jpeg photos are able too...its really weird..oh well here's the code... <?php error_reporting(0); mysql_connect('localhost','root',''); mysql_select_db('uslt'); ?> <html> <head> <title>Album Gallery</title> <link rel='stylesheet' href='style.css'> </head> <body> <div id='body'> <?php include('title_bar.php');?> <div …

Member Avatar for RonKevinT.Manuela
0
180
Member Avatar for Slavi

Hey guys, I need to produce an output such as {{0,0,0,0,0}{0,0,0,0,0}{0,0,0,0,0}{0,0,0,0,0}{0,0,0,0,0}}; I have no input paramethers so I assume I need to have int[] array= {0,0,0,0,0} and then make 2d array of it? I tried int [][] arrayOfSets = new int[0][25]; int [] a = {0,0,0,0,0}; for(int i=0; i<1;i++){ for(int …

Member Avatar for oussama_1
0
114
Member Avatar for joshl_1995

Hello Daniweb Community, I was wondering if anyone could help or point me to a good tutorial on how to use Google Authenticator in PHP.

Member Avatar for joshl_1995
0
411
Member Avatar for Kris_3

Hi guys, so I started learning Java 2 minutes ago and I have already encountered an error. The error is Error: Could not find or load main class apples.class and I get it after I use the cmd to type java apples.class . Here is the code I compiled to …

Member Avatar for Slavi
0
522
Member Avatar for flynismo

Hey guys I am grabbing URLs from the database. Then with each URL, I need to open that file, and only display the contents between <h1> tags and discard the rest. -- IMPORTANT -- I do not want to actually remove everything else from each file, I simply want to …

Member Avatar for diafol
0
151
Member Avatar for bolfescu

I have this sqlqry, icarrelli have the value 0 and the q2 value 64(sum) why the result is 64 and not -64? <?php $result = mysql_query("SELECT *,iCarrelli-SUM(q2) as total9 FROM articles,inc"); $row= mysql_fetch_assoc($result); echo "" . $row['total9'] . ""; ?>

Member Avatar for pritaeas
0
93
Member Avatar for aluhnev

Hi everyone. I have a bit confusion about vector. here is my 2 structs <global>and in the main have vector declared. file name is"report.txt" Have file with meteo readings,like • the meteorologist’s name on duty that day (a string of up to 12 characters) • hours of sunshine (double) • …

Member Avatar for jBat
0
199
Member Avatar for jBat

I'm not understanding why i'm able to read from the file but i can't write to it. The fstream is open in both modes. Once the program finishes i haven't changed the content of the file. Thank you in advance. #include <fstream> #include <string> #include <iostream> int main() { std::string …

Member Avatar for jBat
0
823

The End.