199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for rrajeswari03

How to generate PDF using flex with php.Currentely am using amfphp to do this.But it takes more time to generate.please guide me if anyone know the solution.

Member Avatar for rubberman
0
190
Member Avatar for afaaro

I tried inserting as serialize to multiple selected but when i want to retrieve those multi selected in the select box is not working echo "<td class='tbl1' width='15%'>Format</td><td class='tbl1'><select name='format[]' multiple='multiple' class='textbox'>\n"; $sel = ($_POST['format'] == $data['format'] ? " selected='selected'" : ""); echo "<option value='".$data['format']."'$sel>".$data['format']."</option>\n"; echo "</select></td>\n"; echo "</tr>\n<tr>\n";

Member Avatar for diafol
0
323
Member Avatar for Suzie999

Can abyone tell me what type of variable is a standard Form1? It's just a curiosity and not a real part of a project. here is the standard code visual studio starts with in my version 2010 when creating a new forms application with a couple of lines added/amended.. namespace …

Member Avatar for Suzie999
0
96
Member Avatar for momonq1990

i need to create 2 selection; 1st selection has fix option and the second selection will be base on the selected selection 1 selection 1 option 1 = number option 2 = letter option 3 = char number option 1 = 1 option 2 = 2 option 3 = 3 …

Member Avatar for Taywin
0
185
Member Avatar for xxwikkixx

I am trying to send some strings on my android device using bluetooth to my arduino so I am wondering if my logic is correct for my code. The part I am stuck on how to implement if all arguements are OK then it should send String temp = "t"; …

Member Avatar for Taywin
0
260
Member Avatar for shrutisk

everything newww....!!! hoping to learn dis language asap.. any reviews for d beginner??

Member Avatar for diafol
0
178
Member Avatar for midnite11

Does anyone know how to get the number of rows that are included in the total SelectedCells of a datagridview? This is where the user actually selects multiple cells in multiple rows - not actually selecting the rows themselves. I don't need to row indexes of the cells. What I …

Member Avatar for midnite11
0
1K
Member Avatar for ska_defender

Hello all I have installed fantastico deluxe but when I try to install any script it gave me error You do not have access to that database (wrdp1)! can any body help me out on this please

Member Avatar for diafol
0
898
Member Avatar for funnym3

