199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for pee2002

Hi there! I have the following SELECT Statment: [code]SELECT IDLivro,Titulo ,LEFT(Nome, LEN(Nome) - 2) AS Nome ,LEFT(Categoria, LEN(Categoria) - 2) AS Categoria ,Posicao ,Classificacao ,Comentario FROM ( SELECT L.Titulo ,( SELECT A.Nome + ' ; ' AS "text()" FROM dbo.Autor A JOIN dbo.LivroAutor LA ON A.IDAutor = LA.IDAutor WHERE LA.IDLivro …

Member Avatar for pee2002
0
109
Member Avatar for KushKashyap

Hello friends, i am facing a bit of difficulty in designing a SQL query for calculating the total score of all the quizes taken by users in my quiz application to create a sort of leaderboard or ranking system. My table have following tables: UserQuizID (int) - PK QuizID (int) …

Member Avatar for Sakthimeenakshi
0
141
Member Avatar for Amps

Hi If i add the try block it says syntex error at initlialization of for loop . Non -working code ... #!/usr/bin/perl -w use strict; try { print " 11111111111 "; } catch { print " 2222222222 "; } for (my $i = 0 ; $i < 5; $i++) { …

Member Avatar for Amps
0
130
Member Avatar for itshibu

Dear all, I am making a new windows based application for my firm. My appli9cation is developing by vb.net. I accomplished most of the goal except custom links in rich text box. As my plan the link work with either pictorial or text. For example. If I am refering a …

Member Avatar for kardsen
0
3K
Member Avatar for abhigyan91

hey everyone, i am newbie to python, i was trying to write a script for the following problem statement(no it doesn't work..:( ).. here, is the code.. i have a few general querries about python also, plz help me out... thanks! [QUOTE] Problem D - Australian Voting Australian ballots require …

Member Avatar for shadwickman
0
1K
Member Avatar for Studio

Hi there I have been searching round the internet for the last few days trying to find a tutorial that would help me make a contact form that then uses server side and client side code (PHP/Ajax) to validate the fields so that it is degradable if the user has …

Member Avatar for vinothkumar023
0
147
Member Avatar for crazyboy

Hello friends ........ it's ma first post. As i know, constructors are called at the time of object creation. But if i want to call it explicitly, not at time of object creation, can i do this? if yes? then how? any help please?.........

Member Avatar for crazyboy
0
739
Member Avatar for vishalkhialani

Hi, I am about to do a c project for my college term. My main aim is to spend my time and make a really useful software not just another project. I would like the community to give their ideas on something which I can make and develop and spend …

Member Avatar for vishalkhialani
0
135
Member Avatar for hjdaniel.sun

Hi friends, I want to write a multiform application. if I am running form1, I want to call form2 and end form1. can anyone teach me how to do it? I tried to set form1 as invisible, but I found it funny that if I close form2 by clicking on …

Member Avatar for hjdaniel.sun
0
118
Member Avatar for abhigyan91

i know that 6/5 returns 1 and 6/5.0 returns 1.2 but suppose i am defining n=6 and d=5, i want n/d to return 1.2 instead of 1, how do i do it?

Member Avatar for shadwickman
0
143
Member Avatar for Teethous

Hey there everyone. I David. I am have a problem with the end of line keystroke ( Ctrl+Z ) in the Netbeans and JBuilder Compiler, when I press the buttons simultaneously nothing happens but when I do it in Eclipse it works fine. Here is a look at the code.Help …

Member Avatar for Teethous
0
165
Member Avatar for SpencerC9992

I am new to macromedia flash mx and just wondering if any one can help me get started and make a game. i have been playing around with flash and can make some animations and moving charachters but not a whole objective type game. please help me. thanks

Member Avatar for shadwickman
0
104
Member Avatar for Skyforger

Hi all. I'm part of a small operation, who has developed a game called Path to Pelantas. However, we are in dire need of programming help, so I wanted to know where to look for skilled programmers? Bear in mind that we are not the richest bunch as of yet …

Member Avatar for shadwickman
0
83
Member Avatar for Sub Xero

Hello everyone, I'm quite familiar with Delphi, but I'm new to using threads and so I've got a question. Here's what I'm trying to do: I'm using the brilliant VirtualTreeView component and I wish to add to it from a thread. The tree is on the main form and is …

Member Avatar for Sub Xero
0
132
Member Avatar for 0o0

i'm working on a school assigment with Binary search trees im trying to find the localtion of the smallest key in the binary nodes so i created a function that retutns the point location to the smallest element key [CODE] template <typename DataType, class KeyType> BSTreeNode * BSTree<DataType, KeyType>::findMin (BSTreeNode …

Member Avatar for Laiq Ahmed
0
201
Member Avatar for keanoppy

i wanted to make the input type=text name="" to be incremental i.e. a1,a2,a3 according to the loops generated by sql query the question is,how to specify which name to be read to the next page.code fragments might help better yeah? in one of my .php script,i have this fragment of …

Member Avatar for keanoppy
0
93
Member Avatar for gingank

Hi guys i got a problem with this i can get data from the table by using sql :-Select * from staff_badgeTracking inner join staff_badgeTrackingNew On staff_badgeTracking.Badge_ID = staff_badgeTrackingNew.Badge_ID The point is if i wan to find a specific badge id like 1234 then it will get the data from …

Member Avatar for vb5prgrmr
0
178
Member Avatar for AssaultM16

So here is how the program should work: It should accept a string in which there is a full operation (ex. 23 + 34) it should split the string into three parts. The first and the third part should be the numbers and the second should be the operation sign. …

Member Avatar for AssaultM16
0
101
Member Avatar for Aiban

Hi Everyone. Consider this part two after solving part one of my output window issie basically 7zip i needed to output its text to a output window i had created inside my main menu where the button "backup" exists. The window within the window code looks like this. [code] outputLabel …

Member Avatar for shadwickman
0
111
Member Avatar for jahmassive

This is the code that i have, my project is to do this exact code, but with structs. I'm obviously very shaky on the structs concepts, however, i really need to get this assignment done. Any help in this matter would be greatly appreciated! [CODE]#include <stdio.h> #include <string.h> #include <stdlib.h> …

Member Avatar for Dave Sinkula
0
488
Member Avatar for Victor C.

I have to create a Gradebook program with a Mdb provided by our prof. it is suppose to compose a letter in a listbox to say as so Student Name address Dear student your grade for CMSC 100 are as follow finalexam: semester grade: Best wishes for a good summer, …

Member Avatar for Victor C.
0
216
Member Avatar for ryy705

Hello, I am trying to read in a tab delimited text file. Most lines in the file are in the following format: [CODE] Col1 Col2 Col3 data1 data2 data3 data1 data2 data3 [/CODE] But some lines are missing the first value: [CODE] Col1 Col2 Col3 data1 data2 data3 data2 data3 …

Member Avatar for ryy705
0
4K
Member Avatar for parlati

Hello Folks, I'm a not an expert in Oracle/SQL Server query and need some guidence and help from the professionals. Basis for my challange is that I have two tables that i need to collect data from. The main table is ACTIVITIES...secondary table is CODESET... Fields (column) To collect/ are... …

Member Avatar for cgyrob
0
142
Member Avatar for BestJewSinceJC

edit: I see a lot of other threads on Daniweb on this. But after 2+ hours of reading about Sound in Java, I'm even more frustrated, so I have some questions. 1. Is the Java Sound API sufficient for the following operations: Playing mp3 audio files, pausing, and fast forward/rewinding …

Member Avatar for BestJewSinceJC
0
496
Member Avatar for lancevo3

I am writing a function that inserts an item into the rear of the queue. [code=cplusplus] template <class T> void Queue<T>::pushBack(const T& item) { QNode<T>* newNode; newNode = new QNode<T>[item]; if (empty()) qFront = newNode; else qRear->next = newNode; qRear = newNode; qSize++; } [/code] It seems like line five …

Member Avatar for lancevo3
0
103
Member Avatar for milhero

Hi Professionals, I am using Microsoft Visual Studio 2005. I would like to know how to separate content in a richtextbox([B]rtbTo[/B]) in windows form with a comma automatically. For example after copying email addresses from a .txt file and pasting it to the richtextbox([B]rtbTo[/B]), there should be a comma inserted …

Member Avatar for milhero
0
143
Member Avatar for neclark2

I'm having difficulty loading images via Ajax on a site that I've been working on. I'm performing the ajax by using the Request.HTML object of the MooTools framework. Basically, I'm just passing some parameters to a php script which outputs some image tags and then I insert that HTML into …

Member Avatar for essential
0
82
Member Avatar for Joy McClure

Hi, I'm having problems with my find button Private Sub Btnfind_Click(ByVal sender As System.Object, ByVal _ e As System.EventArgs) Handles Btnfind.Click MainFormTableAdapter.FillByLastName(_6776_BDataSet.MainForm, Txtfind.Text) I get the error:Too many arguments to 'Public Overridable Overloads Function FillByLastName(dataTable As _6776_BDataSet.MainFormDataTable) As Integer'. I'm trying to create a find button which allows the user …

Member Avatar for Joy McClure
0
116
Member Avatar for Joy McClure

Hi, I'm having problems with my find button Private Sub Btnfind_Click(ByVal sender As System.Object, ByVal _ e As System.EventArgs) Handles Btnfind.Click MainFormTableAdapter.FillByLastName(_6776_BDataSet.MainForm, Txtfind.Text) I get the error:Too many arguments to 'Public Overridable Overloads Function FillByLastName(dataTable As _6776_BDataSet.MainFormDataTable) As Integer'. I'm trying to create a find button which allows the user …

Member Avatar for Joy McClure
0
89
Member Avatar for b89smith

I am using Dev-C++ in Windows. When given a file's url I want to be able to download it to a variable and then pull data out of the file using string manipulation and use it in my application. I have search Google and I have not found any good …

Member Avatar for Ancient Dragon
0
113
Member Avatar for jake43

I don't understand why this program will not compile please help. This is what the program supposed to do. After the correct number is guessed or all five guesses are used and the correct number is not guessed, the user will see a message that shows the secret number and …

Member Avatar for SeeTheLite
0
104
Member Avatar for ginger182

ok so I want to know how the response.redirect works in one page i do a search for items page1 [CODE]protected void _btnSearch_Click(object sender, EventArgs e) { Response.Redirect(Pages.TradeUp.Default + "?SearchItem=" + Server.UrlEncode(_txtSearch.Text)); }[/CODE] on my "default" page I want to display my results how do I receive my search request …

Member Avatar for ginger182
0
123
Member Avatar for kz07

how can i modify my code so it can handle upper and lower case characters.. for this: cout << "(B)uy, (S)ell, (H)old or (Q)uit: "; cin >> ans; what should i add to the code? i added #include <cctype>.

Member Avatar for SeeTheLite
0
110
Member Avatar for wicked357

I have been working with assembly for some weeks now and I want to actually take on a challenge that actually might interest me in the means to learning it better, so I thought I would try and make a maze game something simple, not sure on size yet I …

Member Avatar for wildgoose
0
2K
Member Avatar for huzeifa

Yo guys plz can anyone teach me how to disable a button without using MFC. It would be great for the help

Member Avatar for marco93
0
96
Member Avatar for Mnkyman1030

Hi, I'm having trouble with a program that I have to write that is supposed to convert a prefix expression to a postfix expression using stacks. The program I wrote seems to compile fine but when I run it, it gives me a fatal error and aborts the program. I'm …

Member Avatar for Mnkyman1030
0
1K
Member Avatar for gangsta gama

Hello all, I have been programing for a year or two and i dont get vectors. I have seen them with numbers but can someone give me an example of vector.erase with letters? like for an RPG: like sword, axe, armor. Then have them chose what they want to be …

Member Avatar for Nick Evan
0
139
Member Avatar for avaitla

Hey. Can someone help me with this parsing function? I'm not sure why it won't work. Whenever I test it with a valid input and output file it simply crashes. [code] void parse(string infilename,string outfilename) { string temp; ifstream infile(infilename.c_str()); ofstream outfile(outfilename.c_str(), ofstream::app); if(!infile) { cerr<<"Infile Not Working!"; } if(!outfile) …

Member Avatar for avaitla
0
93
Member Avatar for chand.

Anyone knows the best book of php5, in which author teaches to create an object oriented shopping cart, step by step. Or if anyone knows about some great series of tutorial in which we can have the same stuff.

Member Avatar for InsaneVr6
0
95
Member Avatar for kbjustin

I just installed php 5.3 and apache 2.2 on my computer. While Apache seems to know I have php(it shows php 5.3 on the bottom of the apache monitor) when i tried to load a page with phpinfo() nothing shows up. I know i have the right syntax(i have used …

Member Avatar for kbjustin
0
747
Member Avatar for chatgro

I was Writing a code to connect data base and add the following code to my action.java Connection connection=getConnection("UserBook","UserBook123","catalog","localhost"); String sql="select BookName from book"; PreparedStatement ps=null; ps=connection.PreparedStatement(sql); ResultSet set=ps.executeQuery(); while(set!=null&&set.next()) { System.out.println(set.getString("BookName")); } connection.close(); the error i get is "The method PreparedStatement(String) is undefined for the type Connection" Need to …

Member Avatar for VernonDozier
0
100
Member Avatar for poncho4all

Ok well i need help with my code, the idea is to make something like a DOS Console, the trick is we are not alowed to use dos functions. Well this is what i have so far [code] #include <stdio.h> #include <iostream.h> #include <conio.h> #include <string.h> #include <dir.h> #include <dos.h> …

Member Avatar for iamthwee
0
183
Member Avatar for ryy705

Hello, I am trying to create a simple ftp client. I'm following the instructions from [URL="http://www.nsftools.com/tips/JavaFtp.htm"]http://www.nsftools.com/tips/JavaFtp.htm[/URL](option 4) If you take look at JakartaWrapperTest.java, The first line is import JakartaFtpWrapper; So When do javac JakartaFtpWrapper.java JakartaWrapperTest.java -cp commons-net-ftp-2.0.jar I get an error saying [B]'.' expected[/B]. And if I comment out the …

Member Avatar for ryy705
0
281
Member Avatar for sonia sardana

I m working on project in which i have to add tab & close tab as that of IE. I m able to do dat,but its not very much clean.Check it out.Plz see if somebody can help me to do it more better. [code] Public Class Form5 Public lSelectedTabPageIndex As …

Member Avatar for tedhead2
0
162
Member Avatar for HughLa

Ok I have been trying for hours and hours to stop my image upload script from uploading the same image whenever a user refreshes the page. I have tried unlink, unset and redirecting the user and back. It still won't quit. I have literally unset every single input element in …

Member Avatar for djjjozsi
0
74
Member Avatar for sana.khatib20

hi all, i want the application to show error message if the searched object is not in the database or if the user is trying to insert the same value again plz suggest some code.

Member Avatar for babbu
0
93
Member Avatar for vijayalakshmisn

a.h ------------------ this is one file This contains the following information inside the .h file /*add/root/temp/private/addsolutions.c/*/ int vehicle(int a,int b); int car(int a,int b); My request: I need to read the a.h file uearch for the addsolutions.c which is a header file search in the whole project directory and open …

Member Avatar for Dream2code
0
180
Member Avatar for Nogat21

Hey, i'm in a bit of a deadline here, so i need your help. I'm trying to develop an application that, upon selection of an event and its respective "listener" (a button), fires the event name and the current time. Thing is, so i can print the event name i …

Member Avatar for sknake
0
445
Member Avatar for lqdo

hi, I have developed a form application that contains a lot of user specified settings that need to be saved. Currently the app is using serialisation/deserialisation to manage and save these properties/settings. Are there any other/better methods/techniques to manage user settings without using a database?

Member Avatar for lqdo
0
348
Member Avatar for br99

I'm trying to write a GUI program where I want to use both strings and vectors, but the computer won't recognize them no matter where I try to include <string> and <vector>. Can you tell me where in the code I need to put my includes and my std namespace?

Member Avatar for br99
0
551

The End.