199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for obelisk

JSP is a new world for me, since 3 days ago. I am having a problem (or I have no idea) how does the inserting datas into database works. I have looked at some examples, but still, im having a hard time. I know PHP and ASP, but JSP is …

Member Avatar for javaAddict
1
1K
Member Avatar for waveguy

Hi, I am new to this forum, actually this is my first post ever on any forum. I joined because I would like to send a post to a facebook account via php script. Has anyone done this?

Member Avatar for waveguy
1
108
Member Avatar for abc16

Hi i am making an window application in C# .net using VS......... I want to know how can i apply the functionality of back and forward on button , like we have in windows toolbar............. Can anyone help me in this...............

Member Avatar for Antenka
1
939
Member Avatar for rickya100

Hi everyone, I sat down to create a what I thought was simple SQL query but once I got thinking about it I realised I'm not sure where to start. The objective is to return two resorts from a Resorts table for each country code in that table. Countries table …

Member Avatar for baki100
1
128
Member Avatar for AndreRet

Let you choose between all printers available on your pc or network. Download zip and enjoy. Royal free.

1
995
Member Avatar for EddieC

At the risk of coming off like TV's "[url=http://www.amctv.com/originals/madmen/]Mad Men[/url]," Amazon Web Services really are New and Improved. The company today announced the addition of [url=http://aws.amazon.com/rds/]Amazon Relational Database Service[/url], giving users of Amazon's Elastic Compute Cloud (EC2) access to a virtual instance of MySQL. That's the New part. Improvements include …

1
348
Member Avatar for crystality

Hi! I'm getting this error when compiling: $ g++ index.cpp index.cpp:85: error: 'friend' used outside of class index.cpp: In function 'std::ostream& operator<<(std::ostream&, const GrabStuff&)': index.cpp:88: error: 'myLineNumbers' was not declared in this scope Links to included files: [URL="http://users.cs.fiu.edu/~weiss/dsaa_c++/Code/mystring.h"]mystring.h[/URL] [URL="http://users.cs.fiu.edu/~weiss/dsaa_c++/Code/string.cpp"]string.cpp[/URL] [URL="http://users.cs.fiu.edu/~weiss/dsaa_c++/Code/SplayTree.h"]SplayTree.h[/URL] [URL="http://users.cs.fiu.edu/~weiss/dsaa_c++/Code/QueueAr.h"]QueueAr.h[/URL] And for fun: [URL="http://users.cs.fiu.edu/~weiss/dsaa_c++/Code/SplayTree.cpp"]SplayTree.cpp[/URL] [URL="http://users.cs.fiu.edu/~weiss/dsaa_c++/Code/QueueAr.cpp"]QueueAr.cpp[/URL] [CODE]#include <iostream> #include <fstream> …

Member Avatar for crystality
1
735
Member Avatar for SoulMazer

Ok, well I am JUST beginning to learn Java, and I have run into a little stumbling block. I am attempting to write a little applet, but it doesn't seem to want to run. My Java code: [code=java] import java.awt.*; import java.applet.*; public class TestApplet extends Applet { public void …

Member Avatar for jasimp
1
144
Member Avatar for schnell

I have "Vertex" class pointers in a list. I want to delete these pointers and free up the memory. I deleted the pointers in the first for loop and set these pointers to 0. but just to check whether the pointers have really been deleted and set to NULL, I …

Member Avatar for schnell
1
113
Member Avatar for DealthRune

This is a nice and easy table editer. Use it to add and delete cells, rows, and a caption

Member Avatar for Jonh S. Brown
1
160
Member Avatar for xfrolox

Hi all again im like a bug in the web xD never stop posting i got this from other web [CODE]Private alarmTime As Date Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Me.alarmTime = Date.Now.AddMinutes(60) Me.Timer1.Start() End Sub Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e …

Member Avatar for pmusha
1
120
Member Avatar for SoulMazer

Hi, I'm looking for a little help with the function "getattr". Here's my code: [code=python]class MyClass: def __init__(self): trycmd = getattr(self, "cmd_testing") try: trycmd() except: print "Fail." def cmd_testing(self): print "Victory!" obj = MyClass()[/code] So, when I run this code, I get the output "Fail.". I'm not sure what I'm …

Member Avatar for vegaseat
1
142
Member Avatar for dylank

Hi, I am a begginner programmer that is attempting to create a program that will spit out the (x,y) plots for a graph. Currently, I only need it to give me the x and y data in (x,y) form, so here is my current code. By the way, I am …

Member Avatar for jonsca
1
153
Member Avatar for perosf

Hi I found this code and do as it should but I just code as to add my website [QUOTE]Well first you need to download the GeoLite Country database in binary format [I][URL="http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz"]http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz[/URL][/I]. Next, upload it to your server. Afterward, download the [I][url]http://geolite.maxmind.com/download/geoip/api/php/geoip.inc[/url] [/I]file and save it on your server …

Member Avatar for diafol
1
1K
Member Avatar for O71v13r

Hi everyone, I have a problem with one of the problems (17) that i try to solve on the [URL="http://projecteuler.net"]Project Euler[/URL] site. The problem is as follows: If the numbers 1 to 5 are written out in words: one, two, three, four, five, then there are 3 + 3 + …

