199,114 Archived Topics
Remove Filter ![]() | |
Hey guys, I'm about to start a project in which I'll have to implement something simillar to an ordinary excel sheet, and one of the aspects that will be focused is related to the creation/implementation of Macros which allow me to record a number of actions and then perform those … | |
Hello, The following program displays two images (ImageIcon type) inside the JTextArea. Is there a way I can make both of these images transparent sothat what I type on them is visible? Thanks in advance! import javax.swing.*; import java.awt.event.*; import java.awt.*; import java.awt.image.BufferedImage; import java.io.File; import javax.imageio.ImageIO; import java.io.IOException; public … | |
Any body can help me with this error I am getting this error: C:\Documents and Settings\Fuad Damra\Desktop\TCPDayTimeServer.java:33: variable out might not have been initialized out.println("Server Sent Average: "+Avg); ^ 1 error When I am trying to execute this program: [CODE]import java.io.*; import java.net.*; import java.util.Date; public class TCPDayTimeServer { public … | |
Hello Daniweb, Can anybody please tell me that, can we configure remoting for the LAN? I studied it halfway but I realised that its for web, but i think i can be possible for LAN too. Please do reply with something :) | |
Need help from daniweb community. I suck at programming. It doesn't make sense to me. I'm not going to be programming in my career but it's part of my major. I'm desperately trying to get an c- just to pass. Would love some help. I would appreciate some explanation but … | |
Array ( [TIMESTAMP] => 2012%2d05%2d01T17%3a19%3a07Z [CORRELATIONID] => 3aeb192ad6388 [ACK] => Failure [VERSION] => 51%2e0 [BUILD] => 2764190 [L_ERRORCODE0] => 10527 [L_SHORTMESSAGE0] => Invalid%20Data [L_LONGMESSAGE0] => This%20transaction%20cannot%20be%20processed%2e%20Please%20enter%20a%20valid%20credit%20card%20number%20and%20type%2e [L_SEVERITYCODE0] => Error [AMT] => 10%2e00 [CURRENCYCODE] => GBP ) Hello everyone, Can you please suggest on how to parse responses? It is the … ![]() | |
So i came across this issue that I can run my applet fine and it creates my file (exe) until i attempt to do so in a browser (firefox, IE, etc). Its signed and asks for permission and gives no erros but it doesnt write to the file I want … | |
Hi, Say MyClass inherits from BaseClass, and I write the following constructor for MyClass: [code] public MyClass() { DoSomething(); } [/code] When MyClass constructor is called, does it call automatically the BaseClass constructor (even though I didn't explicitly wrote this) ? Thanks ! | |
Hello folks,I have implemented steganography for Least Significant Bit(LSB) 2 bit which works for any kind of carrier files i.e,basically i can hide image/text/video in any of these files. 1)Now i need to do some improvement for the project i.e, implementing steganography using any other method which is more efficient … | |
import java.io.*; import java.nio.ByteBuffer; import java.util.zip.*; import javax.crypto.*; import javax.crypto.spec.*; import javax.swing.*; import javax.swing.event.*; import java.awt.*; import java.awt.event.*; public class Steganograph { public static final byte[] VERSION_BYTE= {'2','0','0'}; public static final int OFFSET_JPG= 3; public static final int OFFSET_PNG= 42; public static final int OFFSET_GIF_BMP_TIF= 32; public static final short … | |
Hello, I have a observer pattern based JTable. With time it is poulated with new data packets. I use addRow functionalities to add my rows. But I want to put always the last coming datapackets at the top. How to do it?? | |
can anyony helpme to to search a database for records | |
I'm trying to use the system call to append an arbitrary number of files to one specific file... when I attempt to run the program i get the error: sh: addints.o: not found sh: main.o: not found sh: rbyswt.o: not found sh: readint.o: not found sh: writeint.o: not found sh: … | |
Hi all, I am trying to figure out javascript for mobile / home validation. Just to let you know, it must be equal to 11 digits (already done it) and accept only NUMERICAL characters, so letters are not accepted once validated or when you input data. My issue: I don't … ![]() | |
Basically, am creating a mailer system to send a mail to my inactive members to do activities in their account if they have not logged in since 30 days. My previous login date stores in my database in unixtimestamp hence i coded as below. select email from myusers where WHERE … | |
Hi, I'm facing few problem on textbox : 1. I got plenty of textbox which roughly 500+ and my design haven't done so it might grow. Each of the textbox is represent data received from serial port. To update textbox then i need to write the code line by line … | |
Hey guys,I have an excel sheet with one of the columns as name .There are many rows with same name and I wish to mail all the rows with same person name to that person(given there is a column specifying email address).I will be thankful for your suggestions. The following … | |
i am doing a project with a group i have to deal with orders by kind then linked to the driver who will be taking the first customer. the driver can be free or back in 10 min. i have started with the order list with the customer, i have … | |
Hi all, I'm sure this is a n00b question, but I can't seem to get my head around it! I have a 4 BYTE array which I want to display as a decimal value. For example, in the array it contains the hex values: 00 05 7d a4, and I … | |
I have two files Persons.txt and Hobby.txt.In the third file i want to put all the persons names and add each name some hobbies.This is how my files look like Persons.txt ID;NUME;PRENUME;DATA_NASTERII;PROFESIA 1;Stan;Ilie;22-01-1977;profesor; 2;Becali;GG;01-07-1965;patron; 3;Tanase;Cristian;07-12-1988;fotbalist; 4;Pop;Ion;21-03-1984;pictor; 5;Popescu;Rodica;17-04-1986;sculptor; Hobby.txt ID;NUME;DESCRIERE;NUMAR_MINIM_PERSOANE;ELEMENT_NECESAR 1;baschet;sport in care se arunca mingea la cos;6;minge 2;fotbal;sport in care … | |
Ok I am not getting any other errors in php or mysql but I keep getting returned Query was empty in my table. Any help is appreciated, if anybody needs more info on the code just let me know. This is basically a multi search tool for a huge database … | |
So my cookies look like so Name: lang Content: et and Name: lang Content: en and Name: lang Content: fi every language select deletes old and replaces with new one I need to get my script working with every cookie content different text $array = array(); $array[] = 'blabla 1'; … | |
i got this warning from my j2me code that try to connecto to database using php and httpconnection,, > Warning: To avoid potential deadlock, operations that may block, such as networking, should be performed in a different thread than the commandAction() handler. pls help.. | |
Hi) Guys , please tell me - which java graphic (which make you able to work with winforms) library should be studied at first? I started with SWT , but that i heared that it isn't "standart"...... thanks in advance for help. | |
I have a table called Product. In the Product table we have something called ProductCode and NewProductCode. When we first built the tool we were anticipating the NewProductCodes to be coming down the pipe at a later date. So we added this column with NULL. So right now the DB … | |
i want to generate this array from mysql data base result set?? $nav = Array ( Array ( 'id' => 27, 'name' => 'home', 'link' => 'home.html', 'parent' => 0 ), Array ( 'id' => 30, 'name' => 'about', 'link' => 'about.html', 'parent' => 27 ) ); | |
I have an sql table that stores English words and second table that stores meanings of those words in related maner. Here are some informations about table structures: Table1 name: Words WordID int IDENTITY(1,1) NOT NULL, //This is primaryKey Word varchar(50) NOT NULL, Table2 name: Meanings MeaningID int IDENTITY(1,1) NOT … | |
i'm building a simple code in wdk in "native subsystem" i have a library that overload new and delete operator here is the code: header file #include<ntddk.h> #define HEAP_ZERO_MEMORY 0x00000008 #define HEAP_GROWABLE 0x00000002 typedef NTSTATUS (NTAPI * PRTL_HEAP_COMMIT_ROUTINE)( IN PVOID Base, IN OUT PVOID *CommitAddress, IN OUT PSIZE_T CommitSize ); … | |
hello guys im having a little problem here. I have few text boxes and few labels. User enters values into textboxex. Values in lables are from XML file, so the program reads for egz **<price>30</price>** and this price is set as a label **label1 => 30** And now im wondering … | |
I have to block out a certain div for a certain IP addresss I am using asp here is the code: <% Dim sBlockedIP sBlockedIP = Request.ServerVariables("REMOTE_ADDR") 'check if the IP is the one that is blocked If sBlockedIP = "00.000.00.00" Then 'if IP address is banned then redirect to … | |
Hello I am currently working on this code and the code can be runned well from 100-10,000 random elements after that the heap sort says stack over flow, im thinking the recursive calls are the cause of this, so please healp public static void MAX_HEAPIFY(int [] A, int i, int … | |
Hi All, I am working on a project for school. Notice that I am a liberal arts major. My project is to develop a multiple choice test. I decided it would be a cool time to teach myself how to program so people could take the test on the computer. … | |
hey guys, i got a question which stuck my brain few days and here is it. i studies some drop down list tutorial but some how i still have no idea to generate a three level drop down list by which value of the drop down list is dynamic, mean … | |
I have two arrays: n = [30, 47.2, 70.2, 77.4, 36.3, 20.6, 18.1, 21.4, 22, 25.4, 27.1, 40.3, 57, 76.6, 52.3, 19.5, 11.2, 7.6, 14.6, 16.2, 24.7] p = [4, 6.1, 9.8, 35.2, 59.4, 41.7, 19, 13, 8.3, 9.1, 7.4, 8, 12.3, 19.5, 45.7, 51.1, 29.7, 15.8, 9.7, 10.1, 8.6] … | |
HI Is it possible for vb6 to add the sql database as a back end for my program?and i would like it to add it during the deployment of my program as a prerequisite of it. Please let me know thank you | |
Hello, I m new to servlets. I have written a servlet program which reads http header of local host! How to read http header of any website say www.google.com? /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Header; … | |
Hi All, Can anyone see why this line dos not produce real links if they have "http://" add to them when added to the data base ? //---------------------------------------------- $result = mysql_query("SELECT * FROM track ORDER BY rand()");while($row = mysql_fetch_array($result)) { echo '<td> <a class="mylink" target=_parent href="http://', $row['car'],'">',$row['tag'] . "<br>"; } … | |
I have an application that will be minimized and running in the background. I want this application to have it's own moveable mouse so that it does not use my current mouse. How can I accomplish this? I'm not exactly sure where to start to create a mouse for it. | |
Without using /,% and * operators. write a function to divide a number by 3, itoa() function is available. | |
Hello everyone and good day!!! I'm trying to embedd an image watermark to another image for copyright protection and I plan to use DCT and embedding the watermark in the middle band coefficeint of the host image. The problem is I don't know which of the formulas to use since … | |
I'm curios what happens to the size of the host image after an invisible watermark has been inserted. I'm guessing the size will increase but by how much? For example, the cover image to be inserted is 1kb and the host image is 2kb. Since your adding additional information the … | |
Hello again, I'm still working on my game, and now I'm running into a situation where I am using 4 radiobuttons in a groupbox for the answers, as each question changes the text of the radiobutton changes and along with it the correct answer. I want to be able to … | |
Hey guys.... really need your help? I'm working in VB C# 2010.... I have a windows form application where i want the texts from multiple texboxes to be added to the dataGridView as one row... can someone please tell me where to start? Thanks | |
Earlier today, a colleague of mine came to me with a question. He was writing Unit Tests for a serialization utility and needed to compare the generated xml with the hand written xml file which was the expected result. By eye inspection, the xml seemed to be the same, but … | |
Hi, This is the line: Class ourClass = new Class.forName("com.app.something"); And this is the the error: cannot find symbol class forName My IDE is Intellij Idea. This is a particular case, but i want to know what causes this type of error, what should i look for. | |
Hi, how do i make my webbrowser look like google chrome. With that i mean how do i make the tabs look like in google chrome? Waleed Ahmed | |
Hi all, can someone please help me with my code: Its suppose to input a text file of values then display them and give the max and its index, and inputed values are floats. But I can seem to get the max right. Thanks #include <stdio.h> int main() { FILE … | |
Hello Everyone So I have 2 datagridviews that compare information between them and if it does match it colors the rows in green and after its done all the white spaces colors the rows in RED, so the main thing is that i dont know how to print only the … | |
Hi, this is part of a script used to verify paypal payments and update a mysql database if the payment is verified. I had it working in a separate mysql table but I have now changed the table and it doesn't seem to be working. When the verification from paypal … ![]() | |
Hi all, i am new to android development, in fact its my first application. i am making a simple calculator. i just want to know how to get the value of a pressed button. Any help plz |
The End.