199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jmace

I'm working on a program in visual c++ that I need some help on. I'm new to c++ and I can't seem to figure out how to do a http POST. The program gets a username and password from a form, and then it's supposed to send the username and …

Member Avatar for jmace
0
231
Member Avatar for sdr001

I am trying to run html code inside of a cgi script. Everything works expect for the line of code below. It says I have a syntax error and I do not know why this is. [CODE] << "<input class = 'btn' name = 'calculate' type = 'button' VALUE='Shortest Path' …

Member Avatar for Fbody
0
169
Member Avatar for black_berry

Hello I am trying to connect to an access database, i have tried using the[CODE]Class.forName("sun.jdbc.odbc.JdbcOdbcDriver")[/CODE] but this does not work. I am using Eclipse IDE and running windows 7 64bit. Does anyone know how to make it work? Thanks

Member Avatar for mKorbel
0
95
Member Avatar for Agent-of-Chaos

Hi to all, Problem Statement: [INDENT]I have 4 nodes which are executing in parallel, each node is processing some information and storing records in MySQL DB, the possible records being saved in an db daily is above thousand, but i want only 100 samples to be stored in db daily, …

Member Avatar for smantscheff
0
147
Member Avatar for jockfaire

Hi, I have a form with a ComboBox, two labels named "Price" and 'Dealer Cost" respectively a NumericUpDown control and two buttons named "calculate Commission" and "Enter Another product" respectively. I want to be able to retrieve the corresponding Price and Dealer Cost from the local database and display them …

Member Avatar for lolafuertes
0
309
Member Avatar for Bayareaboy

Hello everyone- I'm currently working on a GUI solution for a school assignment which creates a tabbed window with only the 'Pool' tab actually populated. I have successfully created all of the labels, textfields and buttons for the 'pool' pane, but I am really struggling with setting up the listener …

Member Avatar for mKorbel
0
173
Member Avatar for SourabhT

Hi, I am trying to implement abstract factory in c++, but i encountered one problem that compiler doesn't allows me to this: class Temp { virtual void dr=0; //error is in this line }; it says illegal use of type void !! i can use other return types but i …

Member Avatar for Agni
0
142
Member Avatar for newack

I am new to Java I wrote a code to find largest number [CODE] import java.util.Scanner; public class LargestNumber { public static void main( String args[] ) { int number,largestNumber; Scanner input = new Scanner( System.in ); System.out.print( "Enter 10 numbers to compare" ); for( int counter = 1 ; …

Member Avatar for newack
0
107
Member Avatar for paramaster

Hello daniweb community, i'm new to all this and i'm pretty happy that found this. Anyway i'm having sevral issues. Frist one is: my Python GUI (IDLE) won't open program. [CODE]def num(n): count=0 while count <= abs(n): count = count + 1 n= abs(n)/10 print count num(-23) [/CODE] This code …

Member Avatar for paramaster
0
190
Member Avatar for revjim44

I have data consisting of two arrays, string item [], and string location [], How do you create a DataGridView ( or is that even the right component to use) to display the data in a windows form, like in a listbox? Basically I need to write a method to …

Member Avatar for Momerath
0
131
Member Avatar for sdr001

Hello, I am trying to save elements into a file and it is not working. If the file is there, the new elements need to override everything in the file, pretty much clear it out and write to the file. If the file is not there, it just writes the …

Member Avatar for sdr001
0
219
Member Avatar for rkayd

This seems like it should be a simple thing to do but I can't seem to find any information on what codes to use. I want to be able to enter a record, submit it through php to a database then continue entering more records using the same form - …

Member Avatar for rkayd
0
2K
Member Avatar for morteza_ipo

Hello everyone. I have a folder with TEST name. In this folder I have 3 files : index.html , Untitled.swf , Untitled_toolbar.swf When we open index.html file we can see that video! Clearly I can say , we have 2 address: [url]http://...........com/TEST/[/url] [url]http://...........com/TEST/Untitled.swf[/url] I want to lock this address! [url]http://...........com/TEST/Untitled.swf[/url] …

Member Avatar for morteza_ipo
0
145
Member Avatar for klegrand

I want to change to setting 'Deny access to this computer from the network'. This is under Local Security Settings. I need to remove the guest account from the list. Is this setting stored in the registry and can it be modified with VB script ? Thx, kurt

Member Avatar for klegrand
0
57
Member Avatar for FriXionX

Hi guys, first post here. I decided to come here because it looks really friendly. Ive looked around on the internet, but I dont really understand how to do this. Take note that I am just beginning in c++. (Few days practice), so i decided to try to make a …

Member Avatar for Kanoisa
0
247
Member Avatar for bangla

1. Welcomecaller.php <form name="myForm" action="/send.php" method="post"> <input type="hidden" name="subject" value="Form Submission" /> <input type="hidden" name="redirect" value="thankyou.html" /> Name: <input type="text" name="fname" /> Email: <input type="text" name="email" /> Phone No: <input type="text" name="phone" /> <input type="submit" name="submit" value="submit"/> </form> 2. Send.php <?php $to = "safiullah12@hotmail.com"; $subject = "Brought to you "; …

Member Avatar for bangla
0
128
Member Avatar for Majdaa

Hi, first post here, anyways\s here's the deal... My dad owns a clothing company and we have 3 local shops. He is going to be buying a POS system that uses Windows XP and a barcode scanner. I don't really know anything much about barcodes, but the local cd store …

Member Avatar for chayan.cjee
0
704
Member Avatar for sdr001

Hello, I am having a problem with reading input from my web app. The data is being sent by JavaScript and I am using getline() to get the data. My problem is when I run it, I get an infinite loop. I do not know why this is happening. A …

Member Avatar for sdr001
0
112
Member Avatar for lexusdominus

Im trying to learn how to use the winapi - ive read tutorials about message handling and the windows procedure ect, but am a bit lost as to where to start. I know what i want to do - my program launches as a console and starts a new thread …

Member Avatar for Ancient Dragon
0
160
Member Avatar for puvi

hi ppl, i am having issue updating the table with details from edited form, and it turns out to be foreign key constraint issue. the error i am getting is, ================================ Cannot add or update a child row: a foreign key constraint fails (`****`.`purchase_order_detail`, CONSTRAINT `purchase_order_detail_component_item_id_component_item_id` FOREIGN KEY (`component_item_id`) REFERENCES …

Member Avatar for mschroeder
0
342
Member Avatar for ShadowScripter

I think the title says most of it. How do I, in MS Access using VBA, get information from a workbook which I can then put in as a recordset in a table? I know that excel has an easy workaround for other excel workbooks, and I've read somewhere how …

Member Avatar for ShadowScripter
0
366
Member Avatar for haoth

[CODE]<?php include 'menu.php'; echo "<br>"; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <?php include "config.php"; // Get values from form $IDTrabalho = (isset($_GET['idtrabalho']))? $_GET['idtrabalho'] : ''; $IDCliente = (isset($_GET['idcliente']))? $_GET['idcliente'] : ''; $Descricao=$_POST['Descricao']; $Quantidade=$_POST['Quantidade']; $Preço=$_POST['Preço']; echo"$IDTrabalho"."<br>"."$IDCliente"."<br>"."$Descricao"."<br>"."$Quantidade"."<br>"."$Preço"."<br>"; …

Member Avatar for haoth
0
98
Member Avatar for zarifin99ska

Hi I've design a datagridview with 6 columns. But i got a code somewhere in internet,the code make my datagridview added with 8 more columns from database. i dont know how to put the data from database into specific columns in the designed datagridview. on database, i have 8 columns, …

Member Avatar for zarifin99ska
0
105
Member Avatar for Java_90

I have to input a directory in DT, then have Directory recursively return a list of files and folders in that directory. My problem is that at the moment my program is only returning the first file in the directory and then ending. I know that I'm doing my recursion …

Member Avatar for Java_90
0
180
Member Avatar for dougancil

I am trying to update a database table that's attached to a table adapter and can't quite seem to be able to get the code to work. It was suggested that I use an update statement, but the person I was working with had no idea how to update a …

Member Avatar for dougancil
0
85
Member Avatar for Arcrammer

I have no idea what AJAX is -- other than the fact that it has something to do with JavaScript :yawn: I'm not that talented with JavaScript other than variables, functions, alerts, confirmation boxes, and simple stuff like that. Any links that would help me learn AJAX would be greatly …

Member Avatar for McLaren
0
167
Member Avatar for tukky

Hey :) Im working on a project and ive come across a small problem. I have a listview that contains the details of a person(s) such as their name,address,e-mail address etc. I have a button that opens up another form where the user can edit the details of the customer, …

Member Avatar for codeorder
0
124
Member Avatar for dolly_olaide

Hi. I am trying to implement adding then subtracting images but I can't seem to get it right. My thoughts are to load the image. add the pixel values. Firstly, I can get the pixel location but I DON'T KNOW HOW TO DISPLAY THE PIXEL VALUES from the pixel location. …

0
106
Member Avatar for zetologos

This program keeps adds the sum of numbers you put in. You can also quit by typing in quit, its not case sensitive since I have code which converts all uppercase letters into lowercase. This in fact is the problem. For some reason when I insert a number it works …

Member Avatar for zetologos
0
261
Member Avatar for zetologos

This bug is killing me. I have no idea what I did wrong. My friend has it the exact same way. This program reads a txt file and reads each line which has a request in it EX: Matt Smith;Event 1;2009;March;29;11;120;40; We take the request cut it up according to …

Member Avatar for zetologos
0
157
Member Avatar for chintan_1671

I am creating new thread everytime in the for loop .. but many times the loop takes the same filename and creates new thread. Doesn't Work: [code] foreach (string s in fileEntries) { t = new Thread(() => Shrink(s)); t.Start(); } [/code] I have tried individually for each file creating …

Member Avatar for chintan_1671
0
205
Member Avatar for GrimJack

I am playing a PBeM game called Olympia-game 3, it seems many of the players use Perl scripts to automate some tasks. They happily share the code but I am hesitant to press for programming help in the gaming forum so I come here. I downloaded Strawberry Perl and am …

Member Avatar for d5e5
0
350
Member Avatar for sj5536

hi i want to do a facedetection project for attendance on which platform i do that and can u give some resource that from where i get direction that what i have to do

Member Avatar for mess110
0
153
Member Avatar for Ricky65

Hi I'm attempting to code a proxy in C++ using Winsock2. At the moment it only works on simple HTML pages and locks up a lot when downloading certain pages. After a lot of fiddling, I'm not sure what the problem is. A big thank you to anybody who can …

Member Avatar for Ricky65
0
1K
Member Avatar for Jay Johengen

My hosting provider assigns the server name, database name, user name and password after I import/upload my SQL server database to them. When I run locally for testing it will be different. How can I effectively test and publish my site without having to change this all the time?

Member Avatar for Fortinbra
0
132
Member Avatar for arjunpk

hi.... i have a small problem using the DOM parser for XML in c# [CODE] XmlDocument doc = new XmlDocument(); XmlNodeList _list = null; doc.Load(location.Text); _list = doc.GetElementsByTagName("DataSource"); foreach (XmlNode node in _list) { //some processing } [/CODE] over here i am able to get specific nodes using the getElementByTagName …

Member Avatar for arjunpk
0
298
Member Avatar for shajan.lnt@gmai

I have 4 <div> element first one is Header, 2nd and 3rd is Middle as right and left panel in the same row with fixed width and heigh and 4th <div> is footer. How can I align the middle two <div> in the center [code] <div align="center" style ="background-color :Lime; …

Member Avatar for Fortinbra
0
656
Member Avatar for sjn21682

hi everyone, could anyone tell me how can i change my menustrip from menustrip1 to menustrip2. Well i have 2 forms, Form1 and Form2, in Form1 i have 2 menustrips menu1 & menu2. Once i click menu1, my form2 will show with a listview, so my form1 and form2 now …

Member Avatar for mcriscolo
0
255
Member Avatar for weirdo71

Hi and good day, I have a piece of code im working on and is stuck on Select Sum statement which keeps returning a Conversion from type DBNull to type Decimal is invalid. Below is the code and Im working with a Access Database. Everything works good if the Batch …

Member Avatar for weirdo71
0
630
Member Avatar for showman13

Good Morning, I have a membership site and to date haven't been gathering information of the sensitive nature. But now I need to get SSN and DL etc... We bought an SSL Cert, and now my challenge is this: Do I secure only the pages that relate to gathering this …

Member Avatar for pixelsoul
0
81
Member Avatar for rajeesh_rsn

Hi friends, I likes to implement "Remember Me" Option while sign in to my web site. Please advise me a secure tutorial for doing that . I did all the part of coding ie, at the time of login process 2 sessions will creates named "username" and "password" . and …

Member Avatar for diafol
0
86
Member Avatar for Neversleepin

Hello, i'm beginner in eclipse and i try the helloWorld.java with Eclipse After creating the JAR file, if i click it, i have an error message: [CODE]Failed to load Main.Class manifest attribute from D:\Ecipse\workspace\HelloWorld\[/CODE] I don't understand why i can't launch my HelloWorld.jar My java version is 6.1.7.600 and i …

Member Avatar for mKorbel
0
2K
Member Avatar for ComicStix

Hey! I'm working on this program that generates 100 random numbers and stores them in an array. This is the unsorted array. Then I use those same random numbers and try to make a sorted array. And it's supposed to be is ascending order like 2,4,6. Only 5 numbers per …

Member Avatar for ComicStix
0
162
Member Avatar for kukuruku

Here I am creating the objects and try to print them,I have differnt classes for date and Employee.The objects EmplObj and EmplObj2 ,are created but I have problem when I tried to print them ,it is printing only the first one [CODE] public class tester { public static void main(String …

Member Avatar for mKorbel
0
117
Member Avatar for Kontained

I'm in the process of writing a knights tour algorithm for a homework. I believe my algorithm is a good one and don't see anything wrong with it, but for some reason my program keeps throwing a stack overflow error. I don't see any reason why it would be throwing …

Member Avatar for Kontained
0
634
Member Avatar for akshayinbox

Hello. I just took my ETS TOEFL test today. I was surprised to see that in Internet Explorer, not only right click was disabled (which is quite easy), but the entire IE was locked (favs, menus, toolbars, refresh button, etc.)...all controls were locked and one could only use navigator / …

Member Avatar for akshayinbox
0
100
Member Avatar for jacob.irwin

Earlier today I created simple database (user and login fields), login, and registration PHPs. Now I need help going about the following enhancement: In a nutshell: I am trying to create a registration form like facebook's with php code (and link it a mysql database)... 1.) My updated registration.php has …

Member Avatar for jkon
0
299
Member Avatar for puvi

hi ppl, i am having issue updating the table with details from edited form, and it turns out to be foreign key constraint issue. the error i am getting is, ================================ Cannot add or update a child row: a foreign key constraint fails (`****`.`purchase_order_detail`, CONSTRAINT `purchase_order_detail_component_item_id_component_item_id` FOREIGN KEY (`component_item_id`) REFERENCES …

Member Avatar for puvi
0
160
Member Avatar for Inope

Please I'm trying to help myself know vb.net very well so that i can use it in my final year project. what i want is to search for a field in the database (Access) in case you want to search for all the male records, female records, same name i.e. …

Member Avatar for Inope
0
76
Member Avatar for N4JRY

With things slowing down now for Christmas I wish I was the other side of this issue... I believe this is an ASP.net config / web server config issue and I don't quite know where to go from here. I have a two virtual servers; SQL1, WEB1. A web site …

Member Avatar for N4JRY
0
230

The End.