199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sciwizeh

Hello, this is related to [URL="http://www.daniweb.com/forums/thread177461.html"]the last thread I posted[/URL], but it is also different. I found something about ImageObserver with a google search and can't find much on it, I tried doing what the site on google did, but it didn't work with the simple test I wrote. here's …

Member Avatar for sciwizeh
0
689
Member Avatar for PhiberOptik

Hey, I am writing a program and it requires me to place a file on the desktop. I know in cmd prompt you can use %USERPROFILE% to do it. Is there java equivalent? Thanks PO

Member Avatar for PhiberOptik
0
126
Member Avatar for NickMalone85

I'm trying to create a program that identifies the subject and verb of a sentence. I use almost the exact same method to determine words that are nouns and words that are verbs, but when I call this method back-to-back it wont work the second time around. For example if …

Member Avatar for Ezzaral
0
88
Member Avatar for rastaberry

hello, I want to read lines into an array (I will later work with the array of pointer , so that is why I use it) well this is my code that doesn't work correctly, does anybody now why? I created a simple txt document for this which has only …

Member Avatar for rastaberry
0
110
Member Avatar for JukesK

Hi, I'm new to coding (anything) and my manager has tasked me with developing a stats page for the IT dept. trouble ticket system (php helpdesk by EXOScripts.com)(MySQL database) I have laid out the table on the page but just need to populate it. the table has the following coloumns …

Member Avatar for PirateTUX
0
114
Member Avatar for veledrom

Hi, I get this error in my myPhpAdmin in WAMPserver 2f. [code]#1045 - Access denied for user 'root'@'localhost' (using password: NO)[/code] How can i solve it?

Member Avatar for PirateTUX
0
209
Member Avatar for Georges5

