199,114 Archived Topics
Remove Filter ![]() | |
Hi all,, I have created an front end which will display the list of items.....if the list of items exceeds , it elongates the page, but i want to limit it for the first page, if more number of items then it should be possible to display in the next … | |
Hi all, I have created the inbox......so now i am deleting the particular row......i want it to be removed from the inbox and moved to trash......can you guide me how to do. i know simple deleting operation.....help me | |
Hi all I'm trying to find any urls inside a paragraph of text pulled from a db and wrap an a tag around it. At the moment I have the following which isn't working. [CODE=PHP]$content = $row[2]; $urlStart = strstr($content, "http://"); $url_http = substr($urlStart, 0, strpos(array($urlStart), array(" ", "/r/n", "/r", … | |
Pl. help to call a servlet page which is in another directory from a jsp page. | |
heres my code: [code=java] import java.util.Scanner; import java.lang.Integer; public class hmwrk4 { public static void main(String [] args) {Scanner kbInput = new Scanner(System.in); System.out.print("number of the element to delete: "); int numEle = kbInput.nextInt(); Node n8 = new Node(new Integer(8), null); Node n7 = new Node(new Integer(7), n8); Node n6 … | |
how to write application that calculate squares and cube of the number from 0 to 10 and output in table. the program does not require any input from user? | |
Hello, I am wondering how do we initialize a vector (or even an array) of pointers when the objects that will eventually be pointed to don't exist yet? I've been searching the internet for a while, but most examples assume that the objects already exist. I hope this won't be … | |
Hi everybody, I have read that we can use php codes on coldfusion. But i want to know that we can use coldfusion codes on php? | |
Hi All, Through Shell I am opening winxip32.exe in my vb 6.0 application. I want the application to wait until the shelled process has completed and then proceed with execution of the next line of code. How should I go about it. Please help. Regards, Dinil | |
HI all, can some one tell me how to extract data from images and mime messages. Exact code not necessary but do guide me as how to go about it. Thanks in advance. Regards, sara | |
You are required to design a control system for a car park. You should produce your own design, ensuring that you have enough features to allow you to demonstrate that you can programme multiple tasks with inputs, outputs, decisions, communication and sequencing. The system features may feature space control, entry … | |
i started making a game using c++ and allegro, but i keep getting a error can some one please help me out this is the code [code] #include <iostream> #include <allegro.h> #include "PlayerClass.h" #include "Global.h" using namespace std; #define LEFT 4 #define RIGHT 6 #define UP 8 #define DOWN 2 … | |
range of datetime data type (show all records in between 2 dates. example: form 2008/10/01 to 2008./12/12). thanks | |
this really weird thing is happening when i try to find my mouse position of my window. If i put it to the top left of the window it is fine but as it goes further down and across it goes weird. It is really hard to explain, but is … | |
What does this error message mean? Thank you for your help Heap corruption detected at 0072FB10 HEAP[algo.exe]: HEAP: Free Heap block 72fb08 modified at 72fb1c after it was freed Windows has triggered a breakpoint in algo.exe. This may be due to a corruption of the heap, and indicates a bug … | |
[I have an application where , i have a radiobuttonlist having 2 radio buttons radiobuttons RB1 & RB2 and there are 6 checkBoxes CB1 thru CB6 If RB1 is selected then CB6 shld be disable /invisible and if RB2 is selected then all the CBs shld be enabled. How do … | |
I want to add a list box onto a form, and have it (once the form loads), it'll list all of the files in [icode]C:\WINDOWS\[/icode]. Is there any easy way to accomplish this? | |
Hi guys, Basically what I want to do is run a series of commands in my batch file, and display stdout to screen as well as saving it in a file. So to set the context.. [code] ::To output to helloworld.txt Echo hello world! > helloworld.txt ::To output to console … | |
i got a string with [code] string(254) "5L2b5a6255yf6KiAOuimgeWWhOW+heWIq+S6uizopoHlloTlvoXlj5HnroDorq/nu5nkvaDnmoTo v5nkuKrkuros6KaB57uP5bi46K+35aW55ZCD6aWtLOW4uOivt+S7luWHuuWOu+eOqSzluLjkubDn pLzniannu5nlpbks5bCG5L2g6Lqr5LiK572q5oG255qE6YeR6ZKx5YWo6YOo57uZ5aW5LOS9m+el luS8muS/neS9keS9oCE=" [/code] how can i put it in 1 line and interpret it? | |
I am trying to understand why i am getting the following error: PHP Parse error: syntax error, unexpected T_VARIABLE, expecting T_FUNCTION in C:\Registration.class.php on line 43 [code] var $team1; var $team2; var $team3; var $team4; var $team5; var $team6; var $team7; var $team8; var $team9; var $team10; var $team11; var … | |
Hey, I'm trying to unpack certain files from a tar archive - I don't want to unpack all of the 1.2GB file, just a particular bunch of it. I tried an obvious command: tar xvf /u8/sp_archive/2005.tar *1274* All files I want to extract have "1274" in the name; I want … | |
Hello. I have c++ down pretty good. I am wondering If I should do windows programming first or directx first. And where should I go to get free or cheap, and good ebooks for windows programming and directx. I cant seem to find any good ebooks. Thank you. | |
Hi, I've been trying this for months now, and I still can't figure out how to get MFC installed as part of Visual C++ 2008. Is there any service pack you can download? How do you get MFC (Microsoft Foundation Classes) installed?!? Thanks. | |
I need to make my application look like it's doing a lot of work- it is a prank application I'm making as a joke for my friends. Any idea how to do this? | |
Hi all! Ive created this code to read in data from several tables but i have a problem with SUM. With this code im trying to add together all the null values that have the most recent date but all the SUM commandi have does is multiply the number by … | |
[url]http://s3.supload.com/free/lastscan-...3716.jpg/view/[/url] up there is description of code and here;'s code [CODE=c] #include<stdio.h> #include<string.h> float avg(float); main() { FILE *p[2]; int k,students=10,subjects=4,i,j,id_number,date_of_birth,fail=0; float marks[100],total=0,avg; char name[30],course_enrolled[30],filename[10]; for(i=1;i<=2;i++) { printf("filename"); scanf("%s",&filename); p[i]=fopen(filename,"w"); printf("Enter Name of Student\n",p[i]); fscanf(stdin,"%s",&name,p[i]); printf("Enter Course In Which Student Is Enrolled\n",p[i]); fscanf(stdin,"%s",&course_enrolled,p[i]); printf("Enter ID Number Of %s Enrolled in … | |
Hey people, I have quite a big code and want it to be repeated until the conditions are met. The problem is that every time I try to use Do...Loop statement, my program becomes "hung". Or even when I try to replace that statement with other methods, the program still … | |
Hi, I have to create *.xls (or *.csv) with multiple tabs. The program is in the loop and every time the loop runs it should create a new tab. Can any one help me with this. (I want to code it with out using PYExcelerator - I tried using that … | |
I am practicing my arrays, and I am trying to make a number/letter tic-tac-toe game. Here is my code: [CODE=c++]#include<iostream> using namespace std; char board[3][3]; char letterNum; void displayBoard(); void move(); void displayBoard() { for (int i = 0; i < 3; i++) { for (int j = 0; j … | |
I am trying to put the contents of a char buffer[512] into a word* (type def as data type short). How do I do this? I have tried memcpy but am either getting an exception or it will run but the word* is undefined value after the copy. Any advice … | |
I'm writing a gravity simulation in python and pygame, and had a quick question. Say I have an object that I can move. Lets call it "square". Then I created a line like so... [CODE] pygame.draw.line(screen, (0, 0, 0), (84, 368), (510, 368)) [/CODE] How would I tell python not … | |
the question is within this example: (using *'s) [code] #!/usr/bin/python # Filename: inherit.py class SchoolMember: '''Represents any school member.''' def __init__(self, name, age): self.name = name self.age = age print '(Initialized SchoolMember: %s)' % self.name def tell(self): '''Tell my details.''' print 'Name:"%s" Age:"%s"' % (self.name, self.age), class Teacher(SchoolMember): '''Represents a … | |
we are able to query successfully from a Column called "ParentUUD" (without space) using query in python for MS ACCESS DB. "SELECT Name FROM PartVersion WHERE ParentUUID='"+ str(lstUUID[0]) +"'" we have a column whose name is "Parent UUID" (with space) We are trying to query the column from PYTHON. we … | |
Is anyone who kan show me how I can send more than 2 parameters to another page? I having trouble with this. I have a search in a page.( navigation.php). Here is a dropdown. I want to send the dropdow parameter with the search word to a page called (search.php) … | |
I have a C++ dll that I am trying to call in another section of code (happens to be C#) currently I am getting the following error: [COLOR="Red"]Additional information: Unable to load DLL 'MATLABThreadLibrary.dll': The specified module could not be found. [/COLOR] even though I believe I've got all the … | |
I am wonder how do you make it that you have to letters = to one number with only typing it once? Here is my program. My problem is that the result printf("%d reversed is: %d\n",num , res); is 0 reversed is: (The number backwords). [ICODE]#include <iostream> #include <stdio.h> #include … | |
Last semester I took CSII and we built an unsorted list (C++). This summer I went thru the textbook and built an sorted list, and now I'm trying to template the sorted list, but i keep getting compiler errors like this... : undefined reference to `SortedType<float>::SortedType()' /tmp/cc0C4kB6.o(.text+0x448): In function `main': … | |
Pls Help me, i am nearing the deadline July 30 of this case study and the code is almost finshed it does sort the input elements the way my algo logic does however i am not able to display the correct number of passes to show the law of the … | |
Hi, I'm busy working on a word processor, and I could use a bit of help with 2 things. The Savefiledialog, and the Openfiledialog. In terms of the savefiledialog, I have all the code done, and it compiles properly: [CODE]public: void SaveFile() { SaveFileDialog^ saveFile1 = gcnew SaveFileDialog; saveFile1->DefaultExt = … | |
Hi everyone, I need help with this one problem. I'm using Visual C++ 2008, Windows Forms app, and I've created a test program where you can set up two system::strings, xvalue and yvalue. It then converts them to Ints (x and y). It then calculates x and y depending on … | |
Has anyone ever seen a function call just get skipped? I am running in debug mode and it wont let me set a break point on the call and when i step to it it goes right over to the next line, no exceptions, no errors. Has anyone EVER seen … | |
Is there any difference between those function declarations in C++? Since in C the first states "take any and as much arguments as you like", and the latter means take none... Thanks in Advance, Nick | |
I've built a class, one parent and multiple children, that I need to group together to eventually be stored in a single file. For the moment I've gone with something like this: [code=C++] CObject *group //CObject is the class in question group = (CObject*)calloc(1, sizeof(CObject)); //1 element just to start … | |
I am almost done with a project and now I would like to code an installer for it. I know there are many free solutions to make installer packages online, but I would enjoy learning how to make one from the ground up for the expirience if nothing else. What … | |
Hi Guys, I have a text file which looks like this 123456 Amanda Morris and I would like it to look like this "123456","Amanda","Morris" The file has about 2000 lines how would I go about inserting the quotes and the commas. I use textpad to open the textfile and I … | |
I want to learn PHP. is there any tutorial whch i can refer to start learning. please help me | |
Hi, I try to do a winform C# (2005) and update an item in Grid. The 1st column, I have a combobox so I want update all item in Grid when I change value in comboboxes. Could everyone give me an example? Thanks in adv | |
Hi, I have an average cost greater than price crystal report for 20 different stores. I want to create a master report that lists all of the results over the entire company. Hence, I want to use union all in a SQL command for this master crystal report. For example, … | |
I use data control to link access file by data properties not code. use simple code like move next etc. I use find next to find data. but when i want to find i write the criteria like Name = taher. But i want I write only taher in find … | |
Hello All, I am having a problem when returning a PChar from a function using Delphi 6. First of all, most of my functions pass type 'strings' around, but I am creating a DLL, to make sure it's universal, i can only pass type 'PChar' in and out of my … |
The End.