199,113 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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 "") { … | |
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 … | |
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] … | |
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 … | |
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; … | |
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' … | |
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: … | |
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 … | |
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 … | |
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. … ![]() | |
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" … | |
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] | |
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 | |
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. … | |
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 … | |
What is the difference between app.config, web.config and machine.config ? | |
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 … | |
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. … | |
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 … | |
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 … | |
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 … | |
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. | |
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; … | |
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 ? … | |
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"; … | |
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 … | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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] | |
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 … | |
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 … | |
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 … | |
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 … | |
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> … | |
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] | |
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 … | |
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 … | |
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; … | |
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. | |
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? … | |
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, … | |
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 |
The End.