64,152 Solved Topics
Remove Filter ![]() | |
Hello, I would like some tips on setting up [B]formmail.pl[/B]. Currently I get an error [QUOTE]Error: Bad Recipient One of the recipients of the information on this form is not a customer of pair Networks or is not currently configured as a valid recipient. Sorry. [/QUOTE] which is good because … | |
Hi I am writing a code in which I have to display the print dialog. PRINTDLG pdlg; memset( &pdlg, 0, sizeof( PRINTDLG ) ); pdlg.lStructSize = sizeof( PRINTDLG ); pdlg.Flags = PD_RETURNDEFAULT | PD_RETURNDC; PrintDlg( &pdlg ); But I am getting an error message "[Linker error] undefined reference to `PrintDlgA@4' … | |
I try to create a generic binary tree class but when i try to define an inserting function I get these compilation errors error C2072: 'Btree<T>::recins' : initialization of a function error C2143: syntax error : missing ';' before '*' c:\documents and settings\kux\my documents\visual studio 2005\projects\btrees\btrees\btree.h 54 Error 6 error … | |
Hi.....here i am able to display only the last row contents.....pls help me......i want to display the rows based on user selection.....here what ever u select it will disply the last row..... [code=php] <?php session_start(); include('database.php'); $result = mysql_query("SELECT * FROM autoalto_mail" ); while($row = mysql_fetch_array($result)) { ?> <tr><td width="10%"></td> … | |
Is the syntax is correct..............i am getting blank page...... [code=php] $result = mysql_query("SELECT * FROM autoalto_mail where mail_id='$_request[$a]'" ); [/code] [code=php] <? include('database.php'); $result = mysql_query("SELECT * FROM autoalto_mail where mail_id='$_request[$a]'" ); while($row = mysql_fetch_array($result)) { echo $row['contents']; } mysql_close(); ?> [/code] | |
![]() | Ok, so this might seem stupid.. but I am just trying to get my head around it. I have 32bit registers (longword size). Unsigned values are values from 0 to 255. Adding two unsigned 128 bit values... So do I need to use 4 registers per value and add the … |
Hi, I have made a GUI using wxPython. I want to disable the Maximize button, but I am not able to do it. Please suggest a way to implement this. Regards, Dinil | |
Hi all. I am trying to write a "light" version of srm just as an exercise of shell scripting (started today with this ^^" I have to keep it [B]really[/B] simple) Basically it should just search for a file and, if found, ask for a confirmation before deleting it. Now, … | |
Hello, I was wondering how I could correct this. It is referring to the following line: [code] set.quickSort(prt1, 0, arraySize-1); [/code] I tried to create an object and call the function this way but I am not sure how to correct this error. My code is the following: [code] bool … | |
hi guys, i was trying to sum up all the balances of clients to know which of them has reach their credit limit but my codes are not working. It shows an error and highlights on this code [code] rsArmaster.Open "select sum(balance) as credit from ArMaster where shippercode= '" & … | |
Hi, Is there a way in python to get multiple values from a dict? In perl we have this syntax: @values = @hash{@fields} is there something similar in python? thanks, Sam | |
I have a vs2005 forms app, I have added a header file with a bunch of functions, but now i get a bunch of LNK2005 errors, one for every function. How do I resolve this? Do I need to put them in a class? Thanks. | |
Hi guys, i have one question regarding alignment. Assume that you have the following struct: [code=c] struct align1 { double a; char b; int c; short d; }; [/code] Also assume: sizeof(double): 8 sizeof(int): 4 sizeof(char): 1 sizeof(short): 2 i would expect: sizeof(align1): 8 + (char padded to->) 4 + … | |
Ok. Need some help with a project at my work. Wanting to create a useful map of the windfarm where I work. (Once completed, will be the largest windfarm in Europe :-)) Anyway have created a map of the site showing the locations of each turbine. Using this map as … | |
I downloaded a graph control... However I dont know how to code it I tried copping and pasting sxamples codes but the code refuses to work. HOW DO I CODE THE GRAPH CONTROL, I KNOW I CAN USE ARRAYS BUT MY UNDERSTANDIG OF ARRAYS IS MINIMAL...?? i need help | |
Hi all, How can I allocate memory in Python and convert that into Physical memory? I am trying to use CTYPES, but somehow not able to load the required system libraries to use malloc type of system call. Thanks, David | |
Does the infomation make a differance to the programs speed? [CODE]// Operating with hello world #include <iostream> using namespace std; int main () { // Print out the result: cout << "Hello World! "; cout << "This is my program"; // Keep program running: cin.get(); //Terminate the program: return 0; … | |
Well I am writing a little message encryption program (simple) and Well it works but it will not change anything after a space. just hoping someone here could help. [CODE] cout << "Enter in the message you want to encrypt..." << endl << " "; cin >> in; count=strlen(in); for(i … | |
Hi all, i have added the form required in my project. it is showing there in solution explorer window. But i cant access that form through coding. can anyone tell me wt is the problem | |
hey folks, I've got a problem. I created a function that creates a javascript alert. it works fine for the invalid date call, but not for the updated call. I have used this function on several other projects and have had no problems with it until now. If stepped through … | |
I want to select data from ranges like Column1 Column2 25000 10 50000 20 75000 30 I want records like upto 25000, I get 10 upto 50000, I get 20 upto or more than 75000, I get 30 Can anybody suggest me a simple query for that? Thanks in advance, | |
I am making a whatsmyip.org clone and this is what I have so far [CODE]<HTML> <HEAD> <TITLE>Maddog's IPs'</TITLE> <META NAME="Keywords" CONTENT="IP, address, find ip address, ip addres, whats ip, ip find, ipconfig, ipaddress"> <META NAME="Description" CONTENT="Maddog's IP' - The #1 Way To Find Your IP Address !"> <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> … | |
Hi all I have to make a form in my project which includes text NOW LOADING following 4 to 5 dots like ......, Now my motive is that on loading that form the dots should look like moving as is mormally seen in all softwares and games. i have used … | |
Hi All, Kindly give me some guidelines regarding below issue. I am developing Student feedback system to provide feedback about faculty to in institution. Now I have three tables in database: 1.Questionid containing column as id, questionid-description, type 2.event table containing column eventid ,eventdescription,questioned-description(contain same data as like questionid-description from … | |
hi ppl, i' ve done a program that calculates the result of raising a random base to a random exponent. the problem is that this stays in a loop that never comes out, n i have to abort it. and, its ok to put `exp*=exp??` cuz, i dont know how … | |
Hi guys, I'm trying to make sense of some Perl code. I haven't actually programmed in Perl before but I do image the functions/methods are similar to other languages. Here's the code: [code=perl] function [dir, wspd] = conv_wind(uwind, vwind) usize = length(uwind); vsize = length(vwind); if(usize ~= vsize) dir = … | |
OK i have this code below here...it works fine. play with it and you will learn its a simple maths game but i want to add substraction to it as well. i want it to be able to load the program up and then be able to choose from addition … | |
This is my first post and I am new to this so bear with me...I am trying to write a program that will output messages to 1 or more text files. For example if I want to write to 3 log files, depending on what is happening in the code. … | |
Hi I have made a program that will change the settings of printer orientation. But I am getting linker error. " [Linker error] undefined reference to `OpenPrinterA@12' " I am not able to find out the reason. Kindly advice Regards Karan Gupta | |
I have a recursive function squares that receives a positive integer n and prints out the first n perfect squares in descending order. Can anyone tell me if this is correct and if not please help. [ICODE]squares(int n) { if( n== 1 ) return 1; else return squares ) n … | |
BinarySearch is called on the array below, searching for Value 20. Is the final value of Index 20 in [6]. I think this is right. 2 5 10 15 20 20 20 20 [1] [2] [3] [4] [5] [6] [7] [8] | |
hi all, i created a shoutbox where users will display messages. when they click on shoutbox a table will appear in which we have message and name when they submit messages it should appear beside that shoutbox [U]shoutbox[/U] hiii hyderabad:praveen :: hello praveen:pandu like this,i have inserted messages and names … | |
Hi, Does anyone know how to change the date format on the calendar components? The default is [B]MM/DD/YYYY[/B] and I would like to change it to [B]DD/MM/YYYY[/B] Thanks... | |
Hi, everyone! I thought I posted the code first, it's better. This is the code of the program I've worked with : [CODE] #include "liveMedia.hh" #include "BasicUsageEnvironment.hh" #include <stdio.h> UsageEnvironment* env; Boolean reuseFirstSource = False; Boolean iFramesOnly = False; static void announceStream(RTSPServer* rtspServer, ServerMediaSession* sms, char const* streamName, char* inputFileName); … | |
hi guys, i have a problem in my coding. i want to get the array keys + their values except for [] and replace them with "". i want to do this because i'm using a function to create a form. Since i'm developing a form generator.i need this help. … | |
i m writing a practice code to implement select with fifo. i m posting two codes along with : [CODE] CODE 1: Help with Code Tags (Toggle Plain Text) #include <sys/types.h> #include <sys/stat.h> #include <stdio.h> #include<fcntl.h> int main() { int fd,rc,i; /* Making A FIFO names as fifo2*/ char data[100]; … | |
HI all again here with some problem. I m making a project in which i made a form MDI container and on running the application login screen opens within the Main form(MDi). I want that until user logins he should not b able to access main form or its options. … | |
hey frnds, Can somebody tell me how to extract icons ,Cz I have no idea from where to start. | |
Hey folks, I've got a real head-scratcher here. Below is a simple, quick script I've written that defines an object that contains an array plus an ID property. I then create a nested chain of objects by storing each child in the parent's array, like so: [CODE] function TestObj() { … | |
I'm having a problem with my assginment. This is the Java Number Guessing Game. It compiles and runs with no errors but when executed it stops with only one user input. You must hit the "Play Again" button to continue. Here is my code: [CODE]import javax.swing.*; import java.awt.*; import java.awt.event.*; … | |
I have started out with tasks that need to communicate between different forms. I need to understand the logic how this works and have problems to find any examples of this. For the 2 codeexamples below, I use these to close the current Form or activate another button on the … | |
my 2nd prog, i intend on adding to it next so that it manipulates the data, see what cool things i can make it do....anyways, just looking for some feedback again on my prog, does it suck :) ? Thx in advance [CODE]#include <iostream> #include <fstream> #include <vector> using namespace … | |
![]() | Is there a keyword in SQL that would allow you to select a value from a field in the previous row? I am looking for something that would give me the speed field value for the row before: [code]SELECT min(Parsed.Time), [Parsed.Number] FROM Parsed GROUP BY [Parsed.Rev Number] [/code] |
My professor has assigned a lab that we will later be using to learn how to abuse the various types of data structures. In this first lab he asks for the default constructor, a copy constructor, and an overloaded constructor to accept the appropriate data, which you'll see in a … | |
Hi I was wondering if anyone knew how to make a highscore list in VB 2005. This is for my project which is basically a quiz, and I would like the user to be able to click on the highscore button so that they can see their name, ranking and … | |
I have a TextFile that contains Records. On Form Load I m saving those records into the listview. I set the MultiSelect property of the listview to true. I have one button, I want that suppose user Selects multiple items in the listview by using ctrl. & Click on Button,Firts … | |
Using VB 2008. I have a form with a text box and a button on it. The button displays another form with a datagridview from which I want the user to select from to populate the text box. On RowHeaderMouseClick, I populate the text box field from the first form … | |
I know that to make a simple yes or no question I can do this: [code] int Answer; cin >> Answer; if (Answer == 1) { Response } else { Response } [/code] But in the accounting program (In a recent thread), it registered the key before you hit enter. … | |
Hi, I have been making a program that encrypts files. It works, but it compresses them. It only does it a little bit, but it does. It's weird. Why is it doing this? I have attached a zipped folder with the code, binary, an encrypted file, and the original file. … | |
hi.. i was following the program in d tutorias given in daniweb thread. i typed print " Hello Cu Python!" in the IDLE .. but i get an error as invalid syntax ? can anyone tell me the change to be done?? |
The End.