199,114 Archived Topics
Remove Filter ![]() | |
Hello all, I am having a problem in creating an image by using createImage() method when trying to load large files. FileConnection fc = (FileConnection) Connector.open("file:///" + path + "/",Connector.READ); InputStream fis = (InputStream) fc.openInputStream(); image = Image.createImage(fis); // I got the out of memory exception here. Are there any … | |
Hi, i have problem to send cfmail to @yahoo. I am using simple contact us page and another page to send emails. contactus.cfm [code] <form id="form2" name="form2" method="POST" action="send-email.cfm"> <input name="username" type="text" id="username" size="40" /> <label> <input name="email" type="text" id="email" size="40" /> </label> <label> <input name="subject" type="text" id="subject" size="40" /> … | |
What does error Lnk 2001 and LNK 1120 mean? Am a complete noob.. Could anyone please give me a step by step procedure to rectify it? | |
Hi folks, I'm trying to write an XMLHandler for my epos app. The XML file (which is received by a network stream) will include multiple "operations" which may include updating the product database or opening the cash drawer etc.. My sample XML file looks like this: [CODE]<paypointXML> <op> <command>opendrawer</command> </op> … | |
Hey everyone, I created a program for one of my clients which uses a back-end MS Access database with a front-end VB.net application that allows the user to enter details into various tables, search through the information already stored there and lastly, generated various reports based on specific criteria. My … | |
hi. Does this command (tar cvf /usr/local/bin) create a tape achieve in /usr/local and then copies all the files and directories that are in the /bin directory into the tape archive that is stored in /usr/local? If not then how does it work? I have looked around the internet and … | |
Hi, im new to c++ and wondered if anyone could help me with this Use a for loop to display 3 times table backwards 12 times 3 = 36 11 times 3 = 33 10 times 3 = 30 9 times 3 = 27 8 times 3 = 24 7 … | |
im trying to compare a value that a user can input in a txt box to a record in a database. for example i have a txt box which has id as txtStudId. now i have a db which has already been linked to the form using the access data … | |
Hi Folks, I have created one gridview.In that gridview i've placed buttons in every cells.My task here is...when i click the button automatically that particular cell color should get changed.I even used code using system.drawing.color on selected index changing event.But once i click any one cell it affects all the … | |
Hello everybody... Can anyone help me with this?: I want to check out an array, if there is any number which is 3, or more times in a row. IE: int[] tmp= new int[7]{0,2,1,1,1,4,5}; // yes 3 duplicities starts at index 2 int[] tmp= new int[7]{0,2,2,1,1,1,1}; // yes 4 duplicities … | |
Hi, this is a program that I'm coding for a project. The code is a bit messy, but I'm having trouble with resetting the variable to the original value. The variable "iBottle" is declared at the start of the program. It then gets subtracted by within the IF...ELSE structure in … | |
I am using the following code to show existing C# forms. It works for some and not for others Suggestions would be appreciated! Form frmFDDsearch = new frmFDDsearch(); frmFDDsearch.Show(); | |
Hi there. I'm sor of beginner in c# and want to compare the value of the elements form a XML file with other values wich i declare for example. My XML file looks like this: <alarma> <conditii> <conditie> <semnal>Umiditate</semnal> <operator_semnal>=</operator_semnal> <valoare>90</valoare> </conditie> <operator>&</operator> <conditie> <semnal>Temperatura</semnal> <operator_semnal><</operator_semnal> <valoare>37</valoare> </conditie> </conditii> </alarma> … | |
Hi, I need to display the countdown clock in my bidding site.The same countdown needs to be displayed when any user visits the site.Help?? Thanks in advance | |
Hi. I know that Python comes bundled with Cygwin, but can Cygwin work without Python? I believe it can but I'm just checking as there's some non-developers that we wouldn't want to get access to Python when using Cygwin and Xfree86. | |
Hi All, I have four different tables in my database with following structure: //=================================================================== 1. [B][U]customer[/U][/B] [I][INDENT]customer.CustomerName, customer.CustomerHouseNo, customer.AreaID, customer.CustomerID, customer.CustomerType, customer.CustomerBalance, customer.CustomerAdvance, customer.CustomerMonthlyFee, customer.Remarks, customer.CustomerConnectionDate, customer.CustomerStatus, customer.CustomerTelephone, customer.EUserID, customer.USerID, customer.EditDate, customer.CDDate, customer.DisRemarks, customer.CtypeID, customer.CIP, customer.CMAC[/INDENT][/I] 2. [B][U]payments[/U][/B] [I][INDENT]payments.Amount, payments.PaymentMonth, payments.PaymentDate, payments.CustomerID, payments.PaymentYear, payments.CustomerAReaID, payments.ReceiptNo, payments.USerID[/INDENT][/I] 3. [B][U]area[/U][/B] a[I][INDENT]rea.AreaID, area.AreaDesc … | |
Hello,I need help with the following series (sorry I forgot what its called..) 1/1! - 2/2! + 3/3! -4/4!....upto n terms Here's my program : [CODE]#include<conio.h> #include<stdio.h> #include<float.h> void main() { float com=0,j=0,j1=0,ans=0; //variable decl of float type int tillw,i,no=0,fac1=1,fac=1,f1,f2; //variable decl of int type clrscr(); printf("\n\n\t\t *********************************"); printf("\n\t\t ---------------------------------"); … | |
Hi, I am having a parse error with the codes below but my eyes just cant seem to find anything wrong. Hope somebody out there can help me. [CODE]<html> <head> <title>Using mysql_num_rows()</title> </head> <body> <?php $user = ""; $pass = ""; $db = ""; $link = mysql_connect( "localhost", $user, $pass … | |
Can someone out there provide me with notes or information on using data reports in Visual Basic 6.0 | |
hello friendz.. jst a small query.. i made simple userinput form as userform.php.... after submit the form..values are passed to adduser.php for inserting to database... i have a serverside validation tht username cant be same...!! [code]if(username is laready exist) { [B]header('location:userform.php?error=1');[/B]//user send back to userinput form.. } else { [B]header('location:login.php');[/B]//user … | |
I am creating a form for a registration that asks the participant if they have completed pre-requisite training. There are three questions they are asked. When they click yes, the text box for the requested information is enabled, when they click no, they get a warning that they need to … | |
Hi all, I would like to help me with a program in C. I would like to make a function that saves 10 float numbers from an user. But I would like to to do this with pointers. My function is called float *save_array(int N) and then I have to … | |
i have some data in an Array but i want only a particular part of it..!! how can i get it.. for Example... [code]Array ( [0] => status=1&messages=xxxxxxxxx&credit=23.4; ) [/code] i just want to get status = 1 how can i get it..?? help me out...!! :( | |
hello. Ive been using a pretty long number in my program . its problem3 of the euler project . Its 600851475143 . What data type do I use for this??? | |
I'm learning wxWidgets and would like to know which event, connect or using static event tables? Why will you choose one from the other | |
Whenever I try to run a compiled group of code that should bring up a console, the console just flases onto the screen and is gone...I've copied a few programs from this forum onto it to check and see if its just me but it does it every time. | |
Please someone helps me with this question I must submit the answer tomorrow. The program is not working properly as is suppose to ; I am not getting the result shown below. Write a program that accepts numbers from the user and stores them in a linked list called allnum … | |
Hi, noobie here. Anyone know how to tranfer my asp.net membership credentials from my localhost to online? I have a webhost that I am using to test stuff that I do offline, and have been uploading everthing after I try it on my local machine to see how it works … | |
having problems with the editing of a function, it works to a point, but for some reason when you enter a number ( that should be correct) it comes with invaid option then on pressing return, it then outputs the fields, but all jumbled up. can any1 help me with … | |
Hello to everyone at Daniweb.. :) I'm currently studying B.Tech 2nd yr in the field of computer engineering in India..I'm quite tensed about the prospect of placments..Can anyone please suggest what all computer skiils or languages should i know for increasing my chance in placements into companies like Yahoo?? Currently … | |
Can anyone please help me reverse the output. This is just a very simple code and the output needs to be reversed in order for it to be correct. [CODE=C++]#include <iostream> #include "stdafx.h" using std::cout; using std::endl; int _tmain(int argc, _TCHAR* argv[]) { int num = 0; int bin = … | |
Hi, I have this "number game" which i just learned tonight ..It runs..but ,not without this warning box poping up, which says: "uninitialized local variable 'guess' used"...This confusing me because i know i did everything exactly like i was taught ...can you find/fix my problem abd explain please it'll be … | |
Hi, i have been looking for this and can't find anywhere about the subject. I would like to know how many clock cycles does it takes to execute each instruction in complete asm instruction set for Intel i7 microprocessor. (including SSE & FPU instructions). Does any one has a list … | |
I am making a rpg type game. I have stored values inside of an array of class via a textfile. That's all I have done so far... What I need now and have not figured out yet is how to move from one array to the next using my "character". … | |
![]() | EDIT: I mucked up the thread title. It should be "Convert Custom type 'String' to std::string" Hi, How would I be able to convert a custom type 'String' to a std::string? Just that the function I'm using requires a std::string. troublesome code: [code] SetVar::operator char* () { if (szName == … |
Hi i'm currently having problems with my code. When i submit the form with the CAPTCHA Code submited it sends the email, but when i dont enter the code it still submits the form. Can you tell me what i'm doing wrong. thanks [code]<?php session_start(); ?> <form action="contact.php" method="post"> <?php … | |
Thanks This is what i have [code=php]<?php function msort($array, $id="order") { echo($array); $temp_array = array(); while(count($array)>0) { $lowest_id = 0; $index=0; foreach ($array as $item) { if (isset($item[$id]) && $array[$lowest_id][$id]) { if ($item[$id]<$array[$lowest_id][$id]) { $lowest_id = $index; } } $index++; } $temp_array[] = $array[$lowest_id]; $array = array_merge(array_slice($array, 0,$lowest_id), array_slice($array, $lowest_id+1)); … | |
I have recently upgraded from Allegro 4.2 to Allegro 5 and am trying to upgrade some of my programs. I came to a program that tells the user a ton of info about the computer it's running on such as the operating system. In Al 4.2 I could just use … | |
hi guys, do you know how to run windows installer from the command line? thanks | |
Hello, I am getting the following errors: unexpected type line 433 operator + cannot be applied to <any>,double line 433 operator + cannot be applied to <nulltype>,double line 433 incompatible types line 433 unexpected type line 441 In the below file. I know its probably something simple, but could use … | |
hi guys, is it possible to create a service application for windows mobile? it is going to be like windows service application. it is going to run in background. it is going to be used to push software updates to pocket pc. if you have any ideas about pushing a … | |
i just wanted to modify, add and delete a gridview by using the button controls in ASP.Net . if so i also need the coding for that three in VB | |
the question reads as follows.... show how u can efficiently multiply an integer that is read from the keyboard by 100, without using the operator *. use the << operator several times.... ok i can do this using overload.... or thats the only way i can think of... or is … | |
heey guys.. i just learned the arrays.. am not really good at them.. can some one simplify it for me.. i gat this question.. i tried to solve it.. but didn't get the desired output :S how ever it says 1 succeeded ! here's the Q: 1. Declare one array … | |
[QUOTE=Richy321;880968]Thanks for looking btw.[/QUOTE] Hi I also try to connect sql with c++. Please if you connect than tell me how you connect it. And explain these two lines,I found only two errors of these lines. 4.import "C:\Program Files\Common Files\System\ADO\msado15.dll" \ 5.no_namespace rename("EOF", "EndOfFile") Thanks in advance. | |
I have a PHP script which checks and gets data from a MySQL database and then sends email. The emails received have one line of gibberish at the end: "...If you have received a renewal notice from the license/certificate issuer, please forward it to {snipped}. If you are due for … | |
I have been working on a site for a while now, and finally wanted to load it up to the server. I have been working on my own computer with xampplite. Everything was working just fine. When I uploaded it, after a few little things to resolve, I got most … | |
I'm a old C++ guy, so forgive my ignorance in ASM.. I'm having issues with getting CPU utilization through perfmon, because of a small memory leak in the pdh.dll after being called every 60 seconds for weeks on end. I then tried using MS typeperf.exe, but I found that EXE … | |
Hey guys, got another question for you. I have a program that displays a new bean on my jPanel for each piece of data that it picks up from a file. I was wondering if there is an easy way to always have it display my bean to the northwest … | |
Can anyone help me write the program to find the magic numbers in c/c++??I have looking for this solution for a long time so ill be grateful if sumone here can solve it.. |
The End.