132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for SergioGP

Hello everybody, do you know any clarion forum? please post the URL. or please post a VOTE to this thread so the Admin creates a section for clarion issues. Thanks.

Software Development first-post
Member Avatar for shopprojectw
1
460
Member Avatar for Ramy Mahrous

I got yesterday a question how to get average date from list of dates, and here's my answer.

Software Development
1
771
Member Avatar for chound
Member Avatar for Tellalca
1
161
Member Avatar for preethis

Hi, How to implement a stack using two queues ? Help pls! Regards, Preethi

Software Development c
Member Avatar for absolutely
1
536
Member Avatar for dualdigger

Hi; I made a ATL/MFC application using VS 2008 but its exe is not running on Win Xp or Windows 7. My OS is Windows XP 2002 with Service Pack 3. What could be the problem? Doing some .net Framework Service packs doesn't seem to help much as I already …

Software Development c++
Member Avatar for amrith92
1
499
Member Avatar for PierlucSS

I know that technically, an Interface is used for reading and not writting or editing however, I want to add an add and addrange function to the following class, here is what I currently have which is not working [code] public class HrefCollection : IEnumerable<Href> { private IEnumerable<Href> hrefs; public …

Software Development
Member Avatar for PierlucSS
1
239
Member Avatar for jib

I've already povided the tutorials on how to do it above

Software Development python
Member Avatar for jib
1
4K
Member Avatar for jib
1
376
Member Avatar for katmai539

Hello, i'm new to daniweb and also quite new to C++. I'm trying to write a function that takes a filename and a string query like [CODE]string GetStringValue(string filename, string query) { /*...*/ }[/CODE] then finds the query in the file, and returns what's behind the = mark. the file's …

Software Development c++ file-system
Member Avatar for katmai539
1
210
Member Avatar for jib

[B][COLOR="Green"][B]I have done the blackjack program but every time i run it shows an error here is the code: P.S. I also need to show the value of the card[names of the cards e.g Jack etc[/B][/COLOR][/B] [CODE]import random as r def define_cards(c): rank_suit=["ace","two","three","four","five","six","seven","eight","nine","ten","jack","queen","king"] suit_rank=["clubs","spades","heatrts","diamonds"] for suit in range(4): for rank …

Software Development python
Member Avatar for jib
1
109
Member Avatar for Diamonddrake

Not like I don't have 100 unfinished projects already. But I recently come across a mario paint composer by unfungames.com. I remember playing mario paint back on the Snes. So I gave it a whirl. Turns out they wrote it in macromedia director. and it sucks. It does what its …

Software Development audio
Member Avatar for Diamonddrake
1
121
Member Avatar for xcristi

Hello, I have an application with a db update dialog: a static text and two buttons. One of the button is bind with the [B]do_update[/B] method which uses multiprocessing module to run a long task in the background. To communicate from there, I use Publisher() class. A receiver for that …

Software Development python
Member Avatar for xcristi
1
1K
Member Avatar for yongj

In my header file I have: [CODE]#include <iostream> #include <string> using namespace std; class Customer { public: //Output void displayLabel(ostream &out);[/CODE] And in my main: [CODE]#include <iostream> #include <fstream> #include <string> #include <iomanip> #include "Customer.h" using namespace std; Customer cust; string blank = " "; string line; int start, end, …

Software Development c++
Member Avatar for mitrmkar
1
166
Member Avatar for Anigmalee

Hi, I want to set Textbox1 to textbox 55 to .readonly =true by using says For loop,so i need not key in one by one. Any ways to do it? I know sonthing like [CODE] For index As Integer = 1 To 55 Me.b.Controls("Textbox" & index).Text = index Me.b.Controls("Textbox" & …

Software Development vb.net
Member Avatar for crazyhorse09
1
1K
Member Avatar for jib

• shooter_clicked(x,y): This function is called when the shooter turtle is clicked on the screen. If the bullet not already moving, this function sets a global flag to cause the bullet to start moving upward. • Set the window dimensions and title. Call setup() to draw the window. • Set …

Software Development python
1
5K
Member Avatar for ceyesuma

Hello I am learning how to use setString() for "?" and using passwords in resultsets. my password ends up with the error [icode]java.sql.SQLException: Invalid cursor state - no current row.[/icode] Can this error be corrected? thanks. [code] run: driver tableName from xml: org.apache.derby.jdbc.EmbeddedDriver in StudentDAO.JAVA and in connect of the …

Software Development apache java xml
Member Avatar for ceyesuma
1
1K
Member Avatar for David Mac

I'm not sure this is really the right place for this question but I couldn't find a general programming forum. Why are the numeric values -1 and 0 used to represent the logical values TRUE and FALSE? No particular reason to ask this, I'm just curious! David

Software Development vb.net
Member Avatar for David Mac
1
129
Member Avatar for nsutton

So I got bored and made a blackjack game. This is probably be the last thing I code in python before I move to C#!!!(so excited to learn it) The game() function is the main fuction all the rest are pretty self explanatory if you understand blackjack. My issue is …

Software Development python
Member Avatar for nsutton
1
228
Member Avatar for vandalised

My task was to create a leapyear program. The following was created: [code] def LeapYear(year): if year % 400 == 0: return True elif year % 100 == 0: return False elif year % 4 == 0: return True else: return False print (LeapYear(400)) print (LeapYear(1000)) print (LeapYear(1012)) print (LeapYear(2000)) …

Software Development python
Member Avatar for griswolf
1
2K
Member Avatar for aint

Hi, What I want to do is, to take multiple sentences, and create a bar representing the sentence length, and under that bars for words, or string of interest. And this process will be iterated over a text, so I can get many graphs on top of each other representing …

Software Development python
Member Avatar for TrustyTony
1
415
Member Avatar for iamthwee

Hi guys, Looking for opinions on what would be the best/easiest xml parser to use. Size and speed aren't really an issue here, just ease of use. Using std::strings as well would be beneficial. Please reply only if you've had experience using one.

Software Development c++ xml
Member Avatar for scrontch
1
234
Member Avatar for Aeronobe

I'm wondering if i can make this shorter: [ICODE]if not link.startswith("javascript") and not link.startswith("mailto") and not link.endswith("pdf") and not link.endswith("ppt"): #do something[/ICODE] Cause this is getting VERY lengthy, very soon

Software Development pdf python
Member Avatar for vegaseat
1
169
Member Avatar for Cap'nKirk

Hi, this is a major stepup in programming for me so please bear with me. Using the Flickr API to generate photostream thumbnail images I need to parse the XML output to my application. I don't want to use a browser component if I don't need to but rather display …

Software Development api xml
Member Avatar for Cap'nKirk
1
173
Member Avatar for flyingcurry

I tried using this code below[CODE]if (choice == 6) main (); //takes the user back to the main method to the Main Menu[/CODE] but it won't compile. error message: [QUOTE]No applicable overload for the method named "main" was found in type "movitetogo". Perhaps you wanted the overloaded version "void main(java.lang.String[]args)throws …

Software Development java
Member Avatar for fabunmi adeniyi
1
3K
Member Avatar for Sinaru

I wrote this code for fun. Wanted to do such a thing so that I would be able to use this in the future. I'm kinda new to this forum. I like to know what you think about the code. If can point out some mistakes or ways to improve …

Software Development c++
Member Avatar for mrnutty
1
187
Member Avatar for ContactaCall

Hello. I'm currently developing an IVR system under Asterisk through the Asterisk Gateway Interface (AGI), connecting to a Mysql server using the Mysql C API. The server returns a ticket number that I have to say to the client, so I developed a TTS (Text To Speech) algorithm to say …

Member Avatar for saurabhjasuja
1
343
Member Avatar for smkdude

Hello, I am currently trying to write a board game, and I am having trouble making each GameTile on the board access the same Point on the board. Each GameTile contains a certain number of Points, and sometimes Points overlap(the Point on a corner of one tile may be the …

Software Development c++
Member Avatar for smkdude
1
166
Member Avatar for strider1066

I have registered a new Tkinter module @ pypi. tkPickaColor is a dialog intended for Linux coders to provide a more full featured color chooser than is now available. I say for Linux coders since a better chooser is already available on the MS Windows side. It seems to be …

Software Development python tkinter
1
107
Member Avatar for Visslan

I wanna get the data in the clicked row in column 4. I've tried with lv.selecteditems.tostring(); but that's wrong. Can someone please help me :rolleyes: .

Software Development listview
Member Avatar for kvprajapati
1
12K
Member Avatar for aiosarem

I'm still trying to learn my way through send and recv with sockets in C. Now, I have a struct that I want to send over the socket. [CODE=c] struct myPacket { int a; double b; double c; int d; char e[80]; }; [/CODE] I have a client on a …

Software Development c client-server
Member Avatar for Salem
1
6K
Member Avatar for lmb004

Yeah, this is homework, but I have spent many hours and have asked many other students at my school to help and so far we haven't solved my problem. I am trying to write a program to figure out the first fit, best fit, and worst fit. I have randomly …

Software Development java
Member Avatar for kvprajapati
1
3K
Member Avatar for pore

Hello, I'm trying to read from the command line. There are 9 numbers and I want to store them in an array as int. I've alread the following [CODE] public static void main(String[] args) throws IOException{ String [] temp; public static void main(String[] args) throws IOException { InputStreamReader inputStream = …

Software Development java
Member Avatar for mdegi
1
206
Member Avatar for sharathk60

please anyone inform me step by step to build a signed jar form a jar.. ie signing a jar file which contains applet

Software Development java
Member Avatar for sharathk60
1
117
Member Avatar for gerard4143

I have a question, well more of a verification. In the program below, I'm packing a character array with some values. The first two are unsigned integers the next is a function pointer and the final is a string of characters...Now my question, is the casting correct for the function …

Software Development c
Member Avatar for gerard4143
1
181
Member Avatar for rasizzle

Hey Guys, This seems like a basic problem with an easy answer but I simply cannot figure it out no matter how much I try. I am trying to create a line graph based on two lists. For my x-axis, I want my list to be a set of strings. …

Software Development python
Member Avatar for rasizzle
1
102
Member Avatar for sarkar.manab

i have button in javascript, when i click ,it calls a CGI perl script and returns a download popup to me. Prob--> When javascript calling the script it starts a new thread redirecting to perl script and end. So i m not getting any action or response inside javascript. What …

Software Development java javascript perl
Member Avatar for mitchems
1
1K
Member Avatar for vegaseat

A short look at creating lists of file names or full path names using the versatile Python module glob. Glob follows the standard wildcard protocol.

Software Development python
1
3K
Member Avatar for csfriends

can any one tell us whether it is possible to send e-mails without smtp server..? if so can u give us code plzzzzzzzzzzzzzzzzzzzzzzz.

Software Development vb.net
Member Avatar for DrkNite
1
73
Member Avatar for campbellpatrick

Hi all, I'm pretty new to C, so apologies in advance, I am trying to write code that will allow me to input a line no and then display the text from that line from the corresponding file. I'm having a bit of a brain fart & can't work it …

Software Development c display file-system
Member Avatar for BestJewSinceJC
1
184
Member Avatar for Mutagen

Hi, I'm a newbie in programming in C # and I need advice .. I have a list of XML to Listbox but unfortunately I do not know how to do it on condition that it has called me a text from the ID XML file : [CODE]<slovicka> <lekce id="1"> …

Software Development xml
Member Avatar for Mutagen
1
286
Member Avatar for JLB2386

i can get some help on writing a definition on my getdatafromnumber?[code]public void button2_Click(object sender, System.EventArgs e) { string text = textBox1.Text; Mainform = this; this.Hide(); GetSchedule myScheduleFinder = new GetSchedule(); string result = myScheduleFinder.GetDataFromNumber(text); // get my error here! if (!string.IsNullOrEmpty(result)) { MessageBox.Show(result); } else { MessageBox.Show("Enter A Valid …

Software Development
Member Avatar for JLB2386
1
106
Member Avatar for spacerat

The other code snipplets I found were either recursive or too complex. I therefore developed a simple, fast and yet non-recursive method; thats useful especially when working on the graphics card with CUDA as recursion is not possible there. (c) Sven Forstmann

Software Development c++
Member Avatar for chtulu
1
649
Member Avatar for SGstudent2010

My situation is that on my windows form , I have several Comboboxes containing several different categories of food products for sale in a transaction. I have a textbox located next to each ComboBox so whenever I choose an item from the Combobox the cost of that item that I …

Software Development dataset
Member Avatar for kvprajapati
1
136
Member Avatar for jksdua

Hey, I am new here. I just started coding in C a couple of weeks ago. I am trying to create a simple program to input data into an array using a text file with 10 records. However, the array length is 16 and a couple of records in the …

Software Development c
Member Avatar for jephthah
1
139
Member Avatar for Pritha17

hello, I'm using eclipse platform to try to transfer file using Java mail API, but facing the following exception java.lang.NoClassDefFoundError: com/sun/mail/util/SharedByteArrayInputStream I know this is a common problem, but i've tried all possible measures to get rid of this exception here's what i tried * I downloaded javamail-1.4.3 from sun …

Software Development api java session
Member Avatar for parry_kulk
1
4K
Member Avatar for pringles08

[code] //to check if numeric public boolean checkNumeric(String user_input) { for( ; x <= user_input.length() ; x++ ) { if(!Char.isDigit(user_input.charAt(x))) { return flag; } } return noError; }[/code] it says: cannot find symbol variable- char Help please.

Software Development java
Member Avatar for BestJewSinceJC
1
156
Member Avatar for mamutu

Hello all, This is my first post and I am counting on the experience of all of you to get some help :) I am working on a C# project and my program has to start different other applications, one by one. When an application finishes it's execution, I want …

Software Development
Member Avatar for kvprajapati
1
172
Member Avatar for Gauntlet

I have command line c++ project for my final project of my course. I've decided to go a little further than the course intends and write a class for creating an uncompressed bitmap picture file. As an initial exercise I decided to create the 2x2 pixel bitmap example from Wikipedia. …

Software Development c++ ios
Member Avatar for Gauntlet
1
141
Member Avatar for rmontgomery

Heya guys, this is my first post - this forum has been loads of help in the past :) Anyway, I am currently coding a program that requests a user's Log In name and password, and then (via a SQL query) checks it against a record in the database, and …

Software Development sql vb.net
Member Avatar for rmontgomery
1
89
Member Avatar for ceyesuma

Hi. I am having problems connecting and the use of DAO Could someone start me off to find problems that are conceptionally wrong with the structure? [b]error [/b] if the connection is made and database is built (DerbyDAO) then the InstructorDao SHOULD become JDBCSchoolofdbDAO and return "profile" which will allow …

Member Avatar for ceyesuma
1
155

The End.