Member Avatar for somedude3488
1
197
Member Avatar for Kristofferson

Alright, so my issue is that I have a staff profile. When you press the button it brings you to the Edit Profile page with text boxes with the original information in them so they can be edited. Now I ask for the edited information to be updated when the …

Member Avatar for TomW
1
190
Member Avatar for nhandal

I have a treeview in my program for which I am adding a bitmap of an open and closed folders. I have included messageboxes to show where the program fails. It fails at the loadbitmap function. I appreciate it if anybody can tell me what is wrong. Below is the …

Member Avatar for lashatt2
1
428
Member Avatar for nola_Coder

Hello... This is my last assignment from my Data Structures class. I turned it in and got a good grade, but it still has one problem that I am unable to pinpoint. The assignment is as follows: Create an alphabetical linked list from a .txt file containing various names. (1 …

Member Avatar for nola_Coder
1
168
Member Avatar for klackey19

So I'm working on a project for a class in which we have to create a parser for a made up grammar. The input is read from a file. When I use input that is in the grammar, the program works. For certain input not in the grammar such as …

Member Avatar for klackey19
1
537
Member Avatar for masterofpuppets

A simple function to return the number of occurances of a letter in a text. An easier way to implement this would be by using a dictionary :) P.S sorry if there already is a code snipped like that somewhere.

Member Avatar for lrh9
1
765
Member Avatar for Gribouillis

This snippet shows a fast and efficient way to cut strings in substrings with a fixed length (note that the last substring may be smaller).

Member Avatar for bumsfeld
1
621
Member Avatar for kool.net

hi, i m trying to get value from of first column of selected row from datagridview. please help me....\ Thanks in advance

1
86
Member Avatar for Ranek

Hello Everyone, I'm having a bit of trouble seperating my user interface code in a main class from my logic code in another class. Basically i've put a while statement and some if statements in order to take input of a number from the user and decide which of two …

Member Avatar for Ranek
1
392
Member Avatar for Duncans Ghola

This program is intended to determine if a fractions is valid (non-zero, non-negative denominator) and to convert an improper fraction into a whole/mixed number. While running the program I get the message "Floating point exception" after it reads the inputs just inside the for loop. Any insight into what is …

Member Avatar for Grn Xtrm
1
253
Member Avatar for EddieC

One way to become the "ultimate" of something is to simply declare it. JetBrains, maker of the IntelliJ IDEA Java IDE, on Thursday began previewing [url=http://www.jetbrains.net/confluence/display/IDEADEV/Maia+EAP]IntelliJ IDEA Ultimate Edition[/url], the latest version of its commercial integrated development environment for Linux, Mac OS X and Windows. The "ultimate" designation is presumably …

Member Avatar for peter_budo
1
762
Member Avatar for vegaseat

Python has some powerful functions, like the math expression evaluator eval(). You can embed this function and others in your Development C++ code. All you need to do, is to download and install the free Python Development Pak and feed the Python code in the form of a string to …

Member Avatar for Shantha.D
1
5K
Member Avatar for Web_Sailor

Hi, I was wondering if there is any way to get the largest size of a multimap key / value. I mean something like this:- if there are 4 values in a multimap:- [CODE] my name is web_sailor [/CODE] Suppose I want to get the maximum size key / value. …

Member Avatar for Web_Sailor
1
1K
Member Avatar for masterofpuppets

this is my version of the popular snake game. The snake is controlled by the mouse so be careful when you start :) it grows infinitely long...you should download the apple.jpg file for the game, or graw one of your own just name it apple.jpg and place it in the …

1
360
Member Avatar for calypso&noname

Hi again and thanks for the help! PROBLEM: Only every other number entered by the user is registered by my program, except the last number, which is always registered. [B]How can I get the program to register every line? And what is causing it to skip an input line in …

Member Avatar for drjay1627
1
158
Member Avatar for clue.less

I am very naive at programming...n very new to it too..pls helpwith the following problem: #include <iostream> using namespace std; int main() { int side; cout << "Enter a number: "; cin >> side; for (int i = 0; i < side; i++) { int j = 0; while (j …

Member Avatar for Phil++
1
99
Member Avatar for seraph_harim

Hello all, just hoping for a bit of understanding of new[]. I'm writing an insertion sort program for school (of course) and I've got most of it done; I have the program asking for a filename, and asking for file "size" (or how many numbers are in the file), and …

Member Avatar for Campbel
1
192
Member Avatar for wanted08

hey .. how are u all ?? I have c++ problem .. i tried to solve it but i couldnt get the same input .. [COLOR="Green"]here is the problem:[/COLOR] Given the following file called “input.txt” which contains the freezing and boiling points of several substances. Note: the title is not …

Member Avatar for Tom Gunn
1
504
Member Avatar for doll parts

Hello. I am having problems with a program I've written to find the roots of a cubic equation using Newton's Method. The user inputs the coefficients in the expression (real) and an initial guess (real or complex), and the program is supposed to return a root of the function. However, …