Hello Guys, I have a DLL created using Borland C++ 6, I need to use the same DLL with VC++ 2008, I have the .DLL and .LIB files created by Borland and the header file exporting 2 functions that I need to use in my program (Header file looks like …

Member Avatar for Ancient Dragon
0
136
Member Avatar for bajanpoet

I'm trying to create a *.csv file using the records stored in a table. Searching the Net, I came across a code snippet that I modified for my use. The relevant code is [CODE] If dlg.ShowDialog = Windows.Forms.DialogResult.OK Then conn.Open() csv = dlg.FileName tw = New StreamWriter(csv) Dim sql = …

Member Avatar for 4advanced
0
2K
Member Avatar for Dolphinsfan

ok, i'm somewhat of a noob to c++ programming and i'm completly lost in my class as of now, i mean i understand the concepts(somewhat) but actually writting my own code is really confusing me, i dont want anyone to give me the answer, but if someone could guide me …

Member Avatar for Narue
0
158
Member Avatar for scrypt3r

Ive developed a simple p2p chat program, it works fine up until i get to the input/output streams in my void that recieves incoming text i have the following code... [code] public void listen() { while (true) { again: try { convobox.AppendText(Input.ReadLine); } catch { goto again; } } } …

Member Avatar for Rashakil Fol
0
91
Member Avatar for EJD

Getting all sorts of "illegal start of expression" and "; expected" and "class expected" errors mostly pertaining to my extra methods (besides the main). Any takers? import java.util.Scanner; /** This program will calculate income tax based on a person's income. */ public class Income { public static void main(String[]args) { …

Member Avatar for EJD
0
861
Member Avatar for c_shaft05

[CODE]//Vars to know about Square* square; vector<Shape> shapes; [/CODE] I'm trying to add things that are shapes, or in this instance square (which inherits from shape), but whenever I call shapes.push_back(square), I get this error message: [CODE]draw.cpp:55: error: request for member ‘push_back’ in ‘shapes’, which is of non-class type ‘std::vector<Shape, …

Member Avatar for c_shaft05
0
122
Member Avatar for mikemea

[B]cannot convert parameter 1 from 'char' to 'char *'[/B] calcCharges(type_of_gas, &rate_of_gas, number_of_gallons, &total_gas_of_price, car_wash, &price_of_car_wash, &total_cost);

Member Avatar for GDICommander
0
74
Member Avatar for Dewey1040

I'm still generally new to C, I understand most basic concepts, and were now starting to learn much more complex tasks. Right now im stuck on a program to add polynomials, using linked lists. My book Data Structures - An Advanced Approach Using C, is a real difficult read, and …

Member Avatar for Dewey1040
0
99
Member Avatar for akn

Hi, I have a class linestorage which has a static member S (represents lines of words of characters). The problem is I don't know how to access this member in a function. I am getting this error message Info :Linking C:\DOCUMENTS AND SETTINGS\DELL.DFHWHLB1\MY DOCUMENTS\SPRING 09\CSCI 250\HW\HW1\HW1_P2\kwic.exe Error: Error: Unresolved external …

Member Avatar for Ancient Dragon
0
152
Member Avatar for acardiac

Can anyone tell how really these functions work???? 1.cin.ignore() 2.cin.clear() 3.cin.good() 4.cin.fail() 5.cin.bad() 6.cin.eof() I mean to say what values these functions return at what situation... thank you! I also need to know about some user input validation techniques.i.e. the user inputs valid data in the programs.....e.g.if there is some …

Member Avatar for rudasi
0
128
Member Avatar for mem81

Hi Guys , Have been reading the forum`s posts for a while.Found it really cool . So I joined. I have a really silly problem. I am trying to insert a record to a table in an access database on a click of a button . I use web developer …

Member Avatar for Ramy Mahrous
0
130
Member Avatar for StarZ

Starting on basic functions for python, and this is a assignment that I have to do... but I keep getting a Error.. but I tried, and still don't understand what is wrong. here is what it's suppose to output:[url]http://i39.tinypic.com/r1mv69.jpg[/url] This is what I've done: [code=syntax]def function1(french): print "Bonjour, comment allez-vous …

Member Avatar for lllllIllIlllI
0
108
Member Avatar for emiola

Dear friends, Kindly look into this code below for me. I intend to use it to send my form data(not validated) to an email address. After I filled the form and running the code, it is the else echo statement ("Form not properly completed") that i keep recieving. However, I …

Member Avatar for somedude3488
0
151
Member Avatar for Blujacker

Is possible play waw, wma, mp3 with wxPython without oppening any window? Program will be based on Tk, only playing sounds on wx.

Member Avatar for lllllIllIlllI
0
1K
Member Avatar for wdms

I've written a really basic login page, yet I keep getting a Parse Error message on line 36! Which happens to be the very last line of the whole code! Any suggestions on how I can get this to would be greatly appreciated! [code] <?php $page_title = 'Login'; if (isset($_POST['library'])) …

Member Avatar for wdms
0
88
Member Avatar for shers

Hi, I'm new to SQL Server. I just installed SQL Server 2008 Express. Then I opened Management Studio, right clicked on Database and created a new Database. Then I expanded Database, right clicked on Table and created a new Table. Now, my question is, how do I add data to …

Member Avatar for Geek-Master
0
135
Member Avatar for cppStudent

Hi This whole pointer thing is getting the better of me. first i have a call to method "convertToCString" in my main: [CODE]int value = 21; char* cstr = NULL convertToCString(value, &cstr); printf("\"%s\"\n". &cstr); cstr = NULL delete cstr;[/CODE] the method looks like this [CODE]bool convertToCString(int& refConstInt, char** ptrtoCharPtr) { …

Member Avatar for Salem
0
89
Member Avatar for smithss

Hi Guys, i wrote a program that starts another thread. In one case i thought that i have introduced a memory leak and i should get a segmentation fault but i didn't !! That's kind of puzzled me so i decided to post it here. [code=c++] #include <iostream> #include <windows.h> …

Member Avatar for Salem
0
147
Member Avatar for learner2

can any one explain me what is processing error/conversion error and programming error.

Member Avatar for Salem
0
86
Member Avatar for olgratefuldead

Ok so I'm in need of some help.In the first part of this code, I need both the 'output' and 'enter' to be returned back to the calling method but one is a String and one is an int. When I compile and run the program, I get a null …

Member Avatar for olgratefuldead
0
156
Member Avatar for prateek4u

hi i am in my last year and have to make a project on the game called carrom but i dont know how to start , can any body help me please for eg how to make software specifications ,how tom start etc..

Member Avatar for PhiberOptik
0
91
Member Avatar for Carmen Smith

Hi, I am working on a project that involves a simple stimulus-response agent which much navigate it's way around a 2d grid world. Does anyone have any good ideas for ways to implement the agent's visual field? The input is a string of characters, one of them representing the position …

Member Avatar for Carmen Smith
0
84
Member Avatar for notuserfriendly

ok everything works good outside if i make .java of the classes with a main app but when i put them together my Postfix one has a problem. if you are confused just look at the main method thats where the probelm arises. the thing is after i convert infix …

Member Avatar for notuserfriendly
0
198
Member Avatar for FEARmike21

Hi, I just started my C++ class a couple weeks ago and I am stuck and having a really diffcult time understanding which commands to use in my programs. I don't even know where to look to get a list. Anyways, basically what we have to make our program do …

Member Avatar for rudasi
0
95
Member Avatar for rudasi

Hello, I want to write a program using VBA that can make a new data sheet from an old one with specific columns in the new data sheet. After making this new data sheet i want to convert it to .csv. Any ideas how i can go about this. Thanks.

Member Avatar for rudasi
0
94
Member Avatar for rudasi

Hello, I want to write a program using VBA that can make a new data sheet from an old one with specific columns in the new data sheet. After making this new data sheet i want to convert it to .csv. Any ideas how i can go about this. Thanks.

0
79
Member Avatar for Argo54325

Ok, something very wrong is going on with my program. When i run it the numbers it is giving me are sometimes right but are also wrong. H (the first letter in the word) is both = to 0 and 1 (wtf?). Any ways below i'll show you want i …

Member Avatar for VernonDozier
0
1K
Member Avatar for rmlopes

Hello all, I am trying to use the #if directive to compile extra functionality acording to some class template parameter defined integer constant. What I want to do is this: [code=cpp] struct A1{ static const int _AINT = 0; }; struct A2{ static const int _AINT = 1; }; template< …

Member Avatar for siddhant3s
0
212
Member Avatar for Stefano Mtangoo

Hi All, I'm using XAMMP server in USB stick and have Web project in this structure: [COLOR="Red"]F:\xampplite\htdocs\projects\Elijah[/COLOR] So my current working DIR is elijah. However, I don't want to write the long path "../projects/elijah/elijah.css" when linking css file or using images. I would like to use something like a function …

Member Avatar for Stefano Mtangoo
0
175
Member Avatar for bluesnake

Hi, I was seeking for an opinion concerning database design. I’ve got a Company Class having several properties. A value will be assigned to the property via GUI. These properties are quite static i.e. likely won’t change. Usually one goes for an approach whereby Property1, Property2, Property3 map into table …

Member Avatar for bluesnake
0
159
Member Avatar for eyewirejets

I would like to be able to display or print a count of the number of names that were inputted and display this when the user gets out of the loop by pressing any key other than "y". For example: Number of patients processed : 4 How could I create …

Member Avatar for eyewirejets
0
112
Member Avatar for venomocity

I'm working on designing a game, the problem now is that while I have a code for randomizing a number, its the same series every time. This isn't good for random, to know what you're going to roll before you hit the button sucks. Is there anything to help with …

Member Avatar for venomocity
0
126
Member Avatar for learner2

i have search alot about analytical mathmetic but didnt get satisfied answer.if anyone of you know plz let me know.

Member Avatar for learner2
0
111
Member Avatar for FEARmike21

I am trying to get a program working, and im half way there, I think. What the program must do is take input from the keyboard and then capitalize every first letter of every word. Here is my entire program so far... [code] #include <stdio.h> #include <iostream> using namespace std; …

Member Avatar for siddhant3s
0
152
Member Avatar for makubexiii

how can you input a string, clear the screen, then print Hello "string"? example: [CODE]org 100h MOV AX,03 INT 10H MOV AH,02 MOV BH,00 MOV DH,0CH MOV DL,19H INT 10H MOV DX,OFFSET MSG1 MOV AH,09 INT 21H MOV DX,OFFSET SZ MOV AH,0AH INT 21H MOV AX,03 INT 10H MOV AH,02 …

0
80
Member Avatar for mohamed1

Good mourning or Good night ;) i am working on asp site (VBscript) of course with javascript as client side i wanna 2 count n of visitors at same page just like when u open for ex asp forum in daniweb.com displays [COLOR="Green"]Currently Active Users browsing ASP : 7 (1 …

Member Avatar for Baradaran
0
86
Member Avatar for kartheepanmirra

Hi i have a requirement where a cpp file should load a dll viz gzip.dll.then the cpp should call few methods in the dll.well im able to call the methods with no parameters but im unable to call the methods with parameters.if im trying to call methods with parameters i …

Member Avatar for kartheepanmirra
0
483
Member Avatar for thegreatkk

hi , i am created the datagridview at run time. i need to move (drag and drop) the datagrid view (only gridview) during the run time. (task is : if i select the datagridview and placed in some where in same window form. Ex: in our desktop we select the …

Member Avatar for gomathinayagam
0
127
Member Avatar for darcee

im an intern student and my task is to make a popup message every 30 minutes to remind my boss about his task its like an alrm clock so i look on to the net and ive downloaded a file called PopupMessage Form and I want it to run it …

Member Avatar for gomathinayagam
0
301
Member Avatar for ShariM

Hi, I am new to this forum and PHP. I am looking for a recommendation on a PHP IDE. I do not want to spend too much money. I am a former Java and Microsoft developer (Java, C#.NET, ASP, JavaScript, HTML, SQL Server). It has been some years since I …

Member Avatar for Stefano Mtangoo
0
90
Member Avatar for vartikachandra

here i have 2 files and im getting a wrong echlon form of the matrix...please help; Linear_Equation.java: package mypack; import java.io.*; public class Linear_Equation{ public static void main(String args[])throws IOException{ int i,j; matrix mat1=new matrix(); int mtx[][]=new int[3][4]; mat1.accept(); mat1.display(); mtx=mat1.echolonform(); System.out.println("\nThe answer is:"); for(i=0;i<3;i++) { System.out.println("\n"); for(j=0;j<4;j++) System.out.print(" "+ …

Member Avatar for vartikachandra
0
909
Member Avatar for ktd

Ok guys, I need some help with this one. I've been beating my head for a day now trying to get this code to work and have gotten nowhere. Let me give you an idea how this web app works: What this does is create a ticket with a date …

Member Avatar for scrager
0
133
Member Avatar for velladurais

Hai freinds, Can any one help me , how to send the image file from html to vb.net.. I know how to store the image using vb.net.. but I don't know send particular image from html to vb.net via querystring. please help me as soon as possible..

Member Avatar for samir_ibrahim
0
140
Member Avatar for Shanti C

Hello Friends... Now Im working on URL Rewriting... I got them worked..But i have few doubts about this concept... Any Experts will reply me here.. My leftproducts.php page have some times s_id query string and some times along with s_id , start query string also.. means sometimes: [code] www.something.com/leftproducts.php?s_id=1 [/code] …

Member Avatar for Shanti C
0
343

The End.