199,114 Archived Topics
Remove Filter ![]() | |
I'm having a problem with a quite complex piece of code, basically i cannot use an onClick event on my <div></div> element because it contains a flash file that is capturing all the clicks on it. Let me guide you through my code: It uses an XML document to load … | |
Hi all I want a help for changing this program to a linux program . Can anyone help me? wether is it in c++ or Java. [code=java] import javax.swing.*; import java.awt.*; import java.awt.event.*; class fcfs extends JFrame implements ActionListener { JButton jb[] = new JButton[3]; JTextField jt1[],jt2[]; JLabel jl[],jl1,jl2,jl3; JPanel … | |
Hi. I'm fairly new to programming, and I'm trying to make a rock paper scissors simulator (text based). One problem I have, however, is that my compiler repeatedly tells me that a 'void value not ignored as it ought to be' prevents me from running my program. Here's the snippet … | |
hi, I need select a node like "//element[@attr='value']", but the "attr" in document can be "Attr", "ATtr" and so on, as well as the "value". I know I can select element with case insensitive using translate function like "//*[translate(name(), 'abc','ABC')='ABC']" But how can I let it work with attribute and … | |
Hello everyone. This is not really a coding problem as it is more of a compiler problem. I am making an MFC application in Visual Studio 2005. When i open up the icon, i can edit it right there in that editor. But when i do, it works fine in … | |
Hi, i want to manage 2 type of Exception lightblue._obexcommon.OBEXError 1) lightblue._obexcommon.OBEXError: (111, 'Connection refused') 2) lightblue._obexcommon.OBEXError: (11, 'Resource temporarily unavailable') how i can do it? example: [CODE] try: lightblue.obex.sendfile(device.getAddr(), c[1],"advertisement.jpg") except lightblue._obexcommon.OBEXError????????????: print "Connection refused!" except lightblue._obexcommon.OBEXError????????????: print "Resource temporarily unavailable!" [/CODE] | |
hi guys, in the setup project i added checkboxes dialog to user interface section. i have two checkboxes to install two products accordingly. if the user unchecks the both of the checkboxes, i want the next button to be disabled. do you know how to do that? thanks | |
Hi all, I need to rotate image with transparent background. I am using PHP5.1 and GD2.1. I am creating a gif after rotation. Also tried to create png. but not getting transparent background. Also sometimes getting black background. can any one help on this. Thanks in advance | |
Hi, I am having trouble inserting lines into a file via a Unix shell script, can anyone out there help me with this? Part of my file content looks like this: # default ssl qop [ssl-qop-mgmt-default] default = ALL I now need this part to read as follows: # default … | |
all i can do is get each line at a time.... how can i read it to only read till the space.... plz help.... heres my lil bit of code [CODE] while (getline(iofile,line)) { cout << line << endl; }[/CODE] plz i know i can use this aswell for line … | |
Hi everybody; is there a way to find system info (current time, date, processor speed, processor's RPM, Fan1's RPM, Fan2's RPM, etc)? I am making a program that gives you information about your computer. Thanx in advanced, C++ | |
I spent a lot of time trying to find out why "Message Box' made my program act like it crashed. Originally I had to bring up the Task Manager every time I allowed "Message Box' to run to shut down the program. After much experimentation I found that if I … | |
Hi there, I'm searching for a tool that access a website and acting as a client. I need this tools to do, 1. browse a website. 2. login as a normal client. 3. doing some activities for a specific time I defined. 4. eventually, logout Can anyone tells me where … | |
Hi All, I am trying to do reverse engineering i.e. i am trying to get the signature of the function from the arm assembly code. I want to know how can we extract function signature from arm assembly code. | |
i have Visula Studio 2008 professional edition in my machine. i have written code for export crystal report to pdf. In my machine it works fine. i have not install visual studio 2008 in other machine (network machine). but i run the setup , i tried several times. its not … | |
[B]What would be the best way of doing this?..... [/B] I have a text file containing a list of music songs that shows the artist, song title & song duration. So I'm writing a program that opens the text file & reads the duration of each song, adds each song … | |
can anyone help me in creating gadgets ...I need to know how to make a gadget ... also wat languages are used for making a gadget... i ve googled a lot bt cant find any solutions .... so help me ... | |
Hi to ALL I tried to upload file using JSP and Oracle. The first page is page.jsp which the user choose the file /////////////// [code=jsp]<%@ page language="java" %> <%@ page session="true" %> <HTml> <HEAD><TITLE>Display file upload form to the user</TITLE></HEAD> <BODY> <%=session.getAttribute("Name")%> <FORM ENCTYPE="multipart/form-data" ACTION= "upload_page.jsp" METHOD=POST> <br><br><br> <center> <table … | |
hello all i am now about ready to pull my hair out and/or possibly worse! i have to read a .csv file, split the 3 elements into variables and then put two of the variables into a map. i can read the file fine, i can display the variables in … | |
Hai all, I already created a portal with nearly 25 asp pages. How to convert this portal to a mobile viewable page? if I view that portal thro' blackberry, the total portal is scrambled. Any way to directly convert this portal. Any converter tool is available. Pls help Thanx in … | |
Hi guys I want to take an image and cut it into blocks, then store each block in an array of bufferedimages. I have tried many things [CODE]public void splitImage(int cols, int rows) { int w = thePic.getWidth()/cols; int h = thePic.getHeight()/rows; int num = 0; tileset = new BufferedImage[w*h]; … | |
Is there a pygame constant that checks when no buttons are being pressed? | |
hii ppl... i want to open an excel file stored in c:\ drive. i have a link in JSP file. i want to open the excel file when a user clicks on link. the problem is while running the application on server, i m not able to open the any … | |
Dear All, Passing condition as string to XSLT using Javascript as a parameter is not giving any results. Below is the code snippet:- [ICODE]script: var processor = new XSLTProcessor(); processor.importStylesheet(xslt); processor.setParameter(null, "query","not($projectId = 9820) and not($projectId = 9164)"); xsl code: <xsl:if test="$query"> I verified by priting xsl:value-of and string is … | |
One of my friends is trying to follow [URL="http://developer.sonyericsson.com/site/global/techsupport/tipstrickscode/java/p_post_javafile_webserver.jsp"]Sony Ericsson tutorial [/URL]on HTTP document upload from mobile device through Java Microedition. Here is an HTML example. [code=html]<form action="http://myserver/post.php" enctype ="multipart/form-data" method="post"> <input type="file" name="uploadedfile"> <input type="submit"> </form>[/code] Here is the php file receiving the posted file. [code=php]//post.php <?php $target_path = … | |
I have a transparent panel control, I don't use double buffering because they clash, and it also interferes with some other controls that I am using. On my panel I have 9 buttons, I have written code to remove a button on its click event, and then move the to … | |
I have three database tables 1. Category(Id, Name) 2. Definitions( ID, Modified, CatergoryID) 3. Versions (ID, Name, Template, DefinitionID) I have generted Entity Data Model (EDM). It has generated 3 entities 1. Category Scalar Properties ID Name Navigation Properties Definitions 2. Definition Scalar Properties ID Modified Navigation Properties Category 3. … | |
Hello All, I really hope that you can help me. I am working on a program that will read a randomaccess file's contents and store the contents into an array. It will then update the array and write it back into the randomaccess file. I have the following two methods … | |
how can i access my admin page with edit and delete buttons in (employers/jobseekers form) | |
Hi all, I have two problems 1. I have a comma separated string values. I want to load them all into checkedlistbox as items.....HOW? 2. how do I get the itemindex of checkedlistbox, passing the text? regards and thanks Jeet | |
"Hi..Plz can anybody provide me a samll Asp.net application which is using Crustal Report, which all the main functionality in webform.. plz help me.....my mail id is [removed]" | |
Ok, here's the deal. I have this homework project I'm working on and while I realize no one is here to do my homework I am a little confused right now with how to get a function to read into an array. I put in the entire code but I … | |
WHEN DATA IS READ FROM FILE AND I SELECT DISPLAY ALL IT FIRSTLY DISPLAY THE INFORMATION FROM THE FILE AND FILLS WHATEVER LEFT OUT OF THE10 RECORDS WITH WEIRD SYMBOLS. [CODE=cplusplus] # include <stdio.h> # include <string.h> # include <iostream> # include <fstream> #include <stdlib.h> using namespace std; typedef struct … | |
Hi Everybody ,i have a problem with DateTime class,I am using DateTime class in my program it works fine in php 5.2.6 .but the version in my server is php 5.1.6 so is there any class to replace the same functionality.please check the code below and if u find any … | |
hi alll... it is my first time to use this forum and i hope i am using the right one... i am student in computer science we have to decide an idea for the gradutaion project but i dont have any...i wish i do a great project related to something … | |
hi. Im afiya . i have a company's product catalogue . Im asked to represent the products in treeview control of VS2008 . Please can any one tell me how the database must be designed so that i can add a product as parent node or child node on the … | |
I HAVE USED THREE COMBO BOXES IN AN APPLICATION COUNTRYCOMBO,STATECOMBO,DISTRICT COMBO . THESE CONTAINS THE ITEMS FROM A TABLE .COUNTRY COMBO IS FILLED IN THE FORM LOAD EVENT. STATE COMBO IS FILLED IN THE CLICK EVENT OF COUNTRY COMBO . DISTRICT COMBO IS FILLED IN THE CLICK EVENT OF STATE … | |
i have a string like this: [CODE]location = '#http://www.website.com';[/CODE] how can i take off that hash sine? regards | |
I love cport-3.10 by Dejan Crnila, maintained by Lars Dybdahl and Paul Doland. It is easy to use, but still powerful. I have one problem though. Writing to a serial port is VERY slow. I run at baude rate 115200 and still it takes around 1000 ms per byte to … | |
Hi guys, One form1 I have 2 command buttons - Add new record and other to view/edit existing record (the user can enter record id and click view/edit existing record button). If the user clicks Add new record, the user is taken to the next screen where the record id … | |
hey all i need someones help. I know im asking for alot here but does someone have a jave a code for the game " the price is right" if so could you please post it through thanks for you help! | |
Hi all, I've only just stared using VS2008 VB so please excuse me if this seems a very basic question. (I've amended my example to the Northwind Database to avoid any confusion) WHAT I HAVE I have a dataset called KeyData made up of two tables Customers and Orders. I … | |
Hi. There is this stuff I do everyday with ms excel that contains a whole lot of data in it. And most of the time I search for records that appear twice on the sheet. but before I do that, I'll have to sort a particular column, say D, so … | |
Hi, I am new to Perl and am trying to port an old version of checkstack.pl to run on windows, the code iam trying to port is [code=perl] # Usage: # objdump -d vmlinux | stackcheck.pl [arch] # # TODO : Port to all architectures (one regex per arch) # … | |
Hello! I'm currently making <<The game of life>> in TP7. Actually, I have already finished everything. The only thing I would like to add is mouse input, so the user could draw the 'cells' by clicking a mousebutton. So, for example a mouseclick on coordinates (50,20) would change grid[50,20] to … | |
i know i'm now loosing the plot over this so any rapid help will be appreciated! i have to write a method which calculates the average from numbers contained in a list, when i try and run the code i get the error message: Semantic error: Cannot reach instance method: … | |
I'm writing a solitaire game in vb6 and have cards in gui on the left side of the screen lined up by suits. I have blank bitmaps on the right hand side of the screen for each suit; therefore I would drop the left hand card on the location of … | |
Hai Friends. I want to download jar file from IIS serve(.Net) from to mobile device. in apache tomcat server i used mime as AddType text/vnd.sun.j2me.app-descriptor jad AddType application/java-archive jar in wordpad, with jar and jad. its working fine. i doknow how to use this mime in IIS, please help me … | |
i want java code which find a day of a given date...eg......13 feb 1984(given date).........answer is monday... | |
Hi, I'm currently doing a sch proj. I would like to know how do I add points to the checkboxes and how do I add the checked boxes up to get the overall points? Below I have an attachment on roughly how I wan it to works in case my … |
The End.