199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Victor C.

I am trying to find a tutorial to lean how to use a JFileChooser in order to read a file and convert it into a tick mark chart. I seen it on a demonstration video on sun.com and I thought it looked awesome. Sadly, I tried to google for tutorials …

Member Avatar for Victor C.
0
75
Member Avatar for BLY

Continuing from my previous program,the code now can update but can't insert.There will be an error on ExecuteQuery.The program is suppose to identify if the id exist or not.You can probably tell from the coding. Trying to insert but i'm not sure if i set dateID parameter correctly to check …

Member Avatar for BLY
0
115
Member Avatar for Awah Mohamed

Hi . Watsup people People ... I need your help , i am new to php programming , all what i can do is to create an html template and write my code in side the template . So i am seeing in phpbb forums and some websites , there …

Member Avatar for ﻼim
0
94
Member Avatar for locomotive

how do i print the 3 most common word that begins with capitals? also how do i count how many times they appear?

Member Avatar for snippsat
0
139
Member Avatar for aikiart

Good morning, I've got a general question about overloading operators. Suppose you have a class that overloads the + operator and overloads the = operator, if you do something like this length3 = length1 + length2, will you automatically call both the overloaded + and = operator and if so, …

Member Avatar for aikiart
0
315
Member Avatar for chamika.deshan

