Delphi Pages Forums  

Go Back   Delphi Pages Forums > Search Forums

Lost Password?

Showing results 1 to 50 of 94
Search took 0.04 seconds.
Search: Posts Made By: osamaao
Forum: General 02-03-2002, 04:48 AM
Replies: 1
Views: 1,600
Posted By osamaao
RMI counterpart???

Hi friends,

I've read the RMI (Remote Method Invocation) in Java and it's really impressive.

is there any thing like RMI in Delphi (I mean third party packages).

thanks.

"You can't stuff...
Forum: General 02-03-2002, 04:33 AM
Replies: 1
Views: 759
Posted By osamaao
RE: problems connecting remote interbase database

it's brobable that your have written in the server address property a hostname that is not known by your pc.

1-make sure that your computer's IP address is in the same subnet of the server's one....
Forum: General 01-09-2002, 05:24 PM
Replies: 1
Views: 1,171
Posted By osamaao
RE: How can I send contents of TListView through socket?

Hi,

you need to do some packaging stuff before sending, and unpackaging on receving, to be more clear...

This example from the help shows how to use the built-in VCL component streaming support...
Forum: General 01-07-2002, 02:34 AM
Replies: 1
Views: 960
Posted By osamaao
RE: How can i record a sound in mp3?

Hi,
go to http://www.fmod.org and download the fmod API, help, and samples, fmod is a complete sound solution and you can do any thing you want, like mp3 stuff..

hope that helps.

"You can't...
Forum: General 01-07-2002, 02:25 AM
Replies: 2
Views: 1,073
Posted By osamaao
RE: Command prompt output?

I remember two ways to do that,

the first is to use pipes, which is not so easy, but if you like to know about it just tell me.

the other easier way is to direct the output of the application...
Forum: General 12-24-2001, 12:20 PM
Replies: 3
Views: 1,032
Posted By osamaao
RE: how to add items to ListBox ???

Hi,

the ListBox is a visual implementation of the TStringList Object, the a TStringList contains two lists, a list of strings which is the Items.Strings property, and a list of Objects references...
Forum: General 12-21-2001, 05:52 AM
Replies: 1
Views: 954
Posted By osamaao
Barcode for Delphi 6?

Hi all,

where can I find a Barcode component for Delphi 6...

thanks in advance.

"You can't stuff a great life into a small dream", anonymous
Forum: General 12-12-2001, 04:21 PM
Replies: 5
Views: 1,712
Posted By osamaao
RE: want a little translate job??? look here!!

Hi,
Do you want someone to tralslate to Arabic...
by the way, how many words to translate, hundreds, thousands?

"You can't stuff a great life into a small dream", anonymous
Forum: DB-Aware 12-12-2001, 02:31 PM
Replies: 7
Views: 5,996
Posted By osamaao
RE: EDBEngineError, Translate Error, Value out of bounds... HELP

no, I have method that returns Double, the vale is 179

Fields[index].AsFloat := SomeThimg.GetDoubleValue;

and I can do that by insert command.
very strange, I've tried to debug the dbTables...
Forum: DB-Aware 12-12-2001, 02:21 PM
Replies: 7
Views: 5,996
Posted By osamaao
RE: EDBEngineError, Translate Error, Value out of bounds... HELP

Correction,

value, is a function that returns Double.

"You can't stuff a great life into a small dream", anonymous
Forum: DB-Aware 12-12-2001, 02:10 PM
Replies: 7
Views: 5,996
Posted By osamaao
RE: EDBEngineError, Translate Error, Value out of bounds... HELP

Hi,

the value is correct,
MyTable.Fields[Index].AsFloat := Value;

and by debugging, value equals (179) when the error occurs...
note: value is of type Double.

thanks in advance.
Forum: DB-Aware 12-12-2001, 01:44 PM
Replies: 7
Views: 5,996
Posted By osamaao
EDBEngineError, Translate Error, Value out of bounds... HELP

Hi all,

I'm writing a database program with Oracle Personal 7 database, sometimes when when I execute this code:

MyTable.Fields.AsFloat := Value;
or
MyTable.Fields[index].AsString :=...
Forum: General 11-30-2001, 12:38 PM
Replies: 3
Views: 937
Posted By osamaao
RE: Error with Delphi & SQL

Hi,

not sure if this will work, try to define the index field in the query, and make sure that the table also has an index.

hope that helps.
Forum: General 11-29-2001, 11:26 AM
Replies: 1
Views: 1,615
Posted By osamaao
RE: Oracle - Invalid ROWID. Can anyone help me?

Hi,

I remember that I have the same thing before, I can't remember for now what was exactly the error, I will check it again. but for now try this:

Before calling Query.Execute, make a call to...
Forum: General 11-26-2001, 11:15 AM
Replies: 1
Views: 1,031
Posted By osamaao
TBtrieveTable, can it be posted...?

Hi,

I'm working on a component to interface to Btrieve database (or Pervasive), and it's almost finished.( thanks for MrBaseball and others for helping...)

now the question is, can I post it on...
Forum: General 11-24-2001, 06:05 PM
Replies: 3
Views: 1,746
Posted By osamaao
RE: How can I read CPU serial number in Delphi 5.0? Thank you...

Hi,

this code is posted on the forum somewhere, try it:

type
TCPUID = array[1..4] of Longint;

