64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for ahmksssv

Hi frnds.... i am inserting bulk data into database...here i phase small problem...when the data having (') single quotes it shows error...because php takes ' as many ways..... i think htmlentites() tag is there in php...i dont know how it uses perfectlyy... plz resolve this problem asap..

Member Avatar for ahmksssv
0
82
Member Avatar for olgratefuldead

Hello. I have written the code below but when I compile my program, I get Taxable Income Amount Filing Status Tax Amount ------------------------------------------------------------------------------- $50,000.00 null $0.00 I initialized my String output as null but I do not know how to initialize it otherwise. And I need my output to be …

Member Avatar for olgratefuldead
0
218
Member Avatar for schnautzr

Hi...I came here because I had problems posting at the C# Corner. Hopefully this forum will actually post my question instead of deleting it once I hit post.... I'm working on homework. Yes, I have given it quite some effort, from experimenting to researching. I've even looked everywhere for a …

Member Avatar for schnautzr
0
259
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 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 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 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 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 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 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 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 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 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 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 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
Member Avatar for waves

Hi I am trying to set up remote access to mysql on a headless server. From what I have read this can be done by installing phpmyadmin on the client pc. Is this all I need? I have changed the entry in my.cnf "bind = localhost" to "bind = ipofserver". …

Member Avatar for waves
0
258
Member Avatar for ddanbe

Say I have two classes : a provider A and a consumer B. My question : who should do the error handling, validation etc.? Example : a Garage class and a Car class. Should the Garage class tell the Car class : "He Car you are to big to enter …

Member Avatar for ddanbe
0
99
Member Avatar for siddhant3s

I have read prior post on the forum but I came up with few specific questions about Porting Unix Socket(hereby calling it BSD socket) to Win32 Platform : First of all, I am a native Linux C/C++ Programmer. I program in Ubuntu with GCC. But, I usually also port my …

Member Avatar for siddhant3s
0
1K
Member Avatar for Venom Rush

What I'd like to do is store the "selected" value of the drop down box in a DB. At the moment the selected value for the drop down list is pulled from the DB. Now what I want to happen is if I don't want to change that specific option …

Member Avatar for Venom Rush
0
1K
Member Avatar for chriscross86

hi, there...im trying to figure out where to use these authentication codes as im trying to come up with a login page. these codes are used over the <head> tag, but is it used within the <html> tag? [code=xml]<?xml version="1.0" encoding="utf-8" ?> <configuration> <!-- enable forms authentication --> <system.web> <authentication …

Member Avatar for johnny.g
0
75
Member Avatar for johnny.g

hii alll,... i have a feedback form whr the user enters the data and it gets stored in the database.i have also given validations for submitting the form,,(for e.g. the user wil have to enter his name,,he cant leave tht field blank)...the prob is whn i click on the signout …

Member Avatar for serkan sendur
0
143
Member Avatar for jloyzaga
Member Avatar for vegaseat
0
854
Member Avatar for buug

hello, when compiling this method, i get a "missing return statement error" because there is no return statement after the while loop and before the method closes. i understand that there needs to be one there, i'm just not sure what the value should be. i have commented out the …

Member Avatar for sillyboy
0
94
Member Avatar for lucstrato

If someone could help me out here I would really appreciate it... I have to get this code running for my programming class and i keep getting same symbol error here is the code: [code] public class fourseventeen { public void main(String[] args) { int j = 0; int sum …

Member Avatar for lucstrato
0
77
Member Avatar for efaith77

Ok, I love movies, and I am building a website to chronicle the movies in my collection. I have the layout, graphics and all of that. I can do all of that myself. I need to know what the best way to show the movie cover, synopsis and my own …

Member Avatar for efaith77
0
140
Member Avatar for rickster11

Ok, stuck on homework. The program is supposed to read a list of presidents from a binary file and display them. I have it all working..except..when it gets to Truman...it just keeps repeating his information. I know its still going in the loop, but for some reason the pointer stays …

Member Avatar for rickster11
0
146
Member Avatar for bigOnotation

Hi I am new to c programming language, I have written this small code and I dont know why cant i use the free() here, any clarification highly appreciated. [code=c] int insert(element **head, int d) { element *temp; temp = (element*)malloc(sizeof(element)); if(temp == NULL) { printf("\nError: Failure to allocate memory\n"); …

Member Avatar for nucleon
0
98
Member Avatar for dvsConcept

Im writing my final project and i have everything in one .cpp file and i was wondering if someone could tell me in detail how to go about putting things in their own file and leaving the main function by itself in the main file. for example i have some …

Member Avatar for dvsConcept
0
102
Member Avatar for codedhands

Hello everyone,i really need help with this big problem(to me its big).The project am writing requires a panel to display its current status information on.I figured that i will need to make that panel scrollable because it will contain multiple lines of the text.My problem is i do not know …

Member Avatar for codedhands
0
2K
Member Avatar for gyagyus

Hi! I wrote two functions in order to access two private data members of a template class and I got the messages in the title every time I call these functions(getNcols(), getNrows()). I'd be very grateful for your help, guys... (Without the "template<class T>" before the friends, I got linker …

Member Avatar for gyagyus
1
242
Member Avatar for loveforfire33

Hi guys, im trying to get this code to work, im basically trying to write a programme that will find the smallest possible amount of coins needed to make up the amount of pence entered into a text box. ive managed to get it working with a very long If …

Member Avatar for LizR
0
108
Member Avatar for Argo54325

When i runt he code and try to get the size of the 2 files something goes wrong with the msgIn file. I'm using the same method for both files and the bookIn will work but msgIn just returns 0 as if it never ran. this is the method that …

Member Avatar for Salem
0
139
Member Avatar for scrypt3r

Im trying to get my program to list certain types of drives etc but i dont know all the drive type names like "DRIVE_REMOVABLE" or "DRIVE_CDROM". does anyone have a list of the entries?

Member Avatar for Yiuca
0
112
Member Avatar for Argo54325

I'm trying to get a char back from the bookFile.txt but, when i run the program it returns nothing. I'm not sure if .get() if the right thing to be using. When i run this code i get the random number and the first letter of the msgFile.txt returned correctly. …

Member Avatar for nucleon
0
186
Member Avatar for breatheasier

Is there an easy way of doing this? for example my list is: [code=python] nlat=10 mylist = [] for x in range(0,nlat): for y in range(0,nlat): disk=sphere(pos=(x*s,y*s), radius = r, color=(0,1,9)) mylist.append(disk) [/code] or is it impossible to place objects, such as a sphere from vpython into a numpy array?, …

Member Avatar for breatheasier
0
687
Member Avatar for dmanw100

Hello, I am new to php and enjoy the fact that it is very similar to languages that I'm much stronger with (mainly C++ and Java). While working through the w3 school's tutorials I noticed a foreach() loop. What loop in C++/Java would this be similar to? It seems like …

Member Avatar for Stefano Mtangoo
0
190
Member Avatar for azwraith69

i have a problem with curses my program is working properly, but when i include curses.h, it produces errors i can't understand.. [icode]classmates.erase(classmates.begin() + i);[/icode] and the error is: [COLOR="Red"]macro "erase" passed 1 arguments, but takes just 0[/COLOR] and [COLOR="Red"]statement cannot resolve address of overloaded function[/COLOR] if i remove curses.h, …

Member Avatar for azwraith69
0
197
Member Avatar for jeevsmyd

hey friends, here is a code that I made to find the prime numbers in an array.. What the program is supposed to do is check whether the number is PRIME or not.. The position of the element is specified and the program finds and check the element in that …

Member Avatar for jeevsmyd
0
123
Member Avatar for Naik Dhiren

How can i Hide/shows columns in datagridview runtime ? I have a window application form with a comboBox and a grid. As according to selection in comboBox Items, I want to hide or show datagridview columns as according to combobox item selection

Member Avatar for Ramy Mahrous
0
164
Member Avatar for Datanizze

Hi! I have a slight problem with multithreading. There is many threads active in the application and they are all kept in an arraylist. so when I try to quit the program, it loops through the arraylist and exits all the threads.... but something else is making the program "unwilling" …

Member Avatar for Datanizze
0
165
Member Avatar for halfnode

hi all pretty new to programming here the idea of the code is for the function to take in an string and an int and to pad the string with space on the left with the int being the number of space to put in. am i doing something wrong? …

Member Avatar for ArkM
1
199

The End.