Hi guys, I'm new here and I have a activity in my java class. my instructor want to sort all the given names after they added to the list. can you guys help me with it? thanks here's my code: import java.util.*; public class Test{ public static void main (String …

Member Avatar for funnym3
0
134
Member Avatar for Tinnin

Hi All, I'm trying to display a postal area on Google Maps API within it's boundaries. I want to do this dynamically so that everytime someone changes the text in a text field (entering a postcode or part of), it checks the postcode and calculates the boundaries then displays them. …

Member Avatar for Tinnin
0
9K
Member Avatar for VRamone

Hello guys,how are you? well im in a bit of trouble,so i want some help. I´m developing a site in VB.NET that in the beginning the user must login to access other pages.This part is ok,the user logins successfully and goes to members area.In this area,i would like to show …

Member Avatar for mahak.butt2
0
2K
Member Avatar for Violet_82

Hi all, I started to look into event handlers, and there is something I would like to ask, sorry if this is a silly one. I can see that different Java components generate different events when the user interacts with them, but when it comes down to 1)which interface the …

Member Avatar for Violet_82
0
310
Member Avatar for shreyassv

hi, here is my problem- i am creating a table dynamically using java script- the number of cells in a row is constant and the data is accepted from the user from x text boxes(based on number of cells). now, i want to insert a button in the x+1th cell …

Member Avatar for madhuri91
0
1K
Member Avatar for anand01

Hi all, I have employee class which I have 100 variables with getters and setters. now I am passing employee object to processing method. Now I want to read all values in processing method. Should I want to use getter for all member? Is there any way to achieve this. …

Member Avatar for JamesCherrill
0
291
Member Avatar for iConqueror

I know that the main difference between an array and a list is that a list size changes dynamically as items are added or removed. Because of this, if we copy an array to a list does that mean that the list must have a static size of the array's …

Member Avatar for deceptikon
0
181
Member Avatar for sunil.sahu.14203
Member Avatar for reuben_1

Hi there, I would like to make a basic plugin with a /hello command that when types outputs "Hello, user!" or there minecraft user name I have done all the code, and I have a problem of which the server says: [16:02:10 ERROR]: Could not load 'plugins/GreetingsPlugin.jar' in folder 'plugins' …

Member Avatar for stultuske
0
94
Member Avatar for Praise92

hi, im trying to insert data using Checklist and it is only inserting one even if i selected all che checkboxes, please help.hr is my Code protected void Button1_Click(object sender, EventArgs e) { //C:\Documents and Settings\PraiseM\My Documents\Visual Studio 2008\Projects\MiniProjectAcc\MiniProjectAcc\Employee.accdb OleDbConnection conn = new OleDbConnection(); conn.ConnectionString = @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Documents and Settings\PraiseM\My …

Member Avatar for Praise92
0
165
Member Avatar for Richa_2

interface Data { public void load(); } abstract class Info { public abstract void load(); } public class Employee extends Info implements Data { public void load (){ System.out.println ("loading"); /*do something*/ } } Why this code is correct ? Is it is not compulsory to deine the method declared …

Member Avatar for stultuske
0
334
Member Avatar for iConqueror

I have a console application with two classes: - **MyIntList** Which initilzes the array and handles the input and outputs. - **Program** This has the Main() method which handles the users input and sends them too the handlers in **MyIntList**. The problem I am having is that when the array …

Member Avatar for iConqueror
0
175
Member Avatar for axier

PLease help me how to send password to email <form name="forgot" method="post" action="<?php $_SERVER['PHP_SELF'];?>"> <p><label for="email">Email:</label> <input name="email" type="text" value="" /> </p> <input type="submit" name="submit" value="submit"/> <input type="reset" name="reset" value="reset"/> </form> <?php if(isset($_POST['submit'])) { $connect=mysql_connect("localhost","root","") or die("Could not connect to database"); mysql_select_db("dbsalon") or die(mysql_error()); $email = $_POST['email']; $sql= "SELECT `password` …

Member Avatar for guruparthi
0
8K
Member Avatar for iConqueror

Both lists and arrays store data in one object(array or list). 1. In C# what is the difference between arrays and lists? 2. Can we store the same type in a list as an array? 3. Can an list store objects and references to other objects? 4. Where would we …

Member Avatar for tinstaafl
0
199
Member Avatar for dlmagers

Hello, I have been working on this application for a bit and I feel like I am close but apparently I am not close enough. **Challenge:** I need to be able to have the user input an address and click "Create Map". In the map that’s displayed, the user’s entry …

Member Avatar for almostbob
0
310
Member Avatar for 4XGump

Hello I have got an php probid webesite. everything worked well until I restored an backup. I need someone who can help me fixing following errors that appeared after restoring backup. - I can not upload pictures and mediafiles to an auction or in admin page - second language --> …

Member Avatar for veedeoo
0
133
Member Avatar for Suzie999

Following a tutorial [here](http://www.joecolantonio.com/2012/07/31/getting-started-using-selenium-2-0-webdriver-for-ie-in-visual-studio-c/). Code is as follows... using System; using System.Collections.Generic; using System.Linq; using System.Text; using OpenQA.Selenium; using OpenQA.Selenium.IE; using OpenQA.Selenium.Support.UI; namespace mySelenium { class Program { static void Main(string[] args) { IWebDriver driver = new InternetExplorerDriver(@"C:\Downloads\selenium"); driver.Navigate().GoToUrl("https://www.google.co.uk/"); } } } When I run the code all seems to …

Member Avatar for Suzie999
0
354
Member Avatar for HunainHafeez

i am using asp.net datalist to retrieve text from database field, when i put an integer value like 10 in where clause of select statement then it retrieves data from databse on next page but when i used variable (which is used to store value sent via query string) then …

Member Avatar for suman_4
0
853
Member Avatar for dwel
Member Avatar for chdboy

This is the code void CreateGUI() { try { //myPicture = ImageIO.read(new File("Companylogo_FINAL.jpg")); myPicture = ImageIO.read(new File("Companylogo_FINAL.jpg")); //myPicture = ImageIO.read(getClass().getResource("Companylogo_FINAL.jpg")); /*java.net.URL u = getClass().getResource("/resources/Companylogo_FINAL.jpg"); System.out.println(u); myPicture = ImageIO.read(u);*/ /*try {*/ //myPicture = ImageIO.read(new File("Companylogo_FINAL.jpg")); /*} catch (IOException e) { }*/ ImageIcon img = new ImageIcon(myPicture); //frame.setIconImage(img.getImage()); } catch (IOException e1) …

Member Avatar for chdboy
0
485
Member Avatar for chdboy

Here is the error I'm getting Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: input == null! And here is the code try { //myPicture = ImageIO.read(new File("Companylogo_FINAL.jpg")); myPicture = ImageIO.read(getClass().getResource("/resources/Companylogo_FINAL.jpg")); ImageIcon img = new ImageIcon(myPicture); frame.setIconImage(img.getImage()); } catch (IOException e1) { // TODO Auto-generated catch block e1.printStackTrace(); } JLabel lbl = new …

Member Avatar for chdboy
0
2K
Member Avatar for Cbn

i had some trouble when updating a mysql field, i had 2 text fields and 1 textarea fields, both the text fields updated ok through this query: but textarea field is not updating.. edit.php <?php include('connect.php'); $id=$_GET['id']; $result = $db->prepare("SELECT * FROM telugunews WHERE id= :userid"); $result->bindParam(':userid', $id); $result->execute(); for($i=0; …

Member Avatar for wikit
0
506
Member Avatar for johnson_2

1. I created three JLabels(one,two,three) and add a mouselistener to it. 2. For every even turns, the program will allow me to click any of the JLabels **once** and print out the JLabel I have clicked. My program is throwing me the following errors Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java …

Member Avatar for johnson_2
0
287
Member Avatar for moaz.amin.37

if a program throw 2 exceptions can we handled it by user defined exception.for example import java.util.*; class WrongException extends Exception{ public WrongException(String s){ super(s); } } public class UserDefinedException2{ public static void main(String s[]){ int a,b; a=b=0; Scanner ob=new Scanner(System.in); System.out.print("Enter your age = "); a=ob.nextInt(); try { if(a<=0) …

Member Avatar for JamesCherrill
0
256
Member Avatar for prasangi
Member Avatar for kxjakkk

I'm trying to modify this code: class Tree: def __init__(self, cargo, left=None, right=None): self.cargo = cargo self.left = left self.right = right def __str__(self): return str(self.cargo) def print_tree_inorder(tree): if tree is None: return print_tree_inorder(tree.left) print(tree.cargo, end=" ") print_tree_inorder(tree.right) So that it adds parentheses around every operator and pair of operands. …

Member Avatar for kxjakkk
0
475
Member Avatar for hallianonline

I have little problem in my wordpress template it showing me the the posts in decending form (the oldest posts showing first) Is there any way to customize this code and add an orderby little function in it? please help me in this <?php $i = 0; if ( empty($image_width) …

Member Avatar for hallianonline
0
252
Member Avatar for christinetom

Hi everybody. I hope nobody is working too hard. I am trying to figure out a way to use the peek() method of the stringstream class but looking more than one place forward. For example, if I use stringstream.peek() it will let me know the value one value ahead of …

Member Avatar for christinetom
0
2K
Member Avatar for SimonIoa
Member Avatar for DJBirdi
0
231
Member Avatar for ogsirus

Hi guys, I had a test the other day and missed a question out because it confused the hell out of me. I dont know if it was a badly written question or just me. Heres the program below: public static class Mailing { public static void SendTestEmail() { List<Person> …

Member Avatar for tinstaafl
0
284
Member Avatar for Thundermax

Hello guys, okay? I have a problem and I wonder if anyone can help me. Well, as the title of the topic says, the problem is about the C language, and more specifically on GUI. I made a C program it is working and everything is ok. But the problem …

Member Avatar for Hiroshe
0
228
Member Avatar for PM312

Is there a way to get all contacts id's from outlook 2013 or 2007 to datagridview or combobox.collection list. Thanks

Member Avatar for PM312
0
3K
Member Avatar for ghosh22

Dear All, I am a new learner and I need your help. I am trying to design a website and one of the things I want to do is find and replace text from the template based upon user input. These will be document templates and certain words from the …

Member Avatar for cereal
0
213
Member Avatar for RikTelner

Hey, when you `height: x%;` or `width: x%;` of a div. It actually stays that percentage of screen. Now matter how badly you'll mess up entire page. It's still gonna be x% wide and x% height. Well, I tried that with font, but browser doesn't seem to be able to …

Member Avatar for RikTelner
0
76
Member Avatar for wikit

Thanks for your patience, i'm still trying to learn I've gotten most of my stuff on my website to work, but i'm trying to do one more thing I have a WORKING insertion script for a mysql database using a php page that forces the CharName in the database to …

Member Avatar for Banderson
0
317
Member Avatar for reuben_1

Hi there, I would like to ask the Daniweb community what would be the best programming language to learn for me, before you answer can you please tell me the different programming languages there are, and there uses; such as c++ - game, html - web. Then I will come …

Member Avatar for deceptikon
0
294
Member Avatar for rubai

Hi, I need to make a small plugin/ module. There would be a text field with submit button. This text field to enter zipcode. Onece an user submit a zipcode some info will be fetched from database. I know how to connect database, basic php mysql, javascript. Thanks

Member Avatar for diafol
0
586
Member Avatar for myk45

Hello. Well, im a little confused as to what exactly the terms Data Abstraction and Data Encapsulation mean: This is what i read: [B]Data Abstraction[/B]:data abstraction is a process of representing the essential features without including implementation details. [B]Data Encapsulation:[/B]: Data encapsulation, also known as data hiding, is the mechanism …

Member Avatar for naaz.kaushik.3
0
878
Member Avatar for Samarth_1

Hello, I am a bit new to vb.net. I was learning Database in vb.net . I have created a MS Access file. But when I Started my Visual Basic (vb.net 2008 Proffestional) and then I Clicked the Option Add New Data Type (In Data), nothing came. Can someone help me …

Member Avatar for ManojBalaji3001
0
121
Member Avatar for moaz.amin.37

Following exceptions are `Checked Exception` or `Unchecked Exception` ArrayStoreException IllegalArgumentException

Member Avatar for JamesCherrill
0
292
Member Avatar for Gus_19

I have a button on this tabpage which, when a user clicks, clears all of the fields. However, I have set one textbox to a read-only textbox which has a counter in it. How can I programmatically clear all of the other fields, minus this textbox. (There are other textboxes …

Member Avatar for Gus_19
0
140
Member Avatar for DJBirdi

I just wanna get a feel for the opinions that exist out there about this subject. I've worked with everything from small to very large image storage requirements within PHP and MySQL. What are some of the issues/usage requirements that you guys look at when considering building mysql apps that …

Member Avatar for JorgeM
0
232

The End.