199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for squinx22

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 …

Member Avatar for articlemaster9
0
109
Member Avatar for pirula

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" /> …

Member Avatar for Laxmanthota
0
183
Member Avatar for vs.vaidyanathan

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?

Member Avatar for vs.vaidyanathan
0
122
Member Avatar for jonnytabpni

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> …

Member Avatar for jonnytabpni
0
123
Member Avatar for Loony064

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 …

Member Avatar for Teme64
0
681
Member Avatar for scottyscotty19

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 …

Member Avatar for versatileint
0
366
Member Avatar for bolx

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 …

Member Avatar for Kev06N
0
145
Member Avatar for neel_patric

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 …

Member Avatar for kvprajapati
0
108
Member Avatar for lefrancisco1

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 …

Member Avatar for kvprajapati
0
102
Member Avatar for Pachrant

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 …

Member Avatar for skatamatic
0
115
Member Avatar for gareth.nic

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 …

Member Avatar for Teme64
0
1K
Member Avatar for history84084

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();

Member Avatar for kvprajapati
0
149
Member Avatar for undead25

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> …

Member Avatar for undead25
0
2K
Member Avatar for cool_gurl666

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

Member Avatar for Josh Connerty
0
92
Member Avatar for SAFC

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.

Member Avatar for SAFC
0
26
Member Avatar for rehanazher

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 …

Member Avatar for rehanazher
0
78
Member Avatar for bhagyaraj

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 ---------------------------------"); …

Member Avatar for bhagyaraj
0
197
Member Avatar for coolvaneegurl

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 …

Member Avatar for navi17
0
103
Member Avatar for Lovemore

Can someone out there provide me with notes or information on using data reports in Visual Basic 6.0

Member Avatar for choudhuryshouvi
0
1K
Member Avatar for nish123

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 …

Member Avatar for nish123
0
131
Member Avatar for jzimmerman

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 …

Member Avatar for Airshow
0
156
Member Avatar for bufospro

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 …

Member Avatar for Luckychap
0
113
Member Avatar for nish123

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...!! :(

Member Avatar for nish123
0
159
Member Avatar for nagu89

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???

Member Avatar for Ancient Dragon
0
231
Member Avatar for Stefano Mtangoo

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

Member Avatar for Stefano Mtangoo
0
257
Member Avatar for Kiba Ookami

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.

Member Avatar for Stefano Mtangoo
0
243
Member Avatar for axim1

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 …

Member Avatar for s_sridhar
0
113
Member Avatar for dzl1

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 …

Member Avatar for dzl1
0
126
Member Avatar for tartan

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 …

Member Avatar for Ancient Dragon
0
178
Member Avatar for seriousgeek

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 …

Member Avatar for Stinomus
0
166
Member Avatar for Unhackmee

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 = …

Member Avatar for William Hemsworth
0
97
Member Avatar for youngfii

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 …

Member Avatar for jesseb07
0
116
Member Avatar for nuliknol

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 …

Member Avatar for nuliknol
0
144
Member Avatar for Delija

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". …

Member Avatar for DanyLdon
0
119
Member Avatar for vs49688

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 == …

Member Avatar for ArkM
0
317
Member Avatar for UQ13A

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 …

Member Avatar for UQ13A
0
283
Member Avatar for moiseszaragoza

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)); …

Member Avatar for ShawnCplus
0
126
Member Avatar for waldchr

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 …

Member Avatar for waldchr
0
118
Member Avatar for serkan sendur
Member Avatar for serkan sendur
0
170
Member Avatar for brandongood

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 …

Member Avatar for poeticinsanity
0
206
Member Avatar for serkan sendur

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 …

Member Avatar for serkan sendur
0
129
Member Avatar for mshravs

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

Member Avatar for Tekmaven
0
102
Member Avatar for phoenix911

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 …

Member Avatar for jephthah
0
197
Member Avatar for fadia

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 …

Member Avatar for mirfan00
0
307
Member Avatar for mirfan00

[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.

Member Avatar for mirfan00
0
67
Member Avatar for retareed

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 …

Member Avatar for retareed
0
162
Member Avatar for Namibnat

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 …

Member Avatar for Josh Connerty
0
103
Member Avatar for Chizl

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 …

Member Avatar for Evenbit
0
214
Member Avatar for KirkPatrick

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 …

Member Avatar for KirkPatrick
0
103
Member Avatar for patria987

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..

Member Avatar for Salem
0
175

The End.