199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for bl@ck_d3ath-v2

Hi guys... I am student of 3rd Year...Soon my final year will be started...I want you guys to suggest me some good and industry related databases project.. I want to use SAP instead of mysql and oracle in my Final Year Project...Actually i want to do project on databases along …

Member Avatar for rolandsmokit
0
190
Member Avatar for people people

I am trying to make a simple game for class but I am getting hung up on one of the parts. There are two dice that roll and then you can input either the full sum or multiple numbers that equal the sum (ex. dice = 10 you could pick …

Member Avatar for TrustyTony
0
128
Member Avatar for mgorecki

Hello, I have a class (Class.vb) that has a variable dimmed (newOption) as a String. I've created a Form with 3 radio button options and OK/Cancel buttons. The form code has Subs for each option as follows: Friend Class dialogArraySelection Public Event notifycomplete() Public bgaSelection As String Public Sub radFullArray_CheckedChanged(ByVal …

Member Avatar for mgorecki
0
79
Member Avatar for bwbyron

So this is my original code. [CODE] import random hints = {"python" : "A program", "jumble" : "The act of mixing up", "easy" : "Facil is to Spanish as ____ is to English", "difficult" : "Not eaay, but ____", "answer" : "To ____ a question.", "xylophone" : "An instrument. Also …

Member Avatar for woooee
0
753
Member Avatar for jacksantho

Hi, I have installed ActivePerl-5_6_1_631 and Web server Apach_1.3.22. I am using HTML Frameset in PERL/CGI. Facing problem in displaying HTML Frameset. Please check my coding.. [B][I]Sample.cgi [/I][/B][CODE]#!c:/perl/bin/perl use CGI qw(:all); $login=uc(param('uid')); $passwd=param('pwd'); $kid = time; $cookie = cookie(-name=>'logtime', -value=>$kid, -path=>'/cgi-bin/'); if ($login eq "" || $passwd eq "") { …

Member Avatar for Dandello
0
289
Member Avatar for Michael27

I have hard-coded this array of ints [CODE]int[] numbersToSort = {100, 23, -1, 3, 99, 0};[/CODE] I want to use Console.Readline() to take input from the user, but it only takes string input. I can't use Convert.ToInt32() because it doesn't take array for parameter. How can i convert array of …

Member Avatar for Mitja Bonca
0
135
Member Avatar for jsfrocha

Hi, I just installed Dev-Cpp for a IT class and started up with a basic program to see if all was alright: [CODE]#include <stdio.h> int main() { printf("Ola Mundo"); system("PAUSE"); }[/CODE] Still, when i tried F9 (Compile & Run), appear this errors: [Linker error] undefined reference to `__dyn_tls_init_callback' [Linker error] …

Member Avatar for jsfrocha
0
354
Member Avatar for chess2009

Could you please help why my program goes through do while loop just once, although the condition is true. //Program is getting numbers from user and realize whether they are correct numbers for triangle side or not and if tey find out the area// [CODE] #include<stdio.h> #include<math.h> double TraingleArea(); int …

Member Avatar for Adak
0
132
Member Avatar for SolidSora

I want the program to draw the key that is pressed on the screen. When I press a key, nothing happens. Class where the draw code is: [CODE]/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package lab5; import java.awt.Color; …

Member Avatar for Ezzaral
0
159
Member Avatar for freakunleash

Hi All, Need help in uploading multiple files and renaming them. I want the file to rename to corrensponding text file while uploading. Below is the messy code on which I'm working. Regards BW HTML code [ICODE] <html> <head> <title>Multi</title> </head> <body bgcolor="#c2c2c2"> <form method=post action=upload.php enctype='multipart/form-data'><table border='1' width='400' cellspacing='0' …

Member Avatar for jkon
0
160
Member Avatar for fg_aa_c

Hi I have written the following code but when I run it, it fails to bind every time, any ideas why? [CODE]int main(int argc, char *argv[]) { int port = 1080; int lsd, sd; struct sockaddr_in serv_addr, remote_addr; socklen_t remote_len; if(argc < 2 || argc > 2) { printf("Syntax is: …

Member Avatar for fg_aa_c
0
1K
Member Avatar for pseudorandom21

I found this excellent video on one of Microsoft's websites: [url]http://msdn.microsoft.com/en-us/ff728575[/url] I'm really just wondering how to organize the window procedures for my Dialogs/Buttons/etc. Would one normally after creating a dialog throw the window procedure into a new file? I don't like tiny bits of code in different files, so …

Member Avatar for BitBlt
0
159
Member Avatar for rkayd

I am new to php but have some scenarios in which I want to use it. Since I am new I know I need to do a lot of studying but for now, before I delve into it too much just to find out something isn't possible, I would like …

Member Avatar for jkon
0
96
Member Avatar for abhi10kumar

How I can run automated php page using crontab ? I have a server space, but dont know where and how I can execute my crontab command. I want to execute a php page say [url]http://www.servicesonclick.com/sentmail.php[/url] everyday at 12:00 AM. [QUOTE]00 00 * * * wget [url]http://www.servicesonclick.com/sentmail.php[/url] -q[/QUOTE] but where. …

Member Avatar for diafol
0
106
Member Avatar for MacUsers

Dear all, I was trying out OptionParser() and didn't quite understand who to use it correctly. This is my sample script: [code=python]#!/bin/env python from time import strftime from calendar import month_abbr from optparse import OptionParser # Set the CL options parser = OptionParser() usage = "usage: %prog [options] arg1 arg2" …

Member Avatar for MacUsers
0
209
Member Avatar for WASDted

If anyone is interested in attending/covering GDC on behalf of DaniWeb please contact our editor-in-chief, Eyal Akler at [email]eyal@daniwebmail.com[/email] You must have plenty of experience in Game Development and good reporting / interviewing skills. [url]http://www.gdconf.com/[/url] [ATTACH=left]18963[/ATTACH]

Member Avatar for WASDted
0
333
Member Avatar for DrJDS2B

How do I decide which data model to use? What determining factors will lead me in the right path for deciding on a model? Thanks, John

Member Avatar for AdeelM
0
75
Member Avatar for caltech

Total newbie, I need more help... If you could just give me a basic structure for what I'm trying to do and an explanation, that would help a whole lot. Here's my assignment: [INDENT] 1) Write a function [I]divides[/I]. The function accepts two parameters: a number and a possible divisor. …

Member Avatar for reemhatim
0
137
Member Avatar for tommy123

Hi, I'm new to this forum and I am also new to programming. A sales shop want to have an an application that will enable them know their product inventory at any point in time. Basically, they want to be able to know their product stock per time and for …

Member Avatar for BitBlt
0
87
Member Avatar for NewASPNETDev
Member Avatar for nat06

Hi, I have a GridView and want to create an array of type struct of the GridView's float type elements. Here is part of the code: public struct Point { public float lat; public float lon; } ..... public Point[] GetPoint() { int br = GridView1.Rows.Count; Point[] Niza = new …

Member Avatar for nat06
0
205
Member Avatar for Timmo987

Hi! I need to be able to change the location of the database at runtime through a menu in my program. My question is how to best achieve this. If for example the ip to the server change, the user need to be able to update the database path; i.e. …

Member Avatar for Timmo987
0
191
Member Avatar for McLaren

Hi, today for the first time I get this error Lock wait timeout exceeded; try restarting transaction when using sentence [CODE] UPDATE info_psl SET eil_nr = eil_nr + 1 WHERE eil_nr >= 4 [/CODE] The table is such [CODE] CREATE TABLE IF NOT EXISTS `info_psl` ( `psl_id` int(11) NOT NULL …

Member Avatar for McLaren
0
485
Member Avatar for tuxhats

The script below is what I have. It does not block other computers that are not in this firewall Check_Mac list. Where is the mistake? Thanks!!! tuxhats #!/bin/sh IPT="/sbin/iptables" # Change to your server ip like this LAN="10.229.2.0/24" , leave the "0/24" alone LAN="10.229.1.0/24" $IPT -P INPUT DROP $IPT -P …

0
134
Member Avatar for Celtrix

Im having trouble with gtk open file dialog it will open the first time but after i closed it i cant reopen it Ive tried casting it as different objects but i cant seem to fix it. After attempting to reopen the dialog box it spits out gtk_dialog_run: assertion 'GTK_IS_DIALOG …

Member Avatar for Celtrix
0
186
Member Avatar for davetheant

Hello everyone. I am wondering how to get started with ASM. I tried a few times to install things like radASM (and others) but I don't really know what they are all for. Can someone just tell me how to get started and about compilers/builders? Thanks.

Member Avatar for BitBlt
0
296
Member Avatar for ChuckRussell

I am having trouble overriding the virtual functions from the parent class Label. Can anyone please help me on what the correct syntax for the declaration and implementation of OnMouseEnter, OnMouseDown, OnMouseLeave, OnMouseUp etc. [CODE=C] using namespace System; using namespace System::Collections; using namespace System::Linq; using namespace System::Text; using namespace System::Drawing; …

Member Avatar for ChuckRussell
0
168
Member Avatar for deepak.marur

Hi, I'm writing a sample spring web flow app with jsf as view technology. I guess I've got everything right in terms of configuration. However when I click on the "login" commandbutton of the jsf page, the flow does not go the next view (Welcome). Am I missing something ? …

0
133
Member Avatar for bangla

Hi, I am getting below error. "syntax error, unexpected '"', expecting T_STRING or T_VARIABLE or T_NUM_STRING " 1. welcomecaller.php [CODE]<form action="send_email_works2.php" method="post"> Name: <input type="text" name="fname" /> Age: <input type="text" name="age" /> <input type="submit" /> </form> [/CODE] 2. send_email_works2.php [CODE]<?php $to = "safiullah12@hotmail.com"; $subject = "Brought to you by BenagaliList.com"; …

Member Avatar for bangla
0
212
Member Avatar for jacksantho

Hi, I have the LOGIN page, with the username and the password. By logging in, the users can view their information and they can submit their jobs. When the user click LOGOUT link, the page moves to main INDEX PAGE(i.e LOGIN page). The problem is it, when the user click …

Member Avatar for mitchems
0
247
Member Avatar for AngelicOne

While using an insert query for a certain table, can I used a select statement to know whether there's an already existing value in the stored procedure using a return value where insert occurs? Or do I need to separate a procedure? I don't know much of return values.

Member Avatar for AngelicOne
0
216
Member Avatar for zenotriacme

Hi, i have download the project from microsoft using WMEncoder to capture a desktop activities as video. Its working fine. But the problem is it capture a full screen but i need to capture the specific window. I am new to VC++ thats y i dono how to change the …

Member Avatar for zenotriacme
0
331
Member Avatar for ebanbury

Hi I can successfully parse data from a form in one page to a table in another page, but I'm having problems displaying the data in the same page as the search form. Below I have set up a simple one field search and table in the same page. I …

Member Avatar for sudeepjd
0
177
Member Avatar for Vardonir

I'm sorry if the title is a bit vague. Hehe. I've had this idea to use different namespaces to control the contents of a second form. Unfortunately, this version uses five namespaces: three for the forms, and two for the contents of the other two forms. What I need to …

Member Avatar for Vardonir
0
113
Member Avatar for Phil++

Hello, I'm doing my final project and I'm thinking about creating an application that is user based.. A user can login (See their score etc) and also register if they haven't got an account yet.. I'm thinking about doing this using SQL and I haven't really done it before, other …

Member Avatar for Mitja Bonca
0
114
Member Avatar for Prerequisite

Hello all, I'm trying to get through this tutorial, but running into a brick wall. I'm not very versed with PHP, so the error may be simple. I'm trying to call the data that the user inputted to the PHP form, but it's only displaying blank lines for me. I've …

Member Avatar for Prerequisite
0
134
Member Avatar for pkfx

if numInput isnt an integer I want it to prompt "Invalid Try Again" and ask for input again [CODE] std::cout << "Enter a Number (Max 10 digits)(99 to Exit): "; std::cin >> numInput; [/CODE]

Member Avatar for Narue
0
116
Member Avatar for annnDi

Hello guys. First of all i have to say i've been learning a lot on daniweb and appreciate all your effors. Secondly, i'm currently learning MFC with c++ and atm I am making a program called "fast fingers", where you have to press those chars on keyboard that are dynamically …

Member Avatar for annnDi
0
399
Member Avatar for sipchen

Hi, I'm trying to create an excel 2003 workbook from my vb.net project I referenced the code from this website [url]http://www.dotnetspider.com/resources/20382-To-create-Excel-file-vb-net.aspx[/url] However i'm getting error on this line "objSheets = objBook.Worksheets" Can any please tell me what's wrong? [CODE]Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click …

Member Avatar for sipchen
0
593
Member Avatar for shishtawitch

i have following in my database ------------------------------------------------------------------------------------ [code=text] <table><tr><td><img src="default.jpg" width="160" style="border:1px #87925d solid;padding:2px;"></td> <td valign="top"><a href="mylinkhere" target="_blank"><strong> Vicky Bhai Part 4</strong></a><br><font size="1" color="#cccccc">http://www.mysite.com</font><br>Stage Funny Stuff</td></tr></table> [/code] ------------------------------------------------------------------------------------ if want to add a <a> anchor tag to only image before displaying it on page.................how can i do that with preg …

Member Avatar for yannyannyann
0
488
Member Avatar for wilfredkojo

Hello guys, Please i have a problem and i need help.Please I have two table called 1.Register product table 2.Sell product table Register product table consist of (Product Id (txtProdId.text) and Product Name(txtProdName.text)) NB. All are textboxes Sell product table consist of (Product Name(cboProdName.text) and ProdPrice (txtProdCost.text)). NB. ProductName over …

Member Avatar for Pgmer
0
162
Member Avatar for Ritesh_4

Hello Is it possible to use an <a href> tag without adding any text link to it, usually we write <a href="....">Link to text</a>, but I want to omit the Link to text part, which however is completely removing my a tag. Any solution to this? I need the <a> …

Member Avatar for Ritesh_4
0
134
Member Avatar for ram619

could you please tell me whats happening at line number 8 because, the output is 3,2,30. How can the value be incremented twice with just one increment. Thanks ! [code=c]#include<stdio.h> #include<conio.h> int main() { int b[5]={10,1,30,40,50}; int j,i,k=1,m; i=++b[1]; j=b[1]++; m=b[i++]; printf("%d %d %d",i,j,m); getch(); } [/code]

Member Avatar for ram619
0
87
Member Avatar for dss1984

Hi, everyone. This is my first post here. I'm not very good with C++ and I have to write a program using 2 dimensional arrays. My program is a Menu that works with 2 two dimensional arrays. The program has to generate two random matrices and perform arthimetic procedures like …

Member Avatar for ameya potnis
0
429
Member Avatar for puvi

hi ppl of the forum.. i am so glad i joined this forum, members here play a big role in my learning PHP, n im able to work on a PHP project so soon all thanks to the forum and its members.. n here i'm back again, with another piece …

Member Avatar for sudeepjd
0
119
Member Avatar for arjunpk

hi i'm writing a c# script to be used in ssis.... i'm trying to pull an image from a website... i'm new to c# and i'm not sure whether the data types i'm using are right... i'm posting my code here... [CODE] using System; using System.Data; using Microsoft.SqlServer.Dts.Runtime; using System.Windows.Forms; …

Member Avatar for dotancohen
0
234
Member Avatar for Mick91

I have a data grid view populated by a query, how would I go about getting the mode from a column of values in the data grid view (from the queried data) Thanks in advance.

Member Avatar for Mick91
0
84
Member Avatar for alafift

HTTP Error 500.0 - Internal Server Error The page cannot be displayed because an internal server error has occurred. Module FastCgiModule Notification ExecuteRequestHandler Handler PHP_via_FastCGI Error Code 0x00000000 Requested URL [url]http://localhost:80/employees/default.php[/url] Physical Path C:\inetpub\wwwroot\employees\default.php Logon Method Anonymous Logon User Anonymous Do you guys have a solution to fix this error? …

Member Avatar for Agarsia
0
104
Member Avatar for jmensah

please I need a sql command similar to decode in oracle becuase am getting an error when i verified as an sql command. below is my code which, please help by correting the problem [CODE=SQL]SELECT dbo.Trans_Head.Doc_Date, dbo.Trans_Head.Document_No, dbo.Trans_Head.Account_Type, dbo.NewAccount.Surname + '' + dbo.NewAccount.First_Name AS Account_Holder, dbo.Trans_Details.Account_Name,SUM(NVL(DECODE(dbo.Trans_Details.Trans_type, 'DR', dbo.Trans_Details.Amount), 0)) Payemnt, …

Member Avatar for jmensah
0
325
Member Avatar for aksahoo17

Hi Everyone, As i wannna to be my Primary Key Em_Id auto increment in MySql but it should be a varchar datatype....as i want my id like em001,em002....something like this.... So can any body help.... Thanks, Ashish

Member Avatar for Gfaith31
0
379

The End.