199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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) … | |
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++) { … | |
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 … | |
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 … | |
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 … | |
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?......... | |
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 … | |
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 … | |
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? | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. … | |
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 … | |
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> … | |
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, … | |
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 … | |
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... … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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>. | |
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 … | |
Yo guys plz can anyone teach me how to disable a button without using MFC. It would be great for the help | |
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 … | |
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 … | |
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) … | |
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. | |
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 … | |
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 … | |
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> … ![]() | |
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 … | |
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 … | |
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 … | |
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. | |
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 … | |
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 … | |
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? | |
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? |
The End.