199,114 Archived Topics
Remove Filter ![]() | |
Hello all... Can i write all my site pages such as index.htm, support.htm,contact.htm .. etc to [url]www.mysite.com[/url] with URL Rewriting.. Please help on this.. Thanks in Advance.. | |
Hey all, Im working with assembly atm and thought i might just get a better idea understanding loops if i know how java loops work not that it is really the same im just trying to back track. Im trying todo the following: When var1 = 3 It then needs … | |
[code=python] #!/usr/bin/python import os.path n = 10 allPositions = [] state = [] blackPairCap = 0 whitePairCap = 0 blackInaRow = 0 whiteInaRow = 0 row0 = [] row1 = [] row2 = [] row3 = [] row4 = [] row5 = [] row6 = [] row7 = [] row8 … | |
Greetings, The vb.net application I'm developing is for data input and have utilised a combo box which is populated with a list of UK towns. As it is 45,000 lines long there are problems testing the application as it doesn't always run when using the standard F5 - Start debugging … ![]() | |
As I noticed everybody says that THE ONLY difference between classes and structs is access mode. But I have noticed that initialization is also different. I mean if we have struct SA{int n;}; class CA{public:int n;} then we can write SA sa = {2}; but we cannot write CA ca … | |
Hi I am trying to bind two checkboxes in a datagrid. The 1st Checkbox is category and the 2nd Checkbox is sub category. A category can have several sub categories. When i bind the 1st checkbox the category name is repeated more than once and I need to have only … | |
Hi All, I'm using gdb to debug a C code which does file processing. The file i'm processing has about 100,000 records. The code runs fine until the 30,000 records and after that it produces garbage value. Could i use gdb to run the code until it reaches 30,000 records … | |
I have to make a guessing game program using CLR Windows Form APP in Visual Studio 2008. The program has to catch excceptions. Im trying to catch an exception if I were to leave the input box called guessBox2 in the program blank and hit the submit button. IM STUCK. … | |
how do you add the output of a sum back into the input? eg. i = 100 print i/2 which will give you 50 (obviously) then i want to divide the answer by 2 and then the answer of that by 2 and so on ad infinitum thanks in advance | |
How can I add more fields to get emailed in this script, Is there a way I can just loop through all the fields I can do it asp classic . I tried adding another mail.body but it only sends 1 mail.body [CODE] <%@ Page Language="C#" %> <%@ Import Namespace="System.Web.Mail" … | |
Hi i have created a list which reads from a text file. how can i view the contennts of the list outside of the method it was created. I have inserted my code below. [ICODE]//read Customers.txt and save in an object. List<Customer2> list = new ArrayList<Customer2>(); File file = new … | |
Hi ... i found a way to add watermark in java to the following images format: PNG , JPG , GIF... (like this: [url]http://blog.codebeach.com/2008/02/watermarking-images-in-java-servlet.html[/url]) Now im looking for a way to do the same with BMP and TIF... (cause this way doesn't work on that format...) Anyone know how to … | |
I have design report with ireport, if that report i run in netbeans its ok, but while i move to drive c: got error like this "error displaying report page. see the console for details" if i try in command prompt get message [code] java.lang.NullPointerException at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown … | |
HI, I have been working on this program for a bit now and having a little bit of trouble, I have got most of it but still a few stumbles. Here is the Directions: Write a program that will generate an unknown (between 93 and 139) count of random numbers … | |
i am new in programming in visual c++ can anyone tell that how can i call one form from other form means by clicking on button first form should disappear and second fom should come on screen in visual c++ 6 | |
Hi, I currently have an array which is added to a listbox. What I want to change it to is so it only adds it to the listbox on certain intervals of days (in the array, there is how many days that interval is for each item in days, but … | |
![]() | hi again im looking to make a program that asks for a password and if that password is correct it will show a short story and if it is incorrect it will show so and then close. i want to include a backdoor code for my use and later on … ![]() |
Hello, unfortunately i'm a newbie to java servlets, still i want to learn something new and powerful (for now i'm a PHP developer ;) ). So i have installed Tomcat 6 and Netbeans on my Windows XP. I want to do something for whidh i need some clesses tahat aren't … | |
hi! i've got a problem i can't understand. i hope someone could help me.. :/ i've got this error: syntax error : missing ';' before 'tag::id' on this line in the code: [CODE]Graph :: Graph (char * str) { // constructor... } [/CODE] the decleration of this function in the … | |
Hi all It’s required from me to create a database for a company which have three branches; the company does repair and sale second hand cars. I have created the database with my tutor but I think there are things missing but I don’t know where they should go and … | |
| |
Hi. I am trying to use assembly in C++, and need a few pointers(pun intended) lol I want to use C++ structs as operands, but can't figure out how. my code is like this so far: TEST.CPP [code=cplusplus] extern "C" WORD _add(WORD num1, WORD num2); int _tmain(int argc, _TCHAR* argv[]) … | |
Hi I'm a beginner and I need some help with designing this program. It basically asks to make a class named Employee that has these variables: Name, Id Number, Department and Position. The class should have these constructors: 1- A constructor that accepts the arguments: Employee Name, Id Number, Department … | |
Hello there guys, I'm new to C++ and i've got something to ask. I want to create several classes at different .cpp files. But i want to create objects from some of classes at other classes. let me explain it with an example: Main.cpp ClassA.cpp ClassB.cpp These are my cpp … | |
Hi, Can anyone suggest me the best browser (IE or Firefox) for working of JavaScript. If IE, vat version..?? And why..??? Im using Mozilla Firefox, But people are telling me that IE is best... Please suggest me. | |
Hi there, I'm lost in webSpace. I'm building a website for an amateur football team. One of the pages I'm including, "nextGame.html" will enable our players to declare their availability for a certain match by adding their name to a list of names already displayed on that page. I've started … | |
i have a problem in updating the records... it did'nt work... wats the prob with my update code... i edit and when i update record nothing happens... can any1 help me.... thnx and godbless! [code=php]<?php header("location: index.php"); include("conn.php"); $mode=$_GET["mode"]; if($mode=="add") { $MachineNo=$_POST["MachineNo"]; $MnfgDate=$_POST["MnfgDate"]; $sql="insert into $PRD(MachineNo,MnfgDate) values('$MachineNo','$MnfgDate')"; $result=mysql_query($sql) or die(mysql_error()); … | |
Good Day All, I have another question: I have done this program to sort a list of artist and their biggest hits, etc. It has 4 parallel arrays that i have to sort alphabetically using the Sort Option in the menu bar. I am using Bubble sort, to sort the … | |
Hi All, I'm running a C code on cygwin compiled with gcc, the code basically does file processing, it runs fine on my PC, but when run on a Solaris machine, it gives Bus error and core dumps. Is it a known issue? If not, is there any way i … | |
I am trying to figure out how to run programs and compile them in C++ if anyone can help please let me know. The major problem I am having is on this particular problem Prb04-3.cpp it will not let me run it. I tried to paste it on here and … | |
I'm trying to develop a simple program that automatically downloads PDF files from a web server and organizes them into Files. When I download any .pdf file, the size is roughly 30% bigger than when I download it with a browser and it pdf opens, but does not display. So … | |
Hi, I have a dropdown list in the headerrow of a gridview. When submiting data to the database, how can i check the value is selected or not from the dropdown list using javascript. Thanks in advance. | |
[code] // s2.cpp : Defines the entry point for the console application. // Project Stage 2.cpp : Defines the entry point for the console application. /* Algorithm Menu() Choose option Create a new expense Enter the initial amount of money in bank or to add money to bank from paycheck … | |
I'm trying to write my first game, and in order to do so, I need to design a recursive algorithm with backtracking capabilities. In the game, there is a grid of tiles. Some of these tiles back be moved to; however, a few of them are impassable. The goal of … | |
[B]How to open a picture in c++ ( jpeg or any other format)[/B] | |
I have answered few multiple choice questions.I am sure i have answered almost 95% correctly. Maybe you guys can identify if i have committed any mistakes.Just identify not solve.I will solve them myself.Just a hint what is wrong would help as i want to be sure all answers are perfect. … | |
hey guys, I have this php code that receives variables form flash to create image which works fine. what i want to do is save that image after its been created on my server instead of showing it as is in the code below. how do i go abut that … | |
I created a database from a turorial, but gets the error message: Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in C:\wamp\www\addressbook\MysqlStep3HandleReadRecord.php on line 16 Part of the code is: [ICODE] $db_handle = mysql_connect($server, $user_name, $password); $db_found = mysql_select_db($database, $db_handle); if ($db_found) { $SQL = "SELECT*FROM tb_address_book"; … ![]() | |
what is the syntax of returning a two dimensional to main function? | |
After creating a class called student i aslo include a constructor and destructor the implementation code is shown below. student::student(){;} student:: ~student(){;} but i still have an error message as - " return type specification for constructor invalid" can any one help me figure whats wrong ?? | |
so im working in an environment (National Instruments) that auto-generates header files for the GUI. in my GUI, i have 150-some odd LEDs arranged in a matrix to represent a large relay bank. my LEDs are named and sequenced numerically like [code]PANEL_LED_1 PANEL_LED_2 ... PANEL_LED_150 etc...[/code] which would allow me … | |
Hi, i'm having the same problem here... I have to send a xml file from a server and receive 16 bin files for answer.. I know how to send string and etc.. and tried to use sendfile() to send at least the xml file.. but it didn't work out... here's … | |
I am trying to create a page that has a form on it that will select a technician and then show his/her schedule in table for on the same page. The problem I am having is that when I click the select button it goes to a blank page. It … | |
Hello all, having a problem with an auto save function. [CODE]System.IO.File.WriteAllLines(Environment.GetFolderPath(Environment.SpecialFolder.Desktop), Form1.myList.ToArray());[/CODE] basically it keeps telling me i dont have permissions, i even tried running my software with admin rights. I do have a couple of questions, 1: I have not specified a text title, and System.IO.File.WriteAllLines does not let … | |
Hello, [code=php]function dwos($title,$body,$rpcurl,$username,$password,$categories=array(1)) { $categories = implode(",", $categories); function here. }[/code] My question is, how can I put value to categories ? [code]$category = "life, code, love"; // this not works ? dwos($title,$body,$rpcurl,$username,$password,$[B]categories=array(1)[/B])[/code] | |
I'm trying to get myself acquainted with memory allocation and deallocation while writing a program that will actually be usefull for me. The program is a simple datareader, that tries to read a matrix from file. The "main" program which works is 'int get_lex(char *in,char *delims,char ***returnvals)' This will essential … | |
Hi, what I'm trying to do is call my validate() method from inside another method but it won't compile and I'm not sure why.. I'm pretty new at this. Here is my validate(): [CODE]ListNode* validate(const Position<T>* pos) const throw(PositionInvalidException) { Position<T>* tmp = const_cast<Position<T>*>(pos); ListNode* tmp2 = dynamic_cast<ListNode*>(tmp); if (tmp2.head … | |
Hi, I am trying to use this method: [URL="http://www.cs.indiana.edu/cgi-pub/oleykin/website/OpenCVHelp/ref/OpenCVRef_CxCore.htm#decl_cvCheckArr"]cvCheckArr[/URL] As a parameter I pass an IplImage and it compiles, but when I tried to run got this error: "Unsupported format in function: cvCheckArr .cxmathfuncs.cpp " I checked the above file and found from the code that it tries to convert … | |
This problem is driving me nuts so if anyone can help resolve it i would really appreciate it. It is a unique situation in dealing with different user accounts. I have a win32 project in vs 2005 I create a thread that calls a dialogbox from resource when an event … |
The End.