function IsCPUID_Available : Boolean; register;
asm
PUSHFD {direct access to flags no...
Forum: General 11-24-2001, 05:58 PM
Replies: 2
Views: 1,106
Posted By osamaao
RE: error messages in delphi IDE

Hi,

You can tell Delphi IDE to stop pausing on Delphi exceptions by going to:

Tools -> Debuger Options... -> Language Exceptions ->

and uncheck the "Stop on Delphi Exceptions" check box.
...
Forum: General 11-21-2001, 04:43 PM
Replies: 2
Views: 1,008
Posted By osamaao
RE: Direct X

Hi,

DirectX is just a set of functions enclosed in DLLs. if you have the header translation of these functions, then you can call them directly.

there is always an up todate translation of...
Forum: General 11-21-2001, 04:19 PM
Replies: 1
Views: 854
Posted By osamaao
RE: SQL (Paradox) problem

Hi,

SELECT A.ProID, (SUM(A.Quantity) - SUM(B.Quantity)) from
InvoiceIn A, InvoiceOut B
Having
A.ProdID = B.ProdID

I wish this is correct, give it a try...
Forum: DB-Aware 11-20-2001, 05:05 PM
Replies: 1
Views: 2,365
Posted By osamaao
RE: QRBand & QRDBText

Hi,

Look in ...\Delphi6\Demos\QuickRpt\Qr2 you will find a demo about Quick report that contains a master-detail report.

hope that help.
Forum: General 11-20-2001, 04:57 PM
Replies: 2
Views: 1,023
Posted By osamaao
RE: Creating components on the fly?

Hi,

About creating components at runtime, I think there is a lot stuff on the forum, anyway here is an example:

procedure btnCreateMemoClick(Sender: TObject);
var
theMemo: TMemo;
begin
...
Forum: General 11-19-2001, 03:33 PM
Replies: 3
Views: 938
Posted By osamaao
RE: At runtime made components

Hi,

'B at Work' gives a correct answer, yet here is another one:

procedure SetLabelCaption(theLabel: TLabel; theCaption: string);
begin
theLabel.Caption := theCaption;
end;

and in the...
Forum: General 11-16-2001, 12:45 PM
Replies: 3
Views: 891
Posted By osamaao
RE: Length of a string ......

hi,

function GetNumbers(str: string): string;
var
i: Integer;
begin
Result :='';
for i := 1 to Length(str) do
if str[i] in [0..9] then
Result := Result + str[i];
Forum: General 11-16-2001, 12:36 PM
Replies: 3
Views: 720
Posted By osamaao
RE: BDE Question

Hi,

you can create you database alias at run time by using the TDATABASE componenet, you can set the database name in the params property of the database component, try using the help, it's very...
Forum: General 11-11-2001, 02:07 PM
Replies: 1
Views: 797
Posted By osamaao
RE: file i/o errors

Hi,

you can do that by exception handling:

try
---
open your file here and do you io stuff
---
except
on EInOutError do
Forum: General 11-06-2001, 02:15 PM
Replies: 2
Views: 897
Posted By osamaao
RE: A cry for a litlle help !!!

Hi,
One of the differences between D6 and D5 is that in D5 you don't need to declare the Variants unit in the uses clause, you can use the variants functions and data types without ti, but in D6 you...
Forum: General 10-14-2001, 03:31 PM
Replies: 4
Views: 2,007
Posted By osamaao
RE: Data-Aware controls in Delphi, how to clear the text?

Hi,
thanks for your answer, but I'm afraid it's not correct.
That's because the Text property of the DBLookUpComboBox is a Read Only property, please refere to Delphi help for more information.
Forum: General 10-12-2001, 04:31 AM
Replies: 4
Views: 2,007
Posted By osamaao
Data-Aware controls in Delphi, how to clear the text?

Hi friends,

I'm writing a multi page database program, When I start the program, the dbLookUpComboBox is empty, then I choose a value from the list and go to another page, the problem is that I...
Forum: General 09-09-2001, 12:07 AM
Replies: 1
Views: 963
Posted By osamaao
Urgent, BDE + Oracle Personal 8

Hi friends,

I'm using Delphi with Oracle Personal 8 on a Windows 98 machine, but I always get the error: Error loading IDAPI.DLL while trying to open the BDE alias (in the SQL Explorer), when...
Forum: General 08-23-2001, 07:06 AM
Replies: 1
Views: 758
Posted By osamaao
RE: TList Help

Hi friend,

first prepare a function that make the comparsion like this:

function MyListCompare(P1, P2: Pointer): Integer;
begin
if TMyRecors(P1).Name < TMyRecors(P2).Name then
Result =...
Forum: General 08-23-2001, 06:22 AM
Replies: 2
Views: 825
Posted By osamaao
RE: QuickReport Visiblity

Hi friend,

I'm not sure if I understand your question, but I'll try.

first your QuickReport must not be on the main form.
you must put it on a new form ( with no buttons or other controls ),...
Forum: General 08-21-2001, 06:34 AM
Replies: 1
Views: 807
Posted By osamaao
RE: What is the best book

Hi, I would like to recommend reading the book 'Mastering Delphi 5' from the author Marco Cantu, or wait until he published the new one 'Mastering Delphi 6'.
I have 'Mastering Delphi 4' and it's...
Forum: General 08-21-2001, 06:24 AM
Replies: 3
Views: 1,004
Posted By osamaao
RE: RE: Event on the fly?

Hi,

All what our friends has saied is correct, in addition, if you want to reach the Button's properties you can use this:

procedure My_Button_Handler(Sender: TObject);
begin
...
...
...
Forum: General 08-13-2001, 04:21 PM
Replies: 3
Views: 1,014
Posted By osamaao
RE: Country settings

Hi,
That is possible, there are Global variables in Delphi like the system date format and date separator... etc.
you can write for example:

DateSeparator := '/';
ShortDateFormat :=...
Forum: General 08-07-2001, 03:41 PM
Replies: 1
Views: 753
Posted By osamaao
RE: Installing a service written in Delphi...

Hi, you must be able to install your service under windows2000 using FileName.exe /INSTALL if you're having some problems with this, may be your service is not compatible with Windows2K.

best luck.
Forum: General 07-25-2001, 03:52 PM
Replies: 2
Views: 1,011
Posted By osamaao
RE: setting up a tpc/ip server

Hi,

Theoretically this is possible, you can put your server program on a server on the Internet, but the clients don't have your client software, they can access your web-site via there web...
Forum: General 07-25-2001, 03:35 PM
Replies: 2
Views: 1,422
Posted By osamaao
D6 Magic word?

Hi friends,

Any one knows the magic word of the Delphi 6 About Box?
Forum: General 07-22-2001, 05:49 PM
Replies: 2
Views: 986
Posted By osamaao
RE: RE: App Event based on Database trigger, can I do it?

hi,
thanks for your answer. I'm using Oracle8 for NT.
Forum: General 07-22-2001, 04:50 PM
Replies: 2
Views: 986
Posted By osamaao
App Event based on Database trigger, can I do it?

Hi all,

can I write an application event that is based on a database trigger?

in other words, I want my program to make some changes when another user (in a client/server database) change a...
Forum: General 07-20-2001, 04:54 PM
Replies: 1
Views: 888
Posted By osamaao
RE: JBuilder Question...

Hi,
Java language give you a .class file and not a .exe file.
the .class file is machine independent and the Java Virtual Machine(JVM) (which is supposed to be on every machine) can execute this...
Forum: General 07-19-2001, 06:16 PM
Replies: 4
Views: 1,273
Posted By osamaao
RE: RE: WinSocketStream Error, please help.

Hi,
what is that ExtraForW98, how to calculate it.
the stream size of the WinSocketStream is not known, the size property is not correct.
Forum: General 07-19-2001, 05:24 PM
Replies: 4
Views: 1,273
Posted By osamaao
WinSocketStream Error, please help.

Hi friends,
I've written a server application in D5, it's based on TServerSocket, and I'm using it in the multithread mode(Bloking mode), the server reads the data from the WinSocketStream, I read...
Forum: General 07-15-2001, 02:47 PM
Replies: 1
Views: 905
Posted By osamaao
RE: Filter using SQL?

Hi, hope this will work:

Select Count(Cash_Amount) CashAmountCount,
Count(Credit_Amount) CreditAmountCount
having
(Cash_Amount > 0) and (not Cash_Amount IsNull)
and
(Credit_Amount >...
Forum: DB-Aware 07-13-2001, 01:17 PM
Replies: 1
Views: 2,772
Posted By osamaao
RE: Help Please : TDBLookupListbox Question ?

Hi, you should assign to the keyField and the listField the Field name and not the Field value, the correct source is:

lookuplistbox.listsource := SourceName;
lookuplistbox.listfield := 'field...
Forum: General 07-12-2001, 01:54 PM
Replies: 5
Views: 2,016
Posted By osamaao
RE: RE: RE: RE: I need to insert and edit data using grid.

Hi again,
you really can update a view based on more than one table?
is this a specific feature of MSSQL?
In Oracle database you cann't do that, I've tried it on Oracle and it didn't work and when...
Forum: General 07-11-2001, 01:43 PM
Replies: 5
Views: 2,016
Posted By osamaao
RE: RE: I need to insert and edit data using grid.

Hi,
First of all you can't update a multi-table VIEW, this is in the Database layer, so you can't solve this problem, but I think you can replace the view with an UpdateSql component which you can...
Forum: General 07-10-2001, 01:55 PM
Replies: 4
Views: 1,063
Posted By osamaao
RE: Comboboxes

Hi, you can get what you want by setting the DropDownCount property of the ComboBox to the value you want like 10 for example...


wish this well help.
Forum: General 07-10-2001, 01:47 PM
Replies: 3
Views: 1,067
Posted By osamaao
RE: How can i read from a port address and write to a port address?

Hi, this is a very good way to deal with Ports in Delphi:

Function InPort(Port: Word):Byte;register;
begin
asm
MOV DX,Port
In AL,DX
MOV result,AL
...
Forum: General 06-29-2001, 03:31 AM
Replies: 3
Views: 3,478
Posted By osamaao
RE: RE: RE: Expression on QRExpr

Hi, that's right, I miss your point.
I've tried it my self and the results:

if your Table is on a nother form then the QrExpr will not see it,
but if you put your table in a DataModule, then all...
Forum: General 06-29-2001, 02:55 AM
Replies: 3
Views: 3,478
Posted By osamaao
RE: Expression on QRExpr

Hi, I think that you must assing the expression at runtime, after you've created the data set.

hope this is correct.
Showing results 1 to 50 of 94

 
Forum Jump

All times are GMT. The time now is 10:39 AM.


Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2019, vBulletin Solutions, Inc.