199,114 Archived Topics
Remove Filter ![]() | |
Can we write a program for GREP SEARCH in particular file?? [B]procedure TForm1.DriveComboBox1Change(Sender: TObject); begin DirectoryListBox1.Drive := DriveComboBox1.Drive; FileListBox1.Drive := DriveComboBox1.Drive; FileListBox1.Directory := DirectoryListBox1.Directory; end; procedure TForm1.DirectoryListBox1DblClick(Sender: TObject); begin FileListBox1.Directory := DirectoryListBox1.Directory; end; [/B] I wrote a program for the selection of file like this. Now I want to search … ![]() | |
Dear all, im new to Delphi language.can u pls help me to do this one. i want to read a particular file and searching for a particular word in that file.. pls assist me to do this one in delphi language Thanx in advance.. Poornima.R ![]() | |
hi everyone, i need help to find a briliant idea for a software project for my graduation :sad: im looking for something in creatnig database by access, i have a good experince in C++ also in web design. i like to do something for childreen if it is possible ....plz … | |
hi I tried to read or write the printer port through VB6 under winXp It doesn`t work, although I used inpout32.dll I found that VB6 can`t deal with this dll Please can anyone help Thank you Ali Tamim | |
Very new to Javascript, so don't kill me - just need it to work... Want divs to be visible based on which radio button is selected. Code works exactly as needed in IE. FF and Opera both show the first div, but do not toggle. [code] <style type="text/css" media="all"> label … | |
hello; I want to make the user write one character, not more than one and save it to char. so how can I make the input limited to one char? If I work with number only, how can I lock the letters input, making the user to input only numbers? … | |
I would like to read a html file that has asian encoding (gb2312), then extract the specific strings and then copy them into a new html file. But when i try to read the html file, i get gibberish. Im using Python 2.4.3 and i know it supports gb2312 but … | |
Hello Everyone, This is my first post, I am very new to C++, infact only touched it once before today, so I need some help. I am trying to genorate a big number, This number isn't actualy possible to genorate (Googolplex) but I want to program to keep multiplying itself … | |
Hello, I recently deleted some columns from a table with the statement DROP and I saw that database size doesn't change, it remains exactly the same(very big by the way). So I suposse DROP only take away the logical references but the COLUMN is still physically there. The question is: … | |
I keep getting this error message whenever I try to compile a certain class or any classes that use this class: [code]C:\J21work>javac GiftShop.java C:\J21work\package\org\cadenhead\ecommerce\Storefront.java:25: cannot find symbo l symbol : method sort(java.util.LinkedList<java.lang.Object>) location: class java.util.Collections Collections.sort(catalog); ^ 1 error[/code] I held off as long as I could from posting a … | |
plz friends help me to solve this proplem by c++ language: [COLOR=#000000][CENTER][CENTER][B][U]Question (Check Protection and word interpretation) [/U][/B][/CENTER] [CENTER][B][U] [/U][/B][/CENTER][/CENTER] [B][U]Problem Concept [/U][/B] - Computers are frequently used in check-writing systems, such as pay-roll and accounts payable applications. Many strange stories circulate regarding weekly paychecks being printed (by mistake) for … | |
What is the best way to design gui? Is java's swing strong enough? Or should learn something like jaxx or JFace? What do you guys use? | |
Hello everyone, i just signed up to the site. Ive been trying to learn c++ now for about a week. But every tutorial i find on the web (i have found lots) i dont seem to understand. it all seems so hard, but i realy would like to learn. Do … | |
I'm currently working on a ATM program wherein a 3.5 floopy diskette would serves as the card of the user. this diskette has a program wherein it has a account number and a password. And when the user inserted a diskette, he will be instructed to input his password and … | |
I need to use .htaccess file but i have no idea about it so tell me some tips | |
I believe that my header files are out of data...And causing me errors. Can someone please upload the standard Visual C++ 2005 header files? | |
Hi First I want to say sorry for my bad english (I speak and write spanish) I am working in a program written by me in VB6, which load a image file (JPEG) and looks in every pixel of it to take the RGB component of each one of them, … | |
Okay, first I must say I am new to this but I am a quick study. I have a project that works as coded except for in one instance of validation. I am accepting numeric input from the user and anytime the input is not numeric or no entry is … | |
OK...here's the background: I want to use javascript to write a CSS dropdown menu. Since I want to be able to float the menu to either the left or the right depending on the site I am using it on, I need to grab the float value (either right or … | |
Hello everyone, I am trying to create a "proxy" for a program. I will try to explain how I am going to do that. The program I want to write a proxy for sends and receives data to/from a server. The IP and port the client connects to is somewhere … | |
One of the things I can't get working is reading and writing a structure to and from a file in binary. I'm sure that I'm using fread and fwrite correctly. However, I keep getting crashes which I cannot find ways to debug. [CODE]#include <stdio.h> #define MAX 1 typedef struct { … | |
Hi this is my first time posting here :) i was working on a text editor that can use 1.total number of words 2.number of unique words (not case-sensitive, ie 'Table' and 'table' are the same word) 3.the word with the highest occurrence 4.the list of unique punctuations used in … | |
md5.cpp [code] #include <cstdlib> #include <iostream> #include <string> #include <stdio.h> #include "md5.h" using namespace std; char* szString = "Some string you want to generate an MD5 key for."; int main(int argc, char *argv[]) { char* sString = MD5String(szString); cout << "Some string you want to generate an MD5 key for." … | |
Anyone know how to display the punctuations used in a text area , I used hash map. so here is my code of my hash map i was also thinking of using linear search and combine a if statement, if it is found display it. The jta.text(); is the name … | |
Hi All, Can we delete this pointer from a member function. I have written three programs to try this. The first two crashes at run time while the third doesn't. Can somebody explain me this????? 1) This crashes at run time. [CODE]#include <iostream> using namespace std; class Base { public: … | |
Hello! I am using the following PERL code to display the contents of a sub-directory on my server: [code] sub doit { opendir(DIRHANDLE,"/home/username/public_html/$DirName"); @filenames = ( sort readdir(DIRHANDLE) ); foreach $dirfile (@filenames) { print "<b><a href='/$DirName/$dirfile' target='new'>$dirfile</a></b><br><br>"; } }[/code] That code simply opens a directory and spits out the contents … | |
Hi I am new at using XML and XSL... and am breaking my head and the keyboard because of a simple problem... My XMl file is <?xml version="1.0" standalone="yes"?> <CardTransacts> <CardTransactions> <card_transaction_id>123</card_transaction_id> <description_of_charge>abc</description_of_charge> <process_date>2003-09-06T00:00:00.0000000+05:30</process_date> <bill_amount>111</bill_amount> <passenger_name>aa</passenger_name> </CardTransactions> ... ... </CardTransacts> My xsl file is <?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet version="1.0" xmlns:xsl="[URL="http://www.w3.org/1999/XSL/Transform"]http://www.w3.org/1999/XSL/Transform[/URL]"> … | |
I'm trying to understand the basics of how Object Oriented Programming works with C++. I'm not really trying to learn the language per-say (although I might be interested in learning it gradually). I brought two books on C++ and read through them once, and while some things seem to be … | |
Hello everyone, I am new to Java programming as well as to these most excellent forums and I have a problem with some sample code from a book that is teaching me Java. The code is supposed to demonstrate packages, access control, interfaces, and encapsulation. My problem is that when … | |
I'm in the middle of a project using a mysql database and spanning several languages. A problem has arisen that we need a piece of it to be in C, that reads in a query, replaces some placeholders (wrapped in '?' chars), and then runs said query. The problem here … | |
![]() | Hi there, I am trying to parse a CSV file, I have a program which will read in the contents of the file and display them to the console and i need to parse some of the fields, which I have no idea how to do [IMG]http://saloon.javaranch.com/ubb/frown.gif[/IMG] I am trying … |
Hi, I'm new at this and need some help. I'm writing a simple validation page, and have edited my web.config page to include the path to a system database that points to an access db. All is well except I have over 100 messages all saying: [Message 2 Could not … | |
well I am using this code to format my date and time: [php]$date = date("m/d/Y g:i:s A T"); echo $date;[/php] and it prints out: [code]08/10/2006 4:07:37 AM GMT[/code] The problem is that it is printing the time in GMT which is wrong as I want it to tell me the … | |
hi everybody, i need to link this html pages if i click submit button.It should fetch the textbox value to another html page <html> <head> </head> <body> <form method=post action="g1.html"> <input type=text id="q" > <input type="submit" name="submit"> </form> </body> </html> <html> <head> </head> <body> <form method=post> <input type=text id="q" value=""> … | |
Why cant we have a virtual constructor? All the materials give somewhat similar anwer to this question. "First the VPTR Pointer is initialised to it's proper VTABLE by the contructor which is automatically done by the compiler ,,,," or "You don’t ever want to be able to make a call … | |
import java.util.Scanner; /** Demonstrates the use of Scanner class @author Nikhil Joshi */ public class asciicode { public static void main(String[] args) { //create a scanner object Scanner console = new Scanner(System.in); /*get full name using nextLine nextLine gets the next line - up til user hits enter */ System.out.print("Enter … | |
can anyone pls fix up the problem Regvalidate.asp page coding : <% MyFirstName = Request.Form ("login1") MyLastName = Request.Form ("login2") MyUserName = Request.Form ("login") MyEmail = Request.Form ("email") MyPassword = Request.Form ("password1") MyGerder = Request.Form ("gender") MyDateofBirth = Request.Form ("login3") MyAge = Request.Form ("login4") MyCountryofResidence = Request.Form ("countryofresidence") MyMaritalstatus = … | |
Hi. I can't a small part of this program to work correctly; the square root function either returns a bunch of funny symbols OR it returns 0.00 On a side note, I have 2 questions: 1) If you have a structure nesting two other data structure types (like in my … | |
is there a way to open attachments displayed in a textbox, separated by a semi-colon..like an email attachment that's underlined where u just click on the link(underlined filename) and it opens that particular attachment. i would just like to see an example...thanks! | |
hello friends, could anyone help me by send a link where can i download visual C++ compiler for free on my email <email deleted by wolfpack> I will really appreciate that. Regards, | |
I am learning overloaded operators, I successfully overloaded the <<and >> operators as friend functions creating cout << object and cin >> object. For the next problem I am required to overload the istream operator two ways. I must invoke it as somephonenumber.operator<<( cout ); or as somePhoneNumber << cout; … | |
[COLOR=#000000]After were installed apache server and php I can not browse web pages with extension php ... why so? [/COLOR] | |
Hello, I am looking for a texas hold' em poker php script for my website. I would like it to work like [url]www.pokkerroom.com[/url] or another popular poker site. If anyone has any info about where I can find something like this please let me know. I am also like to … | |
[CODE]#include<stdio.h> #include<conio.h> #include<math.h> main() { float a,b,c,d,k,x,y; clrscr(); printf("Enetr the values of a,b,c=>"); scanf("%f %f %f",&a,&b,&c); d=((b*b)-(4*a*c)); k=sqrt(d); x= (-b+k)/(2*a); y= (-b-k)/(2*a); printf("The quadratic equation is x=%f and y=%f",x,y); getch(); } [/CODE] but after compiling the result is look like this .....why .... wnter the values of a,b,c=>6 5 4 … | |
Hello i have a a struct which contains the below 1 10 11 2 3 But i need this to be in numeric order, ie 1 2 3 10 11 below is my code [code] do { fprintf(fReport, "List Name = %d\n", LIST[t].name ); t++; } while( t != k … | |
[code] #include <stdio.h> int arrange(int[],int); main() { int array[10],num,i,flag; clrscr(); puts("Enter length of array"); scanf("%d",&num); puts("Enter the enties:"); for( i=0; i<=num-1; i++) { printf("\n(%d).......",i+1); scanf("%d",&array[i]); } do { flag=arrange(array,num); }while( flag==-1); printf("\nThe array in desending order is: "); for(i=0; i<=num-1; i++) printf("\n\t\t***** %3d *****",array[i]); getch(); } int arrange(int *block,int num) … | |
:mrgreen: Hi to all, I have a challange in my work, we have a project that uses a variable of type "CMapStringToPtr", this object is use to store some data, now we want to change the type to more efective type, the problem is that we need to know if … | |
Hi Friends I got very big issue I hope some one can solve my issue!! How to write the new line in existing pdf file ? I am using third party library file libphp_pdf.dll its working in linux machine only. I am try to configure windows machine i got the … | |
where can i find good articles about Delphi? what is wrong with this loop? procedure TForm1.Button1Click(Sender: TObject); var a: integer; begin for a:=1 to 5 do begin ShowMessage('Window: '+InToStr(a)); end; end; end. i receive this error [Error] Unit1.pas(31): Undeclared identifier: 'InToStr' any help is appreciated |
The End.