Member Avatar for huss_584
1
2K
Member Avatar for nirveshverma

HEy:) Buddies in early morning i want to calculate that exchange during download & you very well known that it is shown in byte so just i am g with c++ and play a game for writing this. thanks enjoy it. It's very easy and handy with simple logic.

Member Avatar for tkud
1
5K
Member Avatar for PyroPaul2

Can any help, please? Can anyone provide me with the basics of passing (interprocess) a bitmap? Send & Receive in C# CreateFileMapping, I belive, is still the only way to do this. I'm not sure how you deconstruct/reconstruct the bitmap. Many thanks in advance.

Member Avatar for PyroPaul2
1
356
Member Avatar for SoulMazer

So, I have a rather simple question today. I'll try to explain it by using an example. Let's say there is a line of HTML in the page "www.mywebsite.com/py" that says "<tr colData0='Friday'>". However, this line of code can change to be "Sunday", "Tuesday", etc. What would be the easiest …

Member Avatar for SoulMazer
1
165
Member Avatar for Gaiety

/* difference between %i ad %d %i reads the value and it recognizes the value as what base it is when we read the value as 023 (base 8) it is 19 (base 10) and 0xa(base 16) it is 10 in (base 10). */ OUTPUT: /* Enter a number:023 Out …

Member Avatar for Ancient Dragon
1
161
Member Avatar for ashok.g15

Why do some code for eg in gstreamer etc use code which has code like struct xxx { int foo; ... .. char arrURI[1]; char data[0]; }

Member Avatar for Tom Gunn
1
952
Member Avatar for glycerine

I have the following update code but i keep getting a syntax error. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE order_id='105'' at line 21 [CODE]mysql_query("UPDATE status SET id = '". $_POST['id'] …

Member Avatar for Will Gresham
1
180
Member Avatar for ryno365

Hello daniweb. I'm working on a Poker Holdem Application and I'm trying to work on a view/jframe for it. Everything was running smoothly until something weird happened. After deleting an old hand-coded MainFrame which extends JFrame file, I tried to create a new MainFrame/JFrame file but this time using netbeans …

Member Avatar for ryno365
1
119
Member Avatar for PRWang

I have a vb.net 2008 application that is supposed to send a mouse click to a specified window. This can be any window, and the user selects the correct one from a list box during configuration. The user can also change the window or the mouse button to click at …

Member Avatar for TheKangaroo
1
677
Member Avatar for Ineedhelpplz

I have already completed my hex to integer conversion function which works properly with the provided driver. However, my integer to hex function gets stuck in an infinite loop and I have no clue why. The red section of my code is the function which is giving me problems. Everything …

Member Avatar for Ineedhelpplz
1
384
Member Avatar for the_programmer

I'm trying to find out what the legal laws for the internet are on storing text via e-mail/chat. I am not sure if there is such a law but than again it's better to ask than to find out the hard way. Does DaniWeb keep history of Private messages for …

Member Avatar for peter_budo
1
108
Member Avatar for MeBjess

I am having problems completing this program. I have included my notes, and stated current problems in the beginning. Please help. I have no idea what I am doing. This is all I have accomplished in 4 days! I am new to programming, well relatively, it was nearly 17 years …

Member Avatar for MeBjess
1
117
Member Avatar for osgiedeprof

good day everyone there's something i've been trying to do in c++ its a program that finds the mean median and mode from a group set of data, it should use vectors to read these data from the user and then tabulate into: grade distribution class mark(x) fx i've tried …

Member Avatar for mrnutty
1
106
Member Avatar for Samyx

Hi everyone, My program is doing what it suppose to do, except that it generates a loop with the answer. ... ERROR in uniform.discrete_uniform(): a=100 b=99 ERROR in uniform.discrete_uniform(): a=100 b=99 ERROR in uniform.discrete_uniform(): a=100 b=99 ERROR in uniform.discrete_uniform(): a=100 b=99 ERROR in uniform.discrete_uniform(): a=100 b=99 ERROR in uniform.discrete_uniform(): a=100 …

Member Avatar for Samyx
1
152
Member Avatar for Massena

First of all I'd like to congratulate you on the excellent community you have here. It is helpful and knowledgeable. I'm looking for a library that would allow me to make a video file (.avi, .mov, any file works) from bitmaps, or other image formats, on the mac. I have …

1
107
Member Avatar for phoenix911

hey as the title says, i would like to fill my datagridview from a class i have, this class already gets all the info from my database.... how would i get to fill my DGV... and another question, how will i change my column header names.... i have this [CODE]dgv_Calls.Columns[0].HeaderText …

Member Avatar for phoenix_dwarf
1
153
Member Avatar for mnemtsas

Here's possibly the single most useful function that I use. It simply takes an ADO record set and dumps the column names and row values into an Excel worksheet. To use it make sure you have Excel marked in your project references.

Member Avatar for chad0809
1
547
Member Avatar for nokomoli

Hi guys, I am facing a weird problems which is i am fail to get cursor position at DIV at IE8 but work at IE7 or IE6. Can anyone tell me how to solve this problem.

Member Avatar for nokomoli
1
264

The End.