199,124 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sudansh

how can i create gtalk bots. I have seen tutorials for making AIM bot here.[URL="http://www.daniweb.com/forums/thread49.html"]http://www.daniweb.com/forums/thread49.html[/URL] and also to make gtalk bot through Imified but this site doesn't work anymore. Besides it doesn't give much options. Can anyone provide me good tutorial for how to make gtalk bot from scratch...

Member Avatar for adam1122
0
133
Member Avatar for hilimili

Hi-DaniWeb community! I'm New here and already have a question: What software or program used <URL SNIPPED> Best Regards hilimili

Member Avatar for mrcniceguy
0
84
Member Avatar for lostprophet

Hi there, i m not a very advanced programmer so i have now come up against a brick wall. i need to use a VB code preferably on a command button, whereby the user enters a keyword into a text box, clicks the 'Search' command button, and then a procedure …

Member Avatar for koolsid
0
980
Member Avatar for jtyler

Table does not display any border when php outputs data from MySQL. I'm trying to set the following styles for table: border-width: thin border-style: solid Below is the snippet of code I'm having trouble with. print( "<table border-width = thin border-style = solid cellpadding = 1 width = 1400px>" ); …

Member Avatar for jtyler
0
2K
Member Avatar for rabbithaveit

Id like it so that when you click the 'x' button to close the program it doesnt just end. How do I apply code to the 'x' button? All help is appreciated, thanks in advance -Russell aka Rabbit

Member Avatar for jbennet
0
2K
Member Avatar for harrykokil
Member Avatar for woooee
0
76
Member Avatar for slyry88

I am trying to use this syntax to no avail: [code=sql]SELECT C_Name, ORDERS.O_ID, SUM(ITEM_ORDERED.QUANTITY*PRODUCT.P_PRICE) AS TOTAL_PRICE FROM CUSTOMER, ORDERS, ITEM_ORDERED, PRODUCT WHERE CUSTOMER.C_ID=ORDERS.C_ID AND ORDERS.O_ID=ITEM_ORDERED.O_ID AND ITEM_ORDERED.P_ID=PRODUCT.P_ID GROUP BY ORDERS.O_ID;[/code] My 4 tables would look like this: [U]customer[/U] [U]order[/U] [U]item_ordered[/U] [U]Product[/U] PK C_ID PK O_ID PK,FK O_ID PK P_ID C_Name …

Member Avatar for CPlusPlusGeniou
0
111
Member Avatar for Coolprogram

Hello all, well, I am new to these forums, and fairly new to Python. I know some python though, so I am not a complete "newb" so to speak. But I was wondering how to have python while loops work for two variables or strings or w.e. here's a piece …

Member Avatar for woooee
0
143
Member Avatar for FTProtocol

[CODE] using System; using System.Collections.Generic; using System.Text; namespace bPod { public class PodCastFunctions : Form1 { public void ClearOriginal() { newpodcastButton.Visible = false; addpodcastButton.Visible = false; finalisepodcastButton.Visible = false; overviewButton.Visible = false; this.Height = 183; this.Width = 671; this.BackgroundImage = Properties.Resources.NewPCast; podcastdescLabel.Visible = true; podcastdescTextBox.Visible = true; podcastnameLabel.Visible = true; …

Member Avatar for FTProtocol
0
107
Member Avatar for nickfday

I want to pass a php variable into xml script. Essentially what I want to achive is: var xmlvariable= '$phpvariable'; Is there a simple solution to this? Many Thanks Nick

Member Avatar for nickfday
0
2K
Member Avatar for eduardocoelho

Hi folks, I tried to read some past threads in this forum but I didn't find one that solves the problem I'm dealing about. I have experience with Java/OO programming and I'm developing a project using C++ (I have some background with C/C++ programming but I'm messing around some issues …

Member Avatar for ArkM
0
232
Member Avatar for silentspanky

Bellow are 2 files for Pie, First is simple. It works but needs PieJavaPizza to have shown inputs. For slice and type. Radius is always a power of 2. And I am stuck. Is it possible to make import java.io.BufferedReader; import java.io.InputStreamReader; import java.text.DecimalFormat; import java.text.NumberFormat; Work with objects in …

Member Avatar for VernonDozier
0
351
Member Avatar for novice007

Hi, Assume we don't know the values of a, b and c but we have the results of 'a XOR c' and 'b XOR c'. How could we know the values of a, b and c? It should not be only XOR operation, it could be any other operation, but …

Member Avatar for Intrade
0
604
Member Avatar for dc_24l

hey need some help guys. for example i have a text box and i will have input in it. but only numeric ones are allowed to be inputted in the text box if a character for example "a" is pressed the text box will not change and type the "a" …

Member Avatar for KSS
0
2K
Member Avatar for tomtetlaw
Member Avatar for ddanbe

I want to set binary values on and of at will. So I derived from the CheckBox class to change it's appearance. Instead of a checkmark I like to implement a [B]0[/B] or [B]1[/B] here. This is the code of my class so far: [CODE=csharp]class BinarycheckBox : CheckBox { public …

Member Avatar for Antenka
0
104
Member Avatar for daviddoria

I am trying to write a pretty straight forward algorithm (agglomerative clustering), but the details are getting pretty hairy. (A cluster is simply a group of points. The idea is to take a list of points and decide which are "grouped" or "clustered" close together.) Here is the outline: Input: …

Member Avatar for daviddoria
0
118
Member Avatar for Florest

I've got a CSV file which has a bunch of stock information I need to whittle down to a specific format for another program to read. The first line in the CSV file contains the header, the CSV file contains 29 keys and I need to get down to 11. …

Member Avatar for sneekula
0
3K
Member Avatar for theighost

Hi, I am making a site, in firefox it looks fine, but in IE its a mess, take a look at the first page, you will see that the images are not filling the space as they do with the firefox, although they have the same deminsions. The site is …

Member Avatar for theighost
0
143
Member Avatar for jumbla

Hi guys and gals, I am using the following code as a searchbox at the top of my site. [code]<form name="classic" method="post" action="error.php"> Quicksearch: <input name="INPUT" id="INPUT" type="text" value="" /> <select name="countries" onchange="updatecities(this.selectedIndex); document.classic.action=(this.value)"> <option value="" selected>Choose a category</option> <option value="search1.php">Category One</option> <option value="search2.php">Category Two</option> <option value="search3.php">Category Three</option> <option value="search4.php">Category …

Member Avatar for jumbla
0
250
Member Avatar for rEhSi_123

Hello eveybody, I am currently creating a forum system and have gone completely blank as how to fix this issue! The issue is as follows: A topic is created. A user comes along and comments on the topic and message is posted on the thread. Right! Now another user comes …

Member Avatar for rEhSi_123
0
218
Member Avatar for philmetz

Im a little confused how this search works. Good someone help explain it to me. I tried on this picture ([url]http://en.wikipedia.org/wiki/File:AB_pruning.svg[/url]) but it doesnt make sense. Where am I starting on the tree? is it bottom left? How does alpha beta pruning work then?

Member Avatar for philmetz
0
100
Member Avatar for charlie81

I want to change a while loop to a for loop but not sure how to do it. This is the loop. [CODE][LIST=1] [*]public static void main(String[] args) [*] { [*] String input = JOptionPane.showInputDialog( [*] "Please enter a number, 0 to quit:"); [*] int n = Integer.parseInt(input); [*] int …

Member Avatar for breandan
0
91
Member Avatar for sara khan

Hii everyone:) I have written this code to do conversion between decimal to any base between 2 and 26.... But this is not working properly ca any one help me:confused [CODE] #include<iostream.h> #include<conio.h> void conversion(int no,int base) { int arr[10]={0}; int i=0; while(no>0) { arr[i]=no%base; i++; no=no/base; } for(int j=i;j>=0;j--) …

Member Avatar for Sky Diploma
0
132
Member Avatar for Pado

I can pass my SWF file a variable from PHP using Flashvars, but when I try to pass in a number Flash tells me it's NaN. Is there something I can do to make sure it is a number? I'm not sure what to do here. Can someone help? Thanks …

Member Avatar for Pado
0
105
Member Avatar for Soccerace

I writing a program to read several data lines in from a file then using functions to process the data. One of the function is giving me an error that i can't figure out. The following code works fine with "1/2". However there is a case when the '/' sign …

Member Avatar for Soccerace
0
70
Member Avatar for down with socks

[CODE] def translate(response): """Translates an English word into Pig Latin.""" # Initial lists and strings vowels = ["a", "e", "i", "o", "u", "A", "E", "I", "O", "U", "y", "Y"] consonants = ["b", "c", "d", "f", "g", "h", "j", "k", "l", "m", "n", "p", "q", "r", "s", "t", "v", "w", "x", …

Member Avatar for down with socks
0
186
Member Avatar for lordelf2004

I try to use JDBC-ODBC but some errors occur, and I don't know why. [code=Java]public void service(HttpServletRequest request, HttpServletResponse response) throws IOException { response.setContentType("text/html"); boolean found= false; PrintWriter out = response.getWriter(); out.println("<html><head><title>SearchAccount</title></head>"); out.println("<body><h1>Your result:</h1>"); out.println("<table border = 1 cellPadding = 1 cellSpacing = 1>"); String sodienthoai = request.getParameter("PhoneNumber"); //SQL String …

Member Avatar for stephen84s
0
277
Member Avatar for xVent

Hello to all , i have my project ... but how can i make it executable and give it to other people so they can run it ? It has GUI as well .. not a simple dos prog Thanks

Member Avatar for JamesCherrill
0
110
Member Avatar for BorlandNoob

I am trying to count a few different types of characters in a string and I am running into a few problems. I need to be able to count the vowels and blanks/spaces and then just everything esle and I am having problem with the everything else(by everything else i …

Member Avatar for m610
0
97
Member Avatar for madeindadex305

Let's assume that your classes are working, and you have created an "A" object, and added 4 boxes. (5 x 5, 4 x 10, 2 x 4, and 6 x 12). Now choose the method for displaying all the box sizes. The following text might be displayed: box: 5 x …

Member Avatar for Ezzaral
0
142
Member Avatar for OffbeatPatriot

I'm making a game and the game works around a class I call Cyber_State. Every state of the game is a subclass of Cyber_State, for example the title screen you see when you start the game and the actual game. Every state has a member that is a pointer to …

Member Avatar for MrSpigot
0
99
Member Avatar for jenilgandhi

in my problem i have to enter the components of matrix in 2D array i.e input: 1 5 6 3 9 10 8 23 15 output: 1 3 5 6 8 9 0 15 23

Member Avatar for Aia
0
82
Member Avatar for daviddoria

On the line [code] set<T>::iterator iter; [/code] I am getting "expected ';' before 'iter'" [code] #include <vector> #include <set> using namespace std; template <typename T> vector<T> UniqueElements(const vector<T> &V) { set<T> s; s.insert(V.begin(), V.end()); vector<T> Elements; set<T>::iterator iter; return Elements; } [/code] Can anyone see why? It compiles fine if …

Member Avatar for daviddoria
0
102
Member Avatar for neutralfox

Hello friends, I am currently developing a chat application and I am having a small problem. When the user send a message, the message appears in a text area, like in MSN and when the user receives a message the message again appears in the text area, its just a …

Member Avatar for leverin4
0
68
Member Avatar for subho07

i want to display data from a table using jTable in swing.how can i increase the text fields....kindly can anyone give me some codes

Member Avatar for subho07
0
248
Member Avatar for C++ Obliviator

I'm working on a rather big program. Everything works fine:) , until I added this simple code: [CODE]int counter_x = 0; int* x = new int; for (int a = 1; a < plain_len; a++) //plain_len: int { int b = a; while ( b != 0 ) { x[counter_x] …

Member Avatar for C++ Obliviator
0
595
Member Avatar for locsin

Greetings! anybody know how to print msflexgrid and the data contain in this flexgrid. I want to know how to print this flexgrid into my printer. thank in advance.

Member Avatar for nor_d83
0
2K
Member Avatar for MAJORG

I can't seem to compile this properly. I'm having a lot of trouble. Can someone help me please? I have netbeans and Jarmaker. Anyone? [CODE]import java.io.*; import java.net.HttpURLConnection; import java.net.URL; import java.util.Enumeration; import java.util.zip.ZipEntry; import java.util.zip.ZipFile; public class Update extends Thread { public static void main(String args[]) { new Update((new …

Member Avatar for BestJewSinceJC
0
279
Member Avatar for Olsi009

Howdy, my friend is trying to write a program in VB 2008 and he is using an Access 2003 database. he's having a hard time writing the code for a search option. we write a string in a textbox and hit the SEARCH (kerko) button. can you pleas help us …

Member Avatar for TransKim
0
104
Member Avatar for Roobyroo

Hello, I'm not able to add a DataRow to a DataTable, believe it or not. I'm sure it has something to do with the scoping of the DataTable object, but I don't know what. When I set up the code in one method procedurally, everything works fine. I declare the …

Member Avatar for ddanbe
0
129
Member Avatar for neutralfox

Hello everyone, I am having a small problem, does someone know how to break a long string into small groups of 3 characters. I've tried it but its not working. Here's a sample of my code: [code] int begindex =0, endindex = 3; String plaintext = null; String block; StringBuffer …

Member Avatar for neutralfox
0
114
Member Avatar for denniskhor

Can direct convert GUI Desktop Application Netbean JAVA to .exe for use in Windows? who knw?? thanks.. tell me if impossible.

Member Avatar for peter_budo
0
159
Member Avatar for CPPRULZ

My textbook says "Constructors cannot be virtual. (Think about it: constructors are called to create new objects. However, if you don't know what type of object you're trying to create, how do you know which constructor to invoke?)" but I am not sure what it means by this. Is it …

Member Avatar for ArkM
0
143
Member Avatar for jyotiu

Hi All, I am displaying an image from database using php .... the problem is that i want to give a row of colors beneath the image .... so that when a user clicks on one of the color .... the image should change accordingly ... in my case i …

Member Avatar for nickfday
0
135
Member Avatar for 25kayden

Here are the errors I am getting, but I can't figure it out. Please help: GUI.java: 10: illegal start of expression public GUI(MovieCollection i) { ^ GUI.java: 110: illegal start of expression private javax.swing.JButton extButton; ^ GUI.java:111: illegal start of expression private javax.swing.JTextArea text Area; Here is my program: //GUI.java …

Member Avatar for JamesCherrill
0
116
Member Avatar for dilipkk

For an application, I need to parse a string which contains urls and their titles. For example: 'name="My Mobile Blog" url="http://caydab565.blogspot.com/" name="Creative Disaster" url="http://kevinlara.blogspot.com/" ...' name means title of url here. I want list of strings which contain both title and url. For example: ['name="My Mobile Blog" url="http://caydab565.blogspot.com/"','name="Creative Disaster" url="http://kevinlara.blogspot.com/"'] …

Member Avatar for Gribouillis
0
131
Member Avatar for atheist

[CODE]<?php // find out the domain: $domain = $_SERVER['HTTP_HOST']; // find out the path to the current file: $path = $_SERVER['SCRIPT_NAME']; // find out the QueryString: $queryString = $_SERVER['QUERY_STRING']; // put it all together: $url = "http://" . $domain . $path . "?" . $queryString; echo "The current URL is: …

Member Avatar for atheist
0
132
Member Avatar for TheFueley

Hello all, I am trying to make a linked list (class-based). I'm not sure if I went actually did it right. I get a compiler error on the segment of code that deals with printing the linked list to stdout. Here is the seqment in question. [code=cpp] // print contents …

Member Avatar for TheFueley
0
185
Member Avatar for Ineedhelpplz

Hello, I have been given an assignment in which I am to write an assembly language version of the following binary search function & use a suitable main program written in C to test my function. The function in C in which I had to translate to assembly is: [CODE]int …

Member Avatar for csurfer
0
188

The End.