199,112 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for wthorpe

I could use some help with a [B]SQL SELECT LIKE[/B] command. I have two TextBox'es that I am using as input for two different searches through a SQL database with the result placed in a GridView. It is important to note that the search can be performed from either TextBox, …

Member Avatar for wthorpe
0
112
Member Avatar for bean1000

Hi everyone. I am new to PHP and XML and would like to take the following example xml, [code] <?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?> <shirt> <name>Long Sleved></name> <link>index/1/1</link> <Types> <Type> <name>blue</name> <link>index/1/1/1/17743/60088</link> </Type> <Type> <name>green</name> <link>index/1/1/1/1/1</link> </Type> <Type> <name>red</name> <link>index/1/1/1/2/2</link> </Type> <Type> <name>yellow</name> <link>index/1/1/1/3/3</link> </Type> <Type> <name>orange</name> <link>index/1/1/1/4/4</link> </Type> </Types> </shirt> …

Member Avatar for bean1000
0
95
Member Avatar for brendaky

Hi, could any one help to debug this code plz thanks in advance #!/usr/local/bin/perl # load_bulkups.pl - create bulkup orders from a csv file # the input file should be in the comma seperated, in the # following format: # site,vendor,sku(Stock Keeping Unit),forecast,qoh(Quantity on Hand),qoo(Quantiy on Order),buying_multiple,outl,demand,order # if an …

Member Avatar for KevinADC
0
135
Member Avatar for sickly_man

whats up everybody? havent been on daniweb in a while. self-motivation like whut....until now. anyways ive got this script that makes an html form with 19 or so fields. its supposed to put the form info into a file (mediaRequest_log.txt). it gets this information by way of [code=perl] # get …

Member Avatar for KevinADC
0
129
Member Avatar for driplet

In BCB, I need to pass a two dimensional array to a function Ratio. I did this without pointers or reference. Could any body else tell me what I should revise if I want to use pointers or reference for input? [code] double Ratio(double a[3], double VA[3][3], int i) { …

Member Avatar for driplet
0
154
Member Avatar for Genar Codina

I have a question related to placement new. When dealing with objects, in order to destroy an object created with placement new it has to be called the destructor of the object explicity; that is: [code] #include <new> using namespace std; //The following command really allocates the splace char * …

Member Avatar for Genar Codina
0
161
Member Avatar for leroi green

hello everyone, i'm in class and having problems with this method declaration. i'm brand new so please don't be too rough, just trying to understand what i'm doing wrong & what will be needed to fix it [code] public static int iMethod (int i); { while (true) { if (i …

Member Avatar for Ezzaral
0
93
Member Avatar for nsesem

i have an assignment about the meeting room capacity , in fact is about write a program that detremines whether a meeting room is in violation of fire law regulation regarding the maximum room capacity. i've trid so hard but right noe I'm stuck. i do need help..someone to help …

Member Avatar for zandiago
0
114
Member Avatar for rohit saroha

hello, i am having a problem with starting of services of tomcat server ,when i write"http://localhost:8080/" it is not opening the home page.also when i start it 's services then it automatically stops after some time. plz help...................................................it's urgent.

Member Avatar for schoolsoluction
0
99
Member Avatar for Inny

im trying to build a rss feed that will work with my software. php code [code] <?php $t = 15; $nt = 15000; $filename3 = "xrssdone.txt"; $content3 = file("xrssdone.txt"); $done = explode("|",$content3[0]); $num = explode("showtopic=",$_GET["newlink"]); $nummin = explode("&",$num[1]); echo $nummin[0]; for ($i=0; $i<$nt; $i++) { if ($nummin[0] == $done[$i]) { …

Member Avatar for Inny
0
132
Member Avatar for hectic

I have a header file : abc.h and abc.template file and i want to use the template feature, how can i modfiy following program to change it completely in template abc.h file have [code=cplusplus] #idndef d_h #define d_h # include header files - cstdlib, iostream and string namespace xyz { …

Member Avatar for vijayan121
0
510
Member Avatar for abar_sow

can anyone explain wat this program is abt. ? [code] import java.util.regex.*; import java.lang.*; import java.io.*; import java.util.*; public class ReadPara { public static void main(String[] args) { CharSequence inputStr; inputStr = "a\r\n\r\nb"; // Windows // Compile the pattern String patternStr = "(^.*\\S+.*$)+"; Pattern pattern = Pattern.compile(patternStr, Pattern.MULTILINE); Matcher matcher …

Member Avatar for masijade
0
116
Member Avatar for degamer106

One of the things that's been confusing me so far is why we have to override the paintcomponent() function after extending it. For example, this program draws an ellipse: [CODE]import java.awt.Color; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.geom.Ellipse2D; import javax.swing.JComponent; public class DrawEllipseComponent extends JComponent { public void paintComponent(Graphics g) { …

Member Avatar for Ezzaral
0
101
Member Avatar for sagarvs

hello everyone, Am a btech student.Iam now doing a project of watermarking using dsp processor.for that ,the image processing is to be done in borland C and using code composer it shud be called to a dsp processor.so if anyone,can please help me to get program codes for accessing a …

Member Avatar for sagarvs
0
93
Member Avatar for ceyesuma

How do you use methods as args? I can not seem to get the string or file stored in the getters and setters to work as args for the printWriter.etc. Unless something else in this code is causing it. all the getters and setters work everywher else [code] /* * …

Member Avatar for ceyesuma
0
120
Member Avatar for sbakca

can anyone tell me how to write this in LC3 thanks [code=c] for (i=0, i < 3001, i++) { if (i == 0) A[i] = 0 A[i+1] = 0 else A[i] = i } for (i = 1, i < 30,i++) { for (i+i; j < 3001) { if (A[i] …

Member Avatar for Ancient Dragon
0
461
Member Avatar for SheSaidImaPregy

Here is the code I am using now. What I have is a datalist that pulls DateofBirth and Dead values from the database. The Dead values only equal Yes or No, but will later equal 0 or 1. I cannot seem to figure out how to do an if statement …

Member Avatar for SheSaidImaPregy
0
113
Member Avatar for tapannigam

class A{ void process() throws Exception{ throw new Exception(); } } public class ExtendTest extends A{ void process(){ System.out.print("ExtendTest"); } public static void main(String[] args) { A a = new ExtendTest(); a.process(); //line 1 new ExtendTest().process(); // line 2 } } Why does this program gives an unhandled Exception at …

Member Avatar for darkagn
0
82
Member Avatar for geetajlo

Hi ! Can you guide me to change the colour of a message box. that is by default it is always blue. i want to change it to another color. plzzz help

Member Avatar for SheSaidImaPregy
0
124
Member Avatar for SheSaidImaPregy

What is better to do, and if you could, please include the pros and cons along with your opinions: 1) Open the connection to the database as late as possible and end it as early as possible, and do this a total of 5 times in one page_load. 2) Open …

Member Avatar for SheSaidImaPregy
0
803
Member Avatar for makmak02

I'm making a code that will add the squares of a range, ie input number is 4,the squares of 1+ square of 2+square of 3+square of 4 (1+4+9+16)= 30. In my code I'm using the caret symbol for the square but it just multiply the number by 2 and not …

Member Avatar for Ancient Dragon
0
146
Member Avatar for nschessnerd

Hey does anyone know a way to make a program run at a certain time? no... i dont wantto use task scheduler basically a person sets a time in my program and it runs a method at said time. Ideas? Thanks m

Member Avatar for nschessnerd
0
84
Member Avatar for Nokkieja

Hi there, Is there a way in vb2005 to: passtrough the name of a control to an other sub? I have 5 pictureboxes. I want to do some action in the other sub, depending on what control has been clicked on. example: Private sub Picture1_Click() dim objControlName as Picturebox objControlname …

Member Avatar for Nokkieja
0
77
Member Avatar for econobond007

My java task is to write a code that sorts dates from a text, using readline. so 1/04/2005 is good, not 22/44/1555.... exceptions perhaps... if anyone is free to help me, please mail or aim(acumenred)

Member Avatar for masijade
0
58
Member Avatar for me_j

I've a 'Birthday' form wherein when i click on Search command button, an input box is displayed. In this input box, i type in a month and when i click on OK i want details of all those students whose birthday falls in that month.i'm using ADO Data Connection.

Member Avatar for choudhuryshouvi
0
76
Member Avatar for rinoa04

I am trying to connect to database using app.config instead of putting the connection settings in each form. Below are the coding that i used. It works in Microsoft Visual Studio 2003. However, it doesn't works in Microsoft Visual Studio 2005. It states that the System.Configuration is obsolete. Does anyone …

Member Avatar for Exelio
0
139
Member Avatar for Exelio

hi all, I am working in a windows application. i have a text say for eg, <img src="http://static.ibnlive.com/pix/sitepix/06_2007/kumaraswamy_cm90.jpg" alt="BACKTRACKING? Kumaraswamy says he never said he would step down on October 3." title="BACKTRACKING? Kumaraswamy says he never said he would step down on October 3" border="0" width="90" height="62" align="left" hspace="5&"/> Kumaraswamy …

Member Avatar for Exelio
0
112
Member Avatar for psyman_86

Hi, Im trying to implement a LCD screen as part of a engineering design project. The screen is to be connected to a M16C/62 microcontroller. In order to compile the software I am using the NC30WA V5.20 Release 1 compiler, as it is the compiler which comes with the development …

Member Avatar for psyman_86
0
265
Member Avatar for JavaNewbie07

I am trying to create a queue of tokens from a file and I have the following; [code] Scanner pScanner = new Scanner (System.in); String ptoken; While ((tak = tz.getNext()) !=null) { System.out.println ("The next token is " + tak); .......//more code }[/code] This works becuase it scans every token, …

Member Avatar for orko
0
130
Member Avatar for niki01

Hi, I need help with Round Robin algorithm. I don't understand how to implement the process.

Member Avatar for Killer_Typo
0
156
Member Avatar for irajani

Hi, I'm designing a database for a company that retails computer products, phones, faxes and so on. As you can imagine, there are a number of different types of products, eg. hard drives, CPUs, routers, optical drives and so on. One of the requirements is that for each category there …

Member Avatar for betashruti
0
154
Member Avatar for winky

Newbie C++ programmer here :) I'm supposed to bubble sort an array to where I can eventually print it ascending and descending in the correct order. I am, however, having trouble passing the parameters for the bubbleSort and printElements functions. I get the error: error C2664: 'bubbleSort' : cannot convert …

Member Avatar for Ancient Dragon
0
2K
Member Avatar for yogesh_vaidya12

i have the following query SELECT C.FIELD6 ,C.FIELD2,C.TRANSACTIONNO FROM ipfroutine_deduction a,Servicemaster B,INPATIENTBILLALLDETAILS C, Departments D,INPATIENTBILLS E WHERE a.ipftestcd=b.code AND C.BILLNO=E.BILLNO and trim(a.ipftestname)=trim(b.childname) AND TRIM(B.childname)=TRIM(C.FIELD2) AND TRIM(A.IPFDEPTCD)=TRIM(C.DEPTCD) AND TRIM(C.DEPTDESCR)=TRIM(D.NAME) AND E.FROMDATE BETWEEN TRUNC(A.IPFFROMDATE) AND NVL(TRUNC(A.IPFTODATE),E.FROMDATE) AND C.BILLNO = 'D00024585' It's result as NO FIELD6 FIELD2 TRANSACTINO 1 220 CHG (HB TC …

Member Avatar for yogesh_vaidya12
0
115
Member Avatar for Fam

I would like to implement alert notification functionality like Outlook's reminder using ASP.NET. Do anyone having any idea/sample to adress my needs? Thanks.

Member Avatar for Fam
0
95
Member Avatar for shizu

Hi, I am new here.. I faced a problem when I tried to call two difference software function.. I name this two software as App A and App B.. I had create App B's pointer at App A, name as BPointerAtA.. I try to new the pointer at App A …

Member Avatar for shizu
0
165
Member Avatar for rocky1821

Good day all, I've been working on this code for a for a while now and I can't seem to find what's wrong. I am supposed input two numbers and return if this is a twin prime number by just outputting true or false. My program compiles and runs but …

Member Avatar for Ancient Dragon
0
185
Member Avatar for todd2006

Hi, I have 2 frames Topmenu bottommenu in topmenu i have a drop down when the drop down value is selected i want to refresh the bottom frame and pass the gender of the student So here is my code this code refreshes the bottom frame [CODE] function transval() { …

Member Avatar for todd2006
0
136
Member Avatar for piers

I have a section of code in a programme I have: [B]long b; if (show>1189&&<1189*2) { b=1; } else if (show>1189*2&&<1189*3) { b=2; } else if (show>1189*3&&<1189*4) { b=3; } [/B] The variable show is an already defined string which takes a number value. So I want to output the …

Member Avatar for piers
0
85
Member Avatar for EnderX

I have a php report page I'm working on that's giving me some problems. It's designed to be used on multiple systems; as far as I know, all of these systems are identical. On the system I did development on, the page displays information as needed. On the others, I …

Member Avatar for EnderX
0
119
Member Avatar for ndoe

hello all,i hope you all can help for this,i want showing image by clicking button,i have 5 button with parents panel 1 and i want show image to panel 2,my plan the image can be drag or rezise and image show all the time user want,i have idea for drag …

Member Avatar for vegaseat
0
223
Member Avatar for carrie3112

I just created a project using vb. net (2003) that contains the executable and added the libraries and files I thought were necessary. When it pre-builds, it says that many dependencies are missing, interop.dzocx1lib and interop.dzstactxlib. Those files (assemblies) are listed in the project. It does install on my target …

Member Avatar for alawson
0
103
Member Avatar for sayanriju

Hello People! I'm trying to design a text editor using wxpython. I wish to add some basic formatting functionality (like BOLD, ITALICS, UNDERLINE) to it. Is there any way to achieve this in wx.TextCtrl ? Or do I have to use stc.StyledTextCtrl (which I don't really wish right now)? Thank …

Member Avatar for vegaseat
0
1K
Member Avatar for JaedenRuiner

Well, I'm not sure how other people do it, but eh, for some reason VB makes my task excessively difficult, because it is so inter-dependent and integrated. Now, HTMLDocument, is a Document interface for...go figure...an Html Document. However, I can't use it. I can only get to it via a …

0
192
Member Avatar for jdavenport

Hello, We are running cfmx7 with apache on red hat linux. A problem started 2 days ago causing our website to hang, where coldfusion and apache do not seem to be communicating properly with each other. We will restart the coldfusionmx7 service (with or without restarting httpd service), and everything …

Member Avatar for jdavenport
0
156
Member Avatar for Eko

How can I have a post quick reply textarea , just like the one on daniweb , in a phpbb 2.0 ? Do you know/have a mod that does that ?

Member Avatar for Eko
0
73
Member Avatar for DREAMER546

hey every one please can u help me .. i need this today [B]Write a C++ program to read numbers end with -1 then print the largest number[/B] i'm tring but always print to me the largest -1 that's wrong! :"( how can i fix this [CODE]#include <iostream> int main() …

Member Avatar for DREAMER546
0
113
Member Avatar for blanklogo

I am a student taking a java class online. its kinda hard because I don't have anyone to talk to directly. I do not want someone to do this for me i just want a simple yes or no answer. I have created a program for my second assignment. The …

Member Avatar for johnsene
0
154
Member Avatar for chrisw09

I'm working on a small program that i'd like to deploy using java webstart. I have everything working but when I launch the program using webstart/jnlp, a statusbar is added to it (see attachment) which says "Java Application Window". It's not there when i run the app locally. Any idea …

Member Avatar for chrisw09
0
117
Member Avatar for ginwah

Consider two computer systems A and B. For A, a branch is implemented by two instructions: Sub $3, $1, $2 #$3=$1-$2 Branch $3, 300 #take the branch if $3=0 For B, the compare is included in the branch instruction as in our MIPS architecture Beq, $1, $2, 300 All other …

Member Avatar for ginwah
0
94
Member Avatar for Pinky.Rozita

Hi all .. this jsp code when we use database access, to get the information by entering the price , my problem is that now iam using oracle as database and i dont know what are the changes that can be made here only ofcorse the path of database this …

Member Avatar for lookof2day
0
250

The End.