199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for leelapadmaja

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 …

Member Avatar for Micheus
0
161
Member Avatar for winpoorni

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

Member Avatar for Micheus
0
393
Member Avatar for sweety_H

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 …

Member Avatar for sweety_H
0
144
Member Avatar for Ali Tamim

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

Member Avatar for Comatose
0
505
Member Avatar for Beards247

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 …

Member Avatar for Beards247
0
198
Member Avatar for faizalw

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

Member Avatar for Lerner
0
111
Member Avatar for lostpenan

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 …

0
137
Member Avatar for Wreef

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 …

Member Avatar for Wreef
0
734
Member Avatar for Ignacio

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

Member Avatar for Ignacio
0
131
Member Avatar for mrsteve

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 …

Member Avatar for jwenting
0
263
Member Avatar for star22

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 …

Member Avatar for Dave Sinkula
0
214
Member Avatar for ryy705

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?

Member Avatar for hooknc
0
218
Member Avatar for 00mike00uk

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 …

Member Avatar for Dave Sinkula
0
229
Member Avatar for comp_sci11

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 …

Member Avatar for Grunt
0
445
Member Avatar for mkgupta

I need to use .htaccess file but i have no idea about it so tell me some tips

Member Avatar for Puckdropper
0
110
Member Avatar for Wreef

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?

Member Avatar for Wreef
0
146
Member Avatar for dmf1978

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

Member Avatar for dmf1978
0
1K
Member Avatar for TurboFreak

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 …

Member Avatar for TurboFreak
0
160
Member Avatar for FC Jamison

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 …

Member Avatar for FC Jamison
0
218
Member Avatar for Eddy Dean

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 …

Member Avatar for Eddy Dean
0
1K
Member Avatar for degamer106

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

Member Avatar for degamer106
0
262
Member Avatar for pfr

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 …

Member Avatar for server_crash
0
167
Member Avatar for Ripiz

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

Member Avatar for ~s.o.s~
0
223
Member Avatar for pfr

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 …

Member Avatar for pfr
0
153
Member Avatar for Mwakudua Andrew
Member Avatar for dilip.mathews

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

Member Avatar for dilip.mathews
0
190
Member Avatar for whitetigereyes

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 …

Member Avatar for KevinADC
0
245
Member Avatar for Phoenix777

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

Member Avatar for az195
0
151
Member Avatar for Happycow

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 …

Member Avatar for Bench
0
117
Member Avatar for mrsteve

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 …

Member Avatar for mrsteve
0
225
Member Avatar for proteusx

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 …

Member Avatar for proteusx
0
443
Member Avatar for shinny

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 …

Member Avatar for hooknc
0
190
Member Avatar for Tim Kelly

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 …

Member Avatar for Tim Kelly
0
228
Member Avatar for ashneet

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 …

Member Avatar for Puckdropper
0
185
Member Avatar for sujagr8

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

Member Avatar for netburst
0
110
Member Avatar for dilip.mathews

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 …

Member Avatar for Laiq Ahmed
0
159
Member Avatar for nikhiljoshi92

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 …

Member Avatar for masijade
0
163
Member Avatar for shantuli

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

Member Avatar for Pymes
0
390
Member Avatar for degamer106

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 …

Member Avatar for degamer106
0
166
Member Avatar for shabina

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!

Member Avatar for shabina
0
116
Member Avatar for MikeTiger

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,

Member Avatar for steveh
0
103
Member Avatar for SHWOO

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

Member Avatar for SHWOO
0
225
Member Avatar for MikeTiger

[COLOR=#000000]After were installed apache server and php I can not browse web pages with extension php ... why so? [/COLOR]

Member Avatar for aarya
0
180
Member Avatar for greddybears

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 …

Member Avatar for aarya
0
195
Member Avatar for anupamjamatia

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

Member Avatar for dwks
0
216
Member Avatar for sgriffiths

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 …

Member Avatar for dwks
0
142
Member Avatar for comp_sci11

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

Member Avatar for dwks
0
280
Member Avatar for dev.cplusplus

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

Member Avatar for Laiq Ahmed
0
459
Member Avatar for vssp

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 …

Member Avatar for vssp
0
499
Member Avatar for nsan

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

Member Avatar for dotnet_guru
0
215

The End.