64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for kooia

Hi everyone, I want to copy the output of a program with another program so I can write it to a file. I'm running Ubuntu Linux, and I'm trying to see what my system is like with hwinfo. The list is too long, though, so I need to put it …

Member Avatar for kooia
0
124
Member Avatar for mith_cool

I am a beginner to advance java and since am learning servlet am getting some weird error in my servlet. I am trying to get the method name and this is the code which i wrote down [CODE] import javax.servlet.*; import javax.servlet.http.*; import java.io.*; import java.util.*; public class NewServlet extends …

Member Avatar for ~s.o.s~
0
237
Member Avatar for Tweed

I have a form that creates a row of checkboxes depending on the type of analysis the user wants to perform on the incoming file. I need to be able to determine if the checkbox is "checked" but I don't know how to do that when the controls are created …

Member Avatar for Tweed
0
1K
Member Avatar for Indirect

Hey all. First post ;) and since i've used this site a lot for help i think its about time i registered and joined up. Im not new to programming but i am new with php + database manipulation. [CODE] $app = mysql_query("SELECT * FROM applicant_classinfo WHERE appid='".$_GET['id']."' AND '".$_GET['cname']."'"); …

Member Avatar for Indirect
0
153
Member Avatar for sabareesh

// function declaration char* operator LPCTSTR(); // defenition char* String::operator LPCTSTR() { char* szArry = NULL; szArry[1024]; reurn(szArry); } how we can create a LPCTSTR string class member function in c++

Member Avatar for Ancient Dragon
0
238
Member Avatar for sfuo

So far I have written a program that draws text to the screen and I am able to change the font type but I am unable to change the font size. Here are the 3 main parts of my code that I think you need to see. Font structure: [CODE]typedef …

Member Avatar for sfuo
0
271
Member Avatar for cmhampton

I am having issues parsing JSON data from a web service. The web service is local on my machine, and I have added it as a Web Reference. Simple data types from the service work perfectly. However, if I call a method that returns a complex structure (such as an …

Member Avatar for cmhampton
0
515
Member Avatar for swi2

Hi, I am Installing XAMPP in Windows XP but when I start my computer it gives the dialog box with "mysqld.exe not found" and when i start the localhost/phpmyadmin the following errpr is occured "#2003 - The server is not responding " pls some one give me some solution of …

Member Avatar for keval_hack
0
785
Member Avatar for dlc936

I'm trying to get a list of directories using the <CFDIRECTORY tag but the return dataset is only displaying the files in the directory and not the sub-directories. The directory I'm attempting to query has 1 file and many sub-directories but the result only returns the single file. Does any …

Member Avatar for arrgh
0
423
Member Avatar for coroll

Hi, i want to retrive data from a table which has a composite primary key. This is the query im using; "select price from Item_size where primarykey='"+pk+"'" But it does not work. Im using MS Access. can anyone help me!

Member Avatar for Ancient Dragon
0
104
Member Avatar for KhairilSyahrin

is there a way to take data from msflexgrid and put it into a ready made excel file(meaning some boxes in excel is already filled)? And it is put into some specific place in the Excel template. Data from MSFlexGrid-->Excel Template. Thank you.

Member Avatar for AndreRet
0
135
Member Avatar for braveheart_sb

Hi, I'm Having a Problem with populating a combo box with more than one result from a query. until this stage i have managed to get the first Row Curso_name,but i still find difficulty in displaying the second row and also adding a "-"between both the rows. Thank You! [CODE=php] …

Member Avatar for braveheart_sb
0
154
Member Avatar for ermercado

hi, using the sample xml below: <hdr> <sect role="para" label="1234"> <legref>asdf</legref> <cite role="com">abc</cite> <cite role="rg">RTY 08</cite> <cite role="rg">SDF 05</cite> <othertag>some textdata here <cite role="rg">SXF 05</cite> </othertag> </sect> <sect role="para" label="2345"> <cite role="com">xyz</cite> <cite role="rg">WER 10</cite> <cite role="rg">TRS 10</cite> <cite role="rg">WER 10</cite> <legref>qwert</legref> </sect> </hdr> need to extract the label attribute …

Member Avatar for ermercado
0
793
Member Avatar for asahmed

Hello Does anyone know how to effectively search for a string in a Mysql table? Here's the problem: Let's say I have a table(id,song) and I want to search for a specific song (ex: One Love) Using the following query returns the exact song when the user enters it exactly …

Member Avatar for asahmed
0
148
Member Avatar for pankajagar2002

Hello, i am using the digester to parse my xml into objects. I am getting the following error. could anyone pleaee help me to solve the problem . java.lang.IllegalArgumentException: No bean specified at org.apache.commons.beanutils.PropertyUtilsBean.getPropertyDescriptor(PropertyUtilsBean.java:874) at org.apache.commons.beanutils.PropertyUtils.getPropertyDescriptor(PropertyUtils.java:460) at org.apache.commons.digester.BeanPropertySetterRule.end(BeanPropertySetterRule.java:189) at org.apache.commons.digester.Digester.endElement(Digester.java:1332) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at …

Member Avatar for pankajagar2002
0
867
Member Avatar for peck3277

Hi guys, I have a form where users update a posts information. One of the sections is the following : [CODE]<td><input type="text" name="author" size="30" value="<?php poem_info($pid,author); ?>"></td>[/CODE] as you can see I'm using php to populate the field. Here is the function poem_info(): [CODE]function poem_info($pid,$record){ require_once '../classes.db_connect.php'; $db = new …

Member Avatar for peck3277
0
118
Member Avatar for XxPKMNxX

Ok, i have my code: [CODE] int seconds; clock_t clock(); seconds = clock()/CLOCKS_PER_SEC; if (seconds == 8){ FIVE.SetPositionX(-1); } //.... if ((AdventureGame.keypressed[DIK_F]) && (WOO.positionX == -10)){ //reset clock() here FIVE.SetPositionX(-5);} [/CODE] the clock starts when the program is run and after 8 secs, FIVE moves position. When i press F, …

Member Avatar for XxPKMNxX
0
199
Member Avatar for monstercameron

dont know much about programming will study soon but have so many questions...i was recently researching voxels and see some advantages, i noticed that they are like bitmaps but with a third dimension, so wouldnt this be true if all voxels didnt have color wouldnt the file be smaller as …

Member Avatar for Ketsuekiame
0
178
Member Avatar for Rameshkeerthi

Hi All, I have a problem in one coding part that was " I want to display one prompt box. When i click on the particular prompt box then it prompts for your name. When you given a name for example Mother, it must display a message like "Greeting mother" …

Member Avatar for Rameshkeerthi
0
111
Member Avatar for lotrsimp12345

I have set the textbox to public so that another form can access it but when i run it in debug mode with the following line it gives me exception so it doesn't store correct directory. For example: If I enter D:\newfolder it gives me D:\\newfolder. Why does it add …

Member Avatar for Geekitygeek
0
824
Member Avatar for MARKAND911

I have a panel in which I have many controls. I want to print this panel in window application. How can i do this. please send me code for it.

Member Avatar for nick.crane
0
2K
Member Avatar for virusisfound

Hi, I was comparing the features visual Basic & visual studio at that time i found that in VB provide the facility of message box. But in VS we don’t have the facility of input box. The input box is really very helpful if we want to take some input …

Member Avatar for virusisfound
0
709
Member Avatar for malashukla

i want to apply onclick event on a image in the repeater. i don't know how to do it. anybody having any idea plz guide me. thanks in advance

Member Avatar for malashukla
0
455
Member Avatar for kerek2

I'm already build this program but get error...anyone can check for me?..tq [CODE] public class Clock { private int hour; private int minute; private int second; public Clock (int hour, int minute, int second) { this.hour = hour; this.minute = minute; this.second = second; } public Clock (Int hour, int …

Member Avatar for vee_liang
0
97
Member Avatar for Lusiphur

I'm sure that forms of this question come up from time to time and it's a very subjective question that has the potential to generate some semblance of debate but here goes... Having looked into a future career in game development (back-end coding as opposed to front end UI and …

Member Avatar for Lusiphur
0
200
Member Avatar for P00dle

Would Java be able to .rename() a file while it is still being written, or will it detect that the file is in use? Also, is it possible to open a file for exclusive access in Java, and will this fail if the file is still being written? Thanks.

Member Avatar for P00dle
0
112
Member Avatar for arsenal_fan

Hi, this is not a homework or assignment. I am preparing for interviews. I just wanted to know how do I find out say the next 6 byte aligned address given any random address? Hope I am clear. Any code or explanation will be appreciated. Thanks.

Member Avatar for arsenal_fan
0
251
Member Avatar for EvolutionFallen

I have a rather embarrassing problem. While debugging a web app, I suddenly found I was not retrieving items from the database. I went to the command line to log into MySQL and got back "Error 1040: Too many connections." This was when I realized I'd forgotten to include a …

Member Avatar for EvolutionFallen
0
161
Member Avatar for ayeshakhan

i am using visual studio for making website using c# an error is occuring "There is already an open DataReader associated with this Command which must be closed" the code is public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { Getregioncategory(); } public void Getregioncategory() …

Member Avatar for ayeshakhan
0
144
Member Avatar for askreiyna

i want to know the advantages and disadvantages of single and multiple line comment in programming language in term of reliability, readability and writability. please help

Member Avatar for askreiyna
0
79
Member Avatar for Stefano Mtangoo

Just a curious Question, Is there a way of putting Vpython in wxpython as we do in case of wx.MediaCtrl and other stuffs?

Member Avatar for isabel puchoc
0
433
Member Avatar for pawan_sharma777

5. Write a program to automatically generate the telephone numbers. The requirements are as follows: Declare a character array to hold a 7-digit telephone number •Accept the telephone number as a string. The first four digits is the department code and the last three digits is the telephone number. (Example: …

Member Avatar for Ancient Dragon
0
213
Member Avatar for jemz

hello can you help me how i can catch the exception... I want to input integer for my array and i want to catch the exception if i will input a string this will display Invalid input how can i use this in try catch because i am confuse please …

Member Avatar for jemz
0
444
Member Avatar for pawan_sharma777

How to declare an array to store the different five(5) name and initialize the following char array with {"Lara","Lin","Nitin","Krishna","Sophia"}

Member Avatar for pawan_sharma777
0
99
Member Avatar for wolfeater017

Can someone tell me how to display an image with pygame. By the way I am using python 3.x.

Member Avatar for vegaseat
0
2K
Member Avatar for Anyzen

Hello i have a code here that partially works...the point in the program is to store 10 array integers then outputs how many times that integer is entered ex. input: 1 1 1 1 1 2 3 3 2 99 output : 1 = 5 2 = 2 3 = …

Member Avatar for Anyzen
0
164
Member Avatar for kayfar

i'm using C# and MS Access database..i want to search name or serial no using LIKE statement..but i don't know how to do it..and then after i search it will view the match that i search for..let's say i want to search a letter start with 'C', an then it …

Member Avatar for kayfar
0
164
Member Avatar for dupowdis

So basically, I have this GUI program. I can run it, and it displays a graph of some data. The thing is, I want to put this program inside of JFramebuilder, and make changes to it. I dont know if it is even possible, but I figured if I opened …

Member Avatar for pi_lord12
0
140
Member Avatar for Patplays852

Below is a Base Conversion Class that will take in any number (up to around 2.4 billion digits (limited by string.substring's integer property)), It will convert from any base to any base (from 2-36 inclusive) It does have some simple error handling such as if you enter a number that …

0
217
Member Avatar for pi_lord12

I am working my way through an online book--Intro to Java Programming by David Eck--and in it he says that it is generally considered bad style to use the getGraphics() method to draw outside of a component's paintComponent method. Does anyone know why this is?

Member Avatar for pi_lord12
-1
147
Member Avatar for starlight849

Hello all I am new to the community and have been stumbing across a problem with my code. I have a program that is connecting to an oracle database. I am using the table adapter to fill a combobox to select a model. Then I am connecting to the database …

Member Avatar for starlight849
0
6K
Member Avatar for Nfurman

Hello again, How can I count the message size from: [CODE] msg.Body = tbText.Text; [/CODE] ? I need to get KBs.

Member Avatar for Lusiphur
0
95
Member Avatar for Chokladkakan

I am new to Daniweb, but I have browsed the forum here for a while and it has often solved problems of mine, so now that I encountered a pickle which I cannot seem to solve in a satisfactory way using only googling, I'm asking for some hands on help: …

Member Avatar for Chokladkakan
0
136
Member Avatar for DarthMambo

I have the the following entry in my web.config in the root of my Asp.net project: [code] <urlMappings enabled="true"> <add url="~/Views/VoiceClip.wav" mappedUrl="~/Views/VoiceClipHandler.ashx"/> </urlMappings> [/code] This works fine when running the site in Visual Studio - I go to VoiceClip.wav and it redirects me to VoiceClipHandler.ashx. However, when I deploy to …

Member Avatar for DarthMambo
0
112
Member Avatar for reza.adinata

Hi, I have a snippet code below [CODE] <?php //get value of $new from other codes //$new will provide outputs of a new number every time it is executed echo "$new<br/>"; $strFile = "1.txt"; file_put_contents($strFile, $new); [/CODE] The idea is that I want to put a new line of number …

Member Avatar for reza.adinata
0
149
Member Avatar for adams161

Hi, I had to wipe a computer and reinstall the operating system and eclipse. i had backed up two of my projects in my working folder for eclipse. i copied those project folder into my new working eclipse folder, but i can't seem to open them. Open project is grayed …

Member Avatar for adams161
0
131
Member Avatar for toomuchtodo

So, I've been getting some help from the community on some issues (mainly G_Waddle, thanks again!). I'm a VB6 rookie, and it's been a while since I even did coding with that. So, basically here is my VB6 snippet. It's very straight forward and easy to code in VB6, but …

Member Avatar for toomuchtodo
0
170
Member Avatar for vampiro999

I'm trying to convert a simple program fron vb6. IT's only draggin several pictures with the mouse and drop them into anothet picture (trashbin). If the object picture dropped is a match then the trashbin.image changes to another image But: First, I don't know how to allow drag controls!!!

Member Avatar for Oxiegen
0
237
Member Avatar for Rockpile

Not sure if this is the correct forum. I am using Inno and within the scripting portion I cannot figure out how to convert a cardinal value into a string so it can be displayed in a MsgBox() so I can verify the value. When I convert the cardinal using …

Member Avatar for Rockpile
0
987
Member Avatar for Rickay

Why won't this if statement compile? [CODE]int main1() { char o[15]; cin >> o; if(o == 'oscar') main2(); else cout << "\n\aIncorrect password.\n" << endl; main(); cin.clear(); cin.ignore(255, '\n'); cin.get(); return 0; }[/CODE] I am trying to set a password to access the program

Member Avatar for Rickay
0
118

The End.