199,124 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sirlink99

I am trying to export a project using eclipse, and the Images that I have in a separate folder do not export. I have tried to use [icode]image = new ImageIcon (Toolkit.getDefauleToolkit ().getImage("Image/image.png"));[/icode] and [icode]image = new ImageIcon (ImageIO.read (new File ("Image/image.png")));[/icode] and neither of them worked. It works when …

Member Avatar for sirlink99
0
1K
Member Avatar for PROgamer

Hi, i do have problem with event handling im done with layouting but the only thing i dont know is what methods of event handling should i use in my program [CODE]import javax.swing.*; import java.awt.*; import java.awt.event.*; import javax.swing.border.*; import javax.swing.ButtonGroup; public class Pizza extends Frame implements ActionListener,ItemListener { JFrame …

Member Avatar for hfx642
0
175
Member Avatar for ppetree

Hey All! I'm having trouble getting the nodeValue of a specific set of nodes. The xml looks like this: [ICODE] <root> <SpecialParameter>Some Text</SpecialParameter> <SpecialInfo someNumber="123456789"></SpecialInfo> <book> <title>Rusty Bedsprings</title> <author>I. P. Knightly</title> </book> <book> <title>Rush To The Out House</title> <author>Willie Makeit</title> </book> </root> [/ICODE] What I need to get are the …

Member Avatar for iamthwee
0
195
Member Avatar for boywonda1

hey all.. I'm [U]new[/U] to VB.net and i wanted to find out how i could load the names of files(in a specified dir) into a combobox? I knw i should have posted code..but i only have an idea as to what should happen. correct me where i'm wrong. 1. get …

Member Avatar for lolafuertes
0
1K
Member Avatar for Galbatorix

Hi, I am using vb.net 2008. Each time i run my project, i get an error message that the assembly could not be loaded and that i need an assembly manifest HELP!!!

Member Avatar for Galbatorix
0
110
Member Avatar for crazycode300

Hello, I have data imported from a text file stored in an array. How do I go about writing it to a CSV file? Also, how do I set up different columns so that the CSV file opens up nicely in Excel. Thanks.

Member Avatar for lolafuertes
0
956
Member Avatar for singh_soorma94

I making a program. I know most of it just need help with the number generator. I want it to occur the number of times inputted.

Member Avatar for skatamatic
0
152
Member Avatar for BlueNoteMan

I am using getschema and simply trying to get names of tables within database data1.dbc. I have looked at the returned schmema info with the debugger and with the following code and can't see table names (which I know are in database). Have I used GetSchema correctly or am I …

Member Avatar for lolafuertes
0
128
Member Avatar for Zvjezdan23

This is a class that uses a vector to store 3 points (x,y,z) so i can find the distance from each of the points. Can anyone help me?? [CODE]#include <iostream> #include <string> #include <algorithm> #include <cmath> #include <vector> #define inline using namespace std; int main() { class Vector3 { public: …

Member Avatar for Zvjezdan23
0
161
Member Avatar for Clanstrom

Hi there, since recently i have been trying to master HTML, and now i am full ready to take on PHP therefore, just like HTML instead of making many .html files | i want to use the PHP dynamic page function that can show me pages from database. usually as …

Member Avatar for Clanstrom
0
597
Member Avatar for zachattack05

If I have SQL authentication enabled, and a user (UserA) on a database has permission to delete rows on TableA, but not TableB, and there is a relationship between TableA and TableB, can UserA successfully delete a record on TableA and have the changes (based on relationships set up) cascade …

Member Avatar for zachattack05
0
118
Member Avatar for carloskire

Hi. I'm programming this Java app on NetBeans 7 to deploy it via Web Start and is all going well. I'm developing on Windows but the jnlp, jar etc. are to reside on a unix box. It runs well on unix too. At the moment my app reads a text …

Member Avatar for carloskire
0
505
Member Avatar for Jon BH

Hi It might sound strange but can I simplify it !! I have only one variable for input which is diameter of a circle in millimeters. This ultimately converts into a Guage value as in gun barrels. I can do this in Excel but haven't much of a clue about …

Member Avatar for Jon BH
0
200
Member Avatar for jaycastr

Hey guys, I am writing a web application in asp.net using c sharp. I have a web page that lets the user create a program. In this system a program is made up of many applications and an Application can belong to many programs hence a many to many relationship. …

Member Avatar for jaycastr
0
156
Member Avatar for jacob21

Hi, I have 4 checkboxes. red black brown white What i am trying suppose if red is checked then my query execute "Select * from tbl where color='red'"; similarly for black "Select * from tbl where color='black'"; Need suggestions.I have knowledge of PHP,Mysql but not of java script,ajax

Member Avatar for AAREN1975c
0
523
Member Avatar for Srin

I need to instantiate a class during runtime based what a user has selected in a list, but these classes each have their own new specific functions and variables, they use the same named functions, but set different variables, and different numbers of variables. I made an example, since my …

Member Avatar for JamesCherrill
0
297
Member Avatar for watery87

Hi guys, i currently want to replace all spaces into another(or 2) special character, and vice versa. e.g (replacing spaces with 'xx' character and vice versa). Another way would be removing all spaces completely. Is there any method i can use to accomplish that? [code] #include <iostream> #include <vector> #include …

Member Avatar for WaltP
0
123
Member Avatar for moshe12007

hello i wanna build software that i will be can speak with my friend with our cams i have used that dll : WebCam_Capture and that only show my camera . but i cant show my friend camera/ how can i do it?<<< thankss

Member Avatar for Momerath
0
104
Member Avatar for Buppy

Hi, I have a jQuery event [CODE] $('#msg-text').keyup(function() { $('#msg-chr-remaining').html('Remaining characters: '+(255-$('#msg-text').length)); }); [/CODE] The problem is it fires only once - the first time. Anyone knows why? Thanks

Member Avatar for stbuchok
0
89
Member Avatar for fatalaccidents

Hey guys, I'm very new to C++ and had a really quick question concerning linked lists. So I was wanting to pass a linked list to a function. I realize from another post that I need to put void function(Class * & head) to have it actually do something to …

Member Avatar for fatalaccidents
0
107
Member Avatar for devindamenuka

hi all, i am new to php. i am developing a login where i compare encrepted password and set session to the user and login to the system. but I need mote to do with this. I need to know how to lock IP if a user try more than …

Member Avatar for sDJh
0
112
Member Avatar for Abakiz

Hello I'm new to ColdFusion, for my work I've been asked to learn it.. I'm coming from an extensive PHP background. For the life of me I cannot figure out how to simply take a query from SQL and load it into an array and then display it. I though …

Member Avatar for cfwebdeveloper
0
212
Member Avatar for sirlink99

I am trying to save an image with this line [CODE]ImageIO.write(image, "JPG", new File(fileDestination.getText()));[/CODE] but it is giving me an error. [CODE] java.io.FileNotFoundException: C:\Users\Adam (Access is denied) at java.io.RandomAccessFile.open(Native Method) at java.io.RandomAccessFile.<init>(Unknown Source) at javax.imageio.stream.FileImageOutputStream.<init>(Unknown Source) at com.sun.imageio.spi.FileImageOutputStreamSpi.createOutputStreamInstance(Unknown Source) at javax.imageio.ImageIO.createImageOutputStream(Unknown Source) at javax.imageio.ImageIO.write(Unknown Source) at screenCapture.CaptureScreen.actionPerformed(CaptureScreen.java:111) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) …

Member Avatar for NormR1
0
319
Member Avatar for Prankmore

I am trying to take a user input phone number and perform calculations on it as an integer of type long long. I've tried this but it only reads the first 3 numbers then when it reaches the hyphen it stops. [CODE=C] printf("Enter Number: \n"); //get input from user count …

Member Avatar for Prankmore
0
3K
Member Avatar for Barefootsanders

Hey everyone. I've been trying to install my own webserver on my computer along with PHP and MySQL. I thought I installed everything correctly but I just uploaded my first script and NONE of the PHP seems to be working. I'm running apache v2.0.x, the latest version of MySQL and …

Member Avatar for Talrod
0
222
Member Avatar for ankit.pandey3

Hi friends.... I want to add a customer support chat on my website in PHP. I downloaded some codes also from internet but their configuration is very difficult for me. Do anyone have code of Customer Support chatting in PHP?? Please share with me. or have any idea how I …

Member Avatar for masterjiraya
0
545
Member Avatar for MrCapuchino

Hello, I haven't found a solution to this problem but I think it has to be something very simple. I have an asp:Textbox in my page that fills with text from a database on page_load, this works fine, the thing is that if I change the text and click in …

Member Avatar for MrCapuchino
0
370
Member Avatar for tlox

Hello everyone. i have a student database, from which i search a student by entering the student ID at the web interface.Im using a repeater to display search results. Within this repeater i have a link button that should redirect to a page that will display full information about the …

Member Avatar for asemoonabi
0
2K
Member Avatar for iparanjpe

Tell me what u think I want to create an application that takes a stream of stock price data from many stocks. It then checks for resistance levels. If the stock has hit a level consistently and then bounced back down twice, it is saved to a jtable file or …

Member Avatar for peter_budo
0
109
Member Avatar for AshfaqueIW

Hello all, I want to develop Android java applications for Android Smartphones(>Android 2.1) and Android Tablets(>Android 3.0). I had already downloaded the Latest Android SDK and Eclipse plugin for that. The entire environment for developing the android application is ready with me. I have professional experience of programming in C++ …

Member Avatar for peter_budo
0
180
Member Avatar for pocohontus

well this is not a help post its something i want to tell everyone i just had my project viva and my project was awesome my sir liked it very much it was success.....i was asked to submit my resume so that my professor could recommend me for job interviews …

Member Avatar for Netcode
0
106
Member Avatar for ranu jain

hello, i have a question--- i have to implement arraylist by using array. and i m using following approach- [CODE]package DS; import java.lang.reflect.Array; public class ArrayList<T> { T ob[]; public ArrayList(Class<T []> c, int s) { // Use Array native method to create arra of a type only known at …

Member Avatar for NormR1
0
138
Member Avatar for hqt

I recently change Code:Block. But I don't know, when I compile, at line 1: [CODE]#define <stdio.h> or #define<cstdio>[/CODE] I see an error:macro names must be identifier. When I compiled on DevC++, I saw no error. the second question I want to ask is, who have link or documents.etc.. that teach …

Member Avatar for sergent
0
175
Member Avatar for cocoll

hello! i just need your opinion or explanation on that question: can we use socket in chat application in asp.net? because any chat application can be implemented on couple of ways,so when we say socket we say windows application but no web application,because we have the server and clients. so …

Member Avatar for cocoll
0
92
Member Avatar for winonus

I am trying to write some tool for MSDOS environment but it doesn't work as expected. I want to get the tool to read from some commandline pipe, like C:\> type a.txt|testpipe where testpipe.exe is the compiled program. The problem: After going through the piped contents, it does not stop …

Member Avatar for Narue
0
338
Member Avatar for winonus

I am using OpenWatcom to code C++ for interest, and I am in search for better compilers. OpenWatcom doesn't have string input and output operators overloaded, I always have to use workarounds. Can anyone name some [COLOR="#ff0000"]standard[/COLOR] compilers which compile and link [COLOR="#ff0000"]pure DOS exectables[/COLOR] for me?

Member Avatar for winonus
0
119
Member Avatar for Majestics

As java programmer know that program made under java are converted to jar file for usage... And an updation in any class require that jar to be updated. So is there any way that we can update the class file at runtime rather then whole jar file. I want to …

Member Avatar for NormR1
0
114
Member Avatar for moneypro

#include<iostream> using namespace std; class area { double dim1, dim2; public: void setarea(double d1, double d2) { dim1= d1; dim2 = d2; } void getdim(double &d1, double &d2) { d1 = dim1; d2 = dim2; } virtual double getarea() { cout<<"You must override this functionn"; return 0.0; } }; class …

Member Avatar for moneypro
0
179
Member Avatar for youvi

See,am working with joomla 1.5 component,i want to create a component so that it can submit some datas to database...so i have a folder "com_lessons" inside the "component" folder.so u know,we have controller,model,view, for creating a component...sn't it?? [CODE] <form action=""> <table width="400" border="0"> <tr> <td>Lesson Title</td> <td><input type="text" name="lesson_title" …

Member Avatar for paulrajj
0
100
Member Avatar for Mits14

Hi everyone.. i don't know how to display NO RECORD FOUND in msgbox.. here is my codes [CODE]Private Sub btngo_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btngo.Click open_con() sqlsearch = "Select *from tblborrower where ID_no=" & txtidno.Text & "" cmd = New OleDbCommand(sqlsearch, con) dr = cmd.ExecuteReader While …

Member Avatar for Mits14
0
248
Member Avatar for eoop.org

Hi, i want to start a process called: notepad.exe wich is a software that windows give you. How do i start that process in a mdi container ? process.start("notepad.exe"); in mdi container :S

Member Avatar for Ketsuekiame
0
172
Member Avatar for sim_pack

hi, i have a JButton object and i added an actionListener to it. it works well with a mouse click, but if use the keyboard enter key while the focus is on the JButton, nothing happens. do i need to add a keypress listener on top of the actionListener to …

Member Avatar for mKorbel
0
470
Member Avatar for menonnik

How can we find a sub array in a 1-D array? Is there any other method other than brute force method? It is not for maximum sum so we can't use kadane's algorithm.

Member Avatar for menonnik
0
240
Member Avatar for gwhite12

I have this code. I put everything within <?php ?>. Because I thought that would help. I have the code commented for easier read. Can someone please show me where I went wrong, or what I forgot? [code] <?php ?> <html> <head> <style> body { background-color:#000000; color:#E27907; font-family:Verdana,Arial; font-size:10pt; letter-spacing:2; …

Member Avatar for Nahiyan
0
5K
Member Avatar for manzoor.ilahi77

[CODE]<table width="100%" align="center" border="0" bgcolor="#FFFFFF"> <tr height="30px" style="color:#000000;" > <th>Unique ID</th> <th>Username</th> <th>Form Name</th> <th>Name</th> <th>Mobile</th> <th>DOB</th> <th>&nbsp;</th> </tr> <? /*$username="username"; $password="password"; $database="your_database";*/ mysql_connect('locahost', 'username', 'password') or die(mysql_error()); mysql_select_db('database') or die(mysql_error()); $query="SELECT * FROM table_name WHERE user_id='username'"; $result=mysql_query($query); $num=mysql_num_rows($result); mysql_close(); $i=0; while ($i < $num) { $form_id=mysql_result($result,$i,"form_id"); $form_name=mysql_result($result,$i,"form_name"); $username=mysql_result($result,$i,"user_id"); $first=mysql_result($result,$i,"first"); …

Member Avatar for rpv_sen
0
182
Member Avatar for tuancoltech

Hi all, I'm developing an application which helps to manage car park by recognizing the car's plate number. I use VC++, OpenCV, Windows SDK and DirectX in this app. But I'm now having a little trouble with it. Let me introduce a bit about how my system works so that …

Member Avatar for tuancoltech
0
670
Member Avatar for v1nc3nts

I got this error when tried to compile.. 1>------ Build started: Project: experiment, Configuration: Debug Win32 ------ 1>Compiling... 1>commands.cpp 1>..\..\..\..\commands.cpp(19) : warning C4996: 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> C:\Program Files\Microsoft Visual Studio …

Member Avatar for Ketsuekiame
0
327
Member Avatar for fcaoile

I have a java gui app which will be used by various secondary schools. I'm actually in the process of adding some "activation/serial code" before someome can use the program(they need to pay for it). I'm thinking of using an online mysql from a remote server to store and check …

Member Avatar for Muralidharan.E
0
116
Member Avatar for ychan623

Hello, I'm new to php, I'm working on a website for employment. I want user to be able to pull data from mysql by using selection from drop down menu. I have a table call jobs, inside this table there are 5 columns: JobType, Place, Wage, Phone, Date. I created …

Member Avatar for Awon02
0
2K
Member Avatar for bbyynn

Hi all, I just make a program and I get in trouble about set method.so anyone can help me? [CODE] import java.util.LinkedList; public class Polynomial { private LinkedList<Integer> coeff = new LinkedList<Integer>(); private int deg = 0; /* Constructs a new polynomial of degree zero */ public Polynomial() { } …

Member Avatar for peter_budo
0
191

The End.