Hello I am confused with an error saying. [QUOTE]Error 1 error C2664: 'const char *TiXmlElement::Attribute(const char *) const' : cannot convert parameter 1 from 'char *(__cdecl *)(void)' to 'const char *' c:\GameProject\TheGameProject\ContentManager\src\NodeWater.cpp 38 [/QUOTE] I have a method that returns a const char* as follows [CODE]class XMLNodeNames { public: static …

Member Avatar for chamika.deshan
0
194
Member Avatar for kayfar

i'm using C# and database MS Access..i want to do a search by using dropdownlist and view in gridview..can anyone tell me or suggest me any link that can solve my problem..

Member Avatar for bondeth
0
104
Member Avatar for -Ice-

[CODE]import java.io.*; import java.text.*; import java.util.*; /** * FileSentenceReader - Uses sound i18n method to parse sentences. * Created 12/03, Last mofified 09/07 * @author: Tony Dahlman */ public class FileSentenceReader { /** Reads through a text file, parsing it into sentences * in sound i18n fashion. Returns an ArrayList …

Member Avatar for coil
0
105
Member Avatar for levsha

I'm trying to pass a value from a select input control on an HTML form. Here is the PHP of page1.php: session_start(); $_SESSION['invtype'] = $invtype; header("location: offerform_switch.php"); Here is the HTML: <select id="invtype" name="invtype"> <option value="0" selected="selected">Select type</option> <option value="product">PRODUCT</option> <option value="software">SOFTWARE</option> </select> This is offerform_switch.php: session_start(); echo $_SESSION['invtype']; switch …

Member Avatar for levsha
0
583
Member Avatar for Ranx

Hoping someone out there can help. I have a fairly simple piece of code for viewing files [code] System.Diagnostics.Process.Start(tFileInfo.FullName) [/Code] Basically passes the path of a file to the process and let Windows deal with how to open it. Have also tried [code] Dim myProcess As New System.Diagnostics.Process With myProcess …

Member Avatar for Ranx
0
181
Member Avatar for sami.asanga

Hi, Im struggling to do a function like this.In the admin panel of my site,there is an option for the admin to select multiple orders using check boxes and marked them as accepted.And I need to update the product table at the same time according to the product quantities of …

Member Avatar for ﻼim
0
109
Member Avatar for doctorphp

Hi everyone. I am trying to make an if statment that will show text saying create an album if the user has no albums but if they have one or more albums then it will show their albums. Now I have sorted out everything but when I get to the …

Member Avatar for ﻼim
0
128
Member Avatar for Vivek Venkatesh

Hi...I am thinking of building a Word Processor in Java for my project... The problem is that there are many components in Java for that..like JTextComponent, JTextField, JTextArea, JTextPane, JEditorPane, and some styled Documents too... Can anyone say me which one to use considering the fact that My Project should …

Member Avatar for VernonDozier
0
1K
Member Avatar for Chosen13

Hello, Me and my development team are not sure how to get a users username/uid from their login on the website into the C++ application. I use PHP Cookies and Sessions for that. Is there anyway that this could work? Thanks.

Member Avatar for VernonDozier
0
284
Member Avatar for RicardoE

Hello all, I'm having some problems, see I'm making an API in php to my web app comunicate to a desktop app. Anyways, when I try to post some data to the site I need a url to go in that data, example: name=product[B]&[/B]description=something[B]&[/B]site=mysite.com?name=a[B][I]&[/I][/B]desc=b this is how the post is …

Member Avatar for ﻼim
0
113
Member Avatar for mani_1991

hai, i have to calculate the internet bandwidth of the system using java program.... please give any ideas to acheve it........ thanks,in advance

Member Avatar for mani_1991
0
497
Member Avatar for nv136

Hello everyone, I am not a professional at vb.net so help me out. I have made a small program and a want to add a serial control to it.... here is my code.... Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If TextBox1.Text …

Member Avatar for nv136
0
537
Member Avatar for carbonfinger

Hey guys I'm writing a program that profiles the speed of different algorithms and I have been using the getTickCount() method in order to do so. However the program is reporting that the algorithm took 0ms. Doesn't have to be too accurate but currently 'RunTime' is coming up as 0. …

Member Avatar for Kanoisa
0
137
Member Avatar for rowley4

I need to sort my array in alphabetical order. The program inputs N words(strings) and outputs them in alphabetical order. I have started out by using specific words to make sure everything is working correctly. I need to change this to accept any input. Any help would be appreciated! [CODE]public …

Member Avatar for tong1
0
301
Member Avatar for gidireich

Any ideas about a serious advantage of a heap over a balanced BST? I see that heap can be implemented in an array, and the code is simpler. Fine, that's something. Does anybody see any big advantage of heaps over balanced BSTs? (If we cache the maximum in a BST …

Member Avatar for griswolf
0
84
Member Avatar for hotice47

hi .. i am working on chat system ..there are two types of user one are register and other are guest and i have to add guest user..in to database as temporary so they can chat with each other the problem i am facing is with there names i want …

Member Avatar for MooGeek
0
188
Member Avatar for zack_falcon

I am doing a Quiz Generator / Viewer project, which requries the use of a database for the numerous questions the teacher has to put in, as well as the user names, passwords, etc. I used Microsoft Access (2000, I think) because I found it easier to use. For the …

Member Avatar for zack_falcon
0
143
Member Avatar for NetHead21

Hello anybody! I have some idea and I don’t know if it will work. I am planning to make a user management system using the mysql database but the problem is I don't know where to start because in MySQL database the password is encrypted with password() function and it …

Member Avatar for MooGeek
0
226
Member Avatar for LRNPHP

Hi Everyone. Could anyone give me some pointers in creating a PHP, MySQL ShortCode system. I want to create a system where a user can SMS a keyword to a short code SMS number. [B]Example:[/B] [COLOR="Red"]SMS pizza to 33333[/COLOR]. Then the server checks pizza in MySQL DB and replies with …

Member Avatar for MooGeek
0
546
Member Avatar for SHENGTON

Hello, I'm still a novice with this C programming and I got some problems with my program. I got 3 errors and 3 warnings with my Linked List. I attached an image for you to see. Someone can help me how to solve this problem? Here's my code: [CODE=C]#include<stdio.h> #include<stdlib.h> …

Member Avatar for abhimanipal
0
113
Member Avatar for rcjay2

Everyone, I am having a problem with trying to get this to prompt the user for the correct input. I would like to user to be required to enter numbers only after it prompts him/her at "How much money would you like to convert today? (above 100): " My question …

Member Avatar for abhimanipal
0
180
Member Avatar for Nathaniel10

I tried to do an excercise from Stroupstrup's book. The reader is asked to reverse the order of elements in a vector so that if originally vector[0] = 1, vector [1] = 2, and vector[2] = 3, then new vector has newvec[0] = 3, newvec[1] = 2, and newvec[2] = …

Member Avatar for Nathaniel10
0
194
Member Avatar for aminit

HellOo I've started to write a simple code to seprates the input integer , for example , if tried to enter 4444 , then it will sperate them by a space to be 4 4 4 4 , so any idea? Thanks

Member Avatar for abhimanipal
0
77
Member Avatar for Tlhoks

Please assist Iam getting this "13 C:\Dev-Cpp\main1.c [Warning] return makes integer from pointer without a cast " from the program below when i try to compile it. [CODE]#include <stdio.h> #include <stdlib.h> #include <conio.h> #include <time.h> #include <math.h> int main() { /*getLarger();*/ /*getRandom();*/ printDetails(); getch(); return /*getLarger,getRandom,*/printDetails; } int printDetails() { …

Member Avatar for abhimanipal
0
92
Member Avatar for aman rathi

hello every one I am a student of CS and in this semester i have a subject DBMS, i haven't do any programming with sql till now, i am completely new to it, here i want to know that about different DBMS software. in our coll we have oracle 8i, …

Member Avatar for tesuji
0
294
Member Avatar for smcguffee

Ok, I'm really getting helpful answers from this site!!! Here's my new C++ question: How much code can go in an initializer list? Can I call new SomeClass() to get a pointer to initialize something even if it wasn't in the original argment list? Can I do math on the …

Member Avatar for StuXYZ
0
99
Member Avatar for kazkikay12

GUYS i want to make a program that used to enter 7-digit number and determine the largest , smallest and the median and average of the seven number i want also to display the entered number its equivalent in binary, ocatal and hexadecimal value the sample output must be like …

Member Avatar for Nathaniel10
0
119
Member Avatar for JDuch

>>> import g4 >>> g4.systs() Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: 'module' object has no attribute 'systs' Why is that ? The code works ok from shell >>> import time >>> def systs(): return str(time.localtime()[5]) >>> systs() '18' g4.py ------- [CODE] import os import …

Member Avatar for JDuch
0
574
Member Avatar for Silvershaft

Hey! Is it possible to make RSS feed of a site what requires login before you can see the contents of it? Thanks in advance!

Member Avatar for Silvershaft
0
93
Member Avatar for phplover

Hi, I have developed a download / upload script that also counts the downloads of each downloaded file. For statistics i currently got total files and total overall downloads but would like to extend this so it can say how many downloads there has been in a week, month, year. …

Member Avatar for phplover
0
174
Member Avatar for Jamesbch

Hello, I've a tricky issue with a use of my macro. I specify the max length of a string parsed by sscanf with a macro define. Since I write all of my macro value between parenthesis (if it is a number) It should fix the operation problems (it's why we …

Member Avatar for Jamesbch
0
235
Member Avatar for smcguffee

Dear all, I'm starting to get the hang of this C++ business, but I have one question that I just realized I don't have an answer to. Suppose I want to call a constructor from within a constructor to reduce redundancy in the parts that are identical. I seem to …

Member Avatar for smcguffee
0
119
Member Avatar for koveras vehcna

Hello everyone, I am currently working on a code and I got stuck in a part. My algorithm is a text generator that operates on project Gutenberg and its flow is like this: Enter a sentence as input 1-Pick longest word of input sentence 2-Search the longest word of the …

Member Avatar for griswolf
0
256
Member Avatar for JamesSWeber

Re: Extra zeroes at EOF when Inputing numbers in a NotePad file.txt into a VB program. Hi All, It sure looks like I am picking up unwanted carriage control or other non viewable characters as a zero or as two zeroes, when I enter a list of numbers (a sample) …

Member Avatar for AndreRet
0
188
Member Avatar for kkusuk

Hello everyone.. how to write "75 18" (binary) in offset 004012BC? [CODE]Dim Fhand As Integer Dim Offst As Long Dim DataP As Byte Private Sub Command1_Click() Fhand = FreeFile Offst = &H4012BC DataP = &H4B + &H12 'this is 75 18(binary), is this the right way to write 75 18? …

Member Avatar for AndreRet
0
122
Member Avatar for junjun61991

i need to search a all related title of the book in my database.. the code below search only exact title..where do i insert an * wildcard to search all related keyword title..ex. if i search computer, all titles that contains keyword computer will be displayed...thanks Adodc2.Recordset.Filter = "[book]='" & …

Member Avatar for AndreRet
0
97
Member Avatar for giannoui

Hello everyone, I'm trying to develop a program which read from a text file data. Then display one data line per time with 2 sec delay in an lcd which is connected throught the internet. I get a run time error'424' here myFile = File.ReadAllLines("c:\account.txt") '//load file. [CODE] Dim LineNumber …

Member Avatar for AndreRet
0
133
Member Avatar for Roger101

Hi, I know how to stor multiple values in has table with single key.Basically HOH But i am not able to do the same when the hash has multiple keys I am trying something like this and when i try to print it gives garbage value for the has keys.. …

Member Avatar for Roger101
0
206
Member Avatar for JDuch

After importing the script below as g4.py as >>import g4 followed by >>> pad ="ram:t/list.lha" >>> g4.extract(pad,"path") Traceback (most recent call last): File "<stdin>", line 1, in <module> File "g4.py", line 52, in extract return takeaction.get(itemnw,errhandler)(fromvar) TypeError: errhandler() takes no arguments (1 given) This error does not appear when i …

Member Avatar for JDuch
0
378
Member Avatar for mrkaran

i have object tag as: [CODE]<object type="application/x-shockwave-flash" id="aa" data="act_pass_satell.swf?a=12" width="900" height="645">[/CODE] how can i change the src attribute of object tag?

Member Avatar for almostbob
0
75
Member Avatar for raghujosh

Environmental Variable: System variable(both) 1. A new GRAILS_HOME variable installed pointing to the Grails folder. 2.PATH: C:\Grails\bin appended . However I get an error message sayings grails is not a recognized command. I am a new to grails. The documentation says its very simple and I have tried different ways …

Member Avatar for raghujosh
0
389
Member Avatar for rahul8590

[URL="http://www.daniweb.com/forums/thread305436.html"]http://www.daniweb.com/forums/thread305436.html[/URL] accidentally i posted in the wrong forum.

Member Avatar for AndreRet
0
119
Member Avatar for rahul8590

I have a search a particular filename in my msaccess file . if i search through ID no , i am able to fetch the output . but if i am searching by comparing filenames then i am getting error [CODE] Private Sub cmdSearch_Click() Dim key As String, str As …

Member Avatar for AndreRet
0
290
Member Avatar for Tony Barber

Hi, I am connecting a scanner to a USB port. The scanner works as a com port connection. Before I can talk to the scanner I need to know which com port the scanner is using. When I know which com port it is on I can wake it up …

Member Avatar for AndreRet
0
237
Member Avatar for aditya027

can any one help!! Expand Post (Toggle Plain Text) import java.awt.*; import java.awt.event.*; import java.awt.Color; import javax.swing.*; import java.awt.Frame; import java.awt.geom.*; class BallEntity/*THE BALL CLASS*/ { private int top=0,left=0,height=0,width=0; //getter methods public int getTop() { return top; } public int getLeft() { return left; } public int getHeight() { return …

Member Avatar for aditya027
0
466

The End.