Delphi Pages Forums  

Go Back   Delphi Pages Forums > Search Forums

Lost Password?

Showing results 1 to 50 of 325
Search took 0.13 seconds.
Search: Posts Made By: phear
Forum: General 12-23-2003, 07:26 AM
Replies: 1
Views: 930
Posted By phear
stop advertizing

this is a forum, not a junk spaming list.

pHeAr
http://phear.fr.st
Forum: General 11-03-2003, 03:03 AM
Replies: 6
Views: 1,635
Posted By phear
RE: ADO and Oracle : number of decimals ???

YES !!! :-) Thank you so much it works great !!

pHeAr
http://phear.fr.st
Forum: General 11-03-2003, 02:05 AM
Replies: 6
Views: 1,635
Posted By phear
RE: ADO and Oracle : number of decimals ???

I get the same value for all your proposals :

Edit1.Text:=ADOQuery1.FieldByName('PRICE').AsString;
Edit1.Text:=ADOQuery1.FieldByName('PRICE').Variant;...
Forum: General 11-03-2003, 01:42 AM
Replies: 6
Views: 1,635
Posted By phear
RE: ADO and Oracle : number of decimals ???

Nope. Still doesn't work : the value in the edit box is still 4.03520 and the real value in the DB is 4.03515.

pHeAr
http://phear.fr.st
Forum: General 11-03-2003, 01:31 AM
Replies: 6
Views: 1,635
Posted By phear
ADO and Oracle : number of decimals ???

Hello all.
I am using ADO components to query an Oracle Database. Here is my code :

var
ADOQuery1 : TADOQuery;
begin
ADOConnection1.Open;
ADOQuery1 := TADOQuery.Create(Application);
...
Forum: General 09-30-2003, 04:33 AM
Replies: 4
Views: 846
Posted By phear
RE: i cant "Handle" this!

Hello.
If you are not creating any threads, your application is only using one main thread at a time. So did you try to think that the file-checking mecanism could be longer than a second ? What...
Forum: General 09-26-2003, 04:23 AM
Replies: 1
Views: 713
Posted By phear
RE: Excel

Hi.
There are two ways to do this.
The first way is to drop an OleContainer components on a form and you will get access to an excell sheet directly from your form.
The second way is to...
Forum: General 09-25-2003, 06:35 AM
Replies: 6
Views: 1,451
Posted By phear
RE: KeyDown question

Thanks but even when I set the KeyboardDelay to 0 I find there is still a slight delay
:-(
try it yourself and you'll see what I'm talking about.
I want the object to move as it does in real games...
Forum: General 09-25-2003, 06:09 AM
Replies: 2
Views: 895
Posted By phear
RE: Stringreplace flage

rfReplaceAll and rfIgnoreCase are the only available flags in the StringReplace function. To replace the last word or phrase, you'll have to find something else.


pHeAr
http://phear.fr.st
Forum: General 09-25-2003, 05:29 AM
Replies: 6
Views: 1,451
Posted By phear
RE: KeyDown question

No, application.processmessages doesn't do it, and the OnkeyPress event has the same problem... The real problem is that when you type a letter in an edit box for exemple and keep the key down ("a"...
Forum: General 09-25-2003, 04:49 AM
Replies: 6
Views: 1,451
Posted By phear
KeyDown question

Hi all.
I am making a game and I want the user to move an object around the screen so I use the KeyDown event a bit like this :

procedure TForm1.FormKeyDown(Sender: TObject; var Key: Word;
...
Forum: General 09-23-2003, 06:03 AM
Replies: 5
Views: 1,024
Posted By phear
RE: execute javascript in a webpage?

Well, not really, in fact this is called posting a form which is slightly different from a GET query.
I suggest you read a bit about the difference between both on the internet, then you can...
Forum: General 09-23-2003, 05:58 AM
Replies: 3
Views: 1,008
Posted By phear
RE: how to typecast tform to Tform1

Ok, to be clean, you will need to create a parent form with statusbar, let's call it TStatusForm, and then all of your forms will have to inherit from this form :

TForm1 = class(TStatusForm)...
Forum: General 09-23-2003, 05:37 AM
Replies: 5
Views: 1,024
Posted By phear
RE: execute javascript in a webpage?

Then you will need to analyse what is in the javascript function "connect" : is it a POST or a GET ?

pHeAr
http://phear.fr.st
Forum: General 09-23-2003, 05:35 AM
Replies: 3
Views: 1,008
Posted By phear
RE: how to typecast tform to Tform1

Hi.

TForm1(screen.activeform).statusbar1.simpletext := s;

Hope this helps.

pHeAr
http://phear.fr.st
Forum: General 09-23-2003, 05:22 AM
Replies: 5
Views: 1,024
Posted By phear
RE: execute javascript in a webpage?

hello.
so i suppose you want to do this in delphi, so where is your web page in your app ? in a TWebBrowser ?

pHeAr
http://phear.fr.st
Forum: General 09-09-2003, 01:12 AM
Replies: 1
Views: 2,958
Posted By phear
Exemple of a DCOM application

Hello all.
I am looking for a good client/server sample application using DCOM in Delphi 6. I want the COM object to be in an EXE file on the server.
Thanks for any help at all...


pHeAr...
Forum: General 09-08-2003, 07:21 AM
Replies: 0
Views: 1,117
Posted By phear
Interface not supported error in DCOM

Hi all.
Here is my problem (using Delphi 6 under W2K).
I have created a server application (exe) with a new COM Object : File->New->ActiveX->COM Object. I've launched this exe once to register the...
Forum: General 08-01-2003, 04:24 AM
Replies: 7
Views: 1,131
Posted By phear
RE: Remote execution

There are many ways to do this under windows. If you have IIS or PWS installed, you can host a web site and make an ASP page that will execute anything on it. You just consider the remote machine as...
Forum: General 08-01-2003, 02:46 AM
Replies: 7
Views: 1,131
Posted By phear
RE: Remote execution

it depends what OS is on the remote machine.

pHeAr
http://phear.fr.st
Forum: General 07-09-2003, 03:35 AM
Replies: 2
Views: 1,182
Posted By phear
RE: TListView plus additional information

Hi.
This is possible if you add objects to the items in the list view. For exemple, let's make an object with this structure :

TMyObject = class(TObject)
ID : integer;
Description :...
Forum: General 06-23-2003, 02:03 AM
Replies: 7
Views: 1,551
Posted By phear
RE: Showing Form FadeIn

Hi.
You have an AlphaBlend property on a TForm. Set this property to true and change the AlphaBlendValue (values from 0 to 255) to set the transparency of the form. Here's how I do it :

// fade...
Forum: General 06-07-2003, 06:21 AM
Replies: 2
Views: 798
Posted By phear
RE: Free SecureFTP components

Tanks a lot.

pHeAr
http://phear.fr.st
Forum: General 06-06-2003, 07:41 AM
Replies: 2
Views: 798
Posted By phear
Free SecureFTP components

Hello all.
I am looking for a FREE SecurFTP client component for Delphi. Any delphi source code on how to connect to SecureFTP server is welcome.

Thanks for any help.

pHeAr
http://phear.fr.st
Forum: General 04-28-2003, 12:23 AM
Replies: 2
Views: 857
Posted By phear
burn a cd with delphi

Hi all.
How can I burn a CD from my application ?
Note : I already tried VFCDWriter component but doesn't work -> only works with old aspi layer. Also, it's not for XP but for W2K.

Thanks in...
Forum: General 04-23-2003, 05:05 AM
Replies: 8
Views: 2,134
Posted By phear
RE: Get IP (different)

Hi.
I don't know what is the code that gets your IP address but if your computer is not connected to the internet and you are not connected to a local LAN, your IP address is 127.0.0.1

Hope this...
Forum: General 04-09-2003, 07:43 AM
Replies: 4
Views: 1,051
Posted By phear
RE: Using winsockets for sending notes

Hi.
1. When you say "i put the client and server socket on the form i have compilation errors." do you mean you put a TClientSocket and a TServerSocket on a form at design time ?
2. What does the...
Forum: General 04-08-2003, 04:47 AM
Replies: 8
Views: 1,262
Posted By phear
RE: How to distribute app which uses ADO.

are you sure your problem comes from the fact that mdac is not installed on that machine ?? try installing mdac on that machine and see if the error is the same...

pHeAr
http://phear.fr.st
Forum: General 04-07-2003, 11:55 PM
Replies: 8
Views: 1,262
Posted By phear
RE: How to distribute app which uses ADO.

note that mdac is already installed on win2k and winxp. if you want to deploy it with your app then you must get a newer version of install shield with the mdac option (the one with delphi 6) or use...
Forum: General 04-04-2003, 03:26 AM
Replies: 8
Views: 1,262
Posted By phear
RE: How to distribute app which uses ADO.

You can get mdac executable install from microsoft's site, note that mdac is already installed on most microsoft machines because it's delivered with ms office and many others microsoft products....
Forum: General 04-04-2003, 12:56 AM
Replies: 8
Views: 1,262
Posted By phear
RE: How to distribute app which uses ADO.

Hi.
You must include MDAC with your app.

pHeAr
http://phear.fr.st
Forum: General 04-03-2003, 06:40 AM
Replies: 3
Views: 840
Posted By phear
RE: What does the error mean while handle Access database?

Hi.
I don't know what your code looks like but try before updating the current record, scroll forward and then back one record. For inserting, I personally use a query command for this.

pHeAr...
Forum: General 04-03-2003, 03:24 AM
Replies: 5
Views: 1,413
Posted By phear
RE: How to set DataSource in ADO while program running ?

var
Provider, Datasource, User_ID, Password : string;
begin
Provider := 'Provider=MSDORA.1;';
DataSource := 'DataSource=MyDatabse;'
// (...)
ADOConnection.ConnectionString := Provider...
Forum: General 04-03-2003, 01:40 AM
Replies: 5
Views: 1,413
Posted By phear
RE: How to set DataSource in ADO while program running ?

I don't understand your question.
Yes you can set the connection string of an ADO connection like this :
ADOConnection.ConnectionString := 'xxx';

Is this what you want to do ?

pHeAr...
Forum: General 04-03-2003, 01:27 AM
Replies: 5
Views: 1,413
Posted By phear
RE: How to set DataSource in ADO while program running ?

Hi.
If your connectionstring is too long, you can cut it in many pieces of 255 chars like this :
connectionstring := string1 + string2 + string3...

pHeAr
http://phear.fr.st
Forum: General 04-03-2003, 01:24 AM
Replies: 1
Views: 806
Posted By phear
RE: How to judge the version of ADO installed?

Hi.
This won't be necessary. Most old versions of ADO (from 2.1 and on) can access Access 2000 database. This really depends on the driver you are using (Jet or something else).
Anyways, if you...
Forum: General 04-03-2003, 01:20 AM
Replies: 1
Views: 862
Posted By phear
RE: How to distribute program driven with ADO?

Hi.
All you really need is to deploy MDAC : Microsoft Data Access Components (on microsoft's site). Note that MDAC is already installed on most computers because it is also automaticly installed...
Forum: General 03-28-2003, 12:16 AM
Replies: 1
Views: 897
Posted By phear
RE: Scrolling

Hi.
Try this :

StringGrid1.LeftCol := 30;

Hope this helps.

pHeAr
http://phear.fr.st
Forum: General 03-26-2003, 07:34 AM
Replies: 1
Views: 1,037
Posted By phear
free GIF component for Delphi 6

Hi.
I'm looking for a free component for D6 that can produce Gif files (from TBitmap or whatever).

Thanks in advance.

pHeAr
http://phear.fr.st
Forum: General 03-12-2003, 08:36 AM
Replies: 2
Views: 1,446
Posted By phear
TChart with no parent window

Hi all.
I use a TChart in an ActiveX made with delphi cause I want to produce a nice graph. So I do this in my code :

(...)
ChartFundValues := TChart.Create(nil);
(...)

Once I'm done with...
Forum: DB-Aware 03-10-2003, 05:53 AM
Replies: 13
Views: 2,606
Posted By phear
RE: Found the solution

1 - I don't have an event handler on the OnLogin event.
2 - the LoginPrompt property is set to true.
3 - at run-time, when i set the connetced property to true the login dialog does not show up, i...
Forum: DB-Aware 03-10-2003, 05:15 AM
Replies: 13
Views: 2,606
Posted By phear
RE: Found the solution

No. Why should I ? What should I put in the OnLogin event ?

pHeAr
http://phear.fr.st
Forum: DB-Aware 03-10-2003, 04:49 AM
Replies: 13
Views: 2,606
Posted By phear
Found the solution

I've just found the solution, though it's not simple and I don't find this very clean :

ADOConnection.Properties['Prompt'].Value := 1;
ADOConnection.Connected := true;

Note that the prompt...
Forum: DB-Aware 03-10-2003, 04:42 AM
Replies: 13
Views: 2,606
Posted By phear
RE: Oracle DB + ADOConnection + Login Prompt

this doesn't work at run-time. please try and tell me if it's the same on your side ?? or is it only on my version that this problem occurs...

pHeAr
http://phear.fr.st
Forum: DB-Aware 03-10-2003, 04:25 AM
Replies: 13
Views: 2,606
Posted By phear
RE: Oracle DB + ADOConnection + Login Prompt

me too. at design time, the login dialog prompt show up. but in run-time i get an error. please try and tell me if you too...

pHeAr
http://phear.fr.st
Forum: DB-Aware 03-10-2003, 02:42 AM
Replies: 13
Views: 2,606
Posted By phear
RE: Oracle DB + ADOConnection + Login Prompt

yes.

pHeAr
http://phear.fr.st
Forum: DB-Aware 03-10-2003, 01:18 AM
Replies: 13
Views: 2,606
Posted By phear
RE: Oracle DB + ADOConnection + Login Prompt

It doesn't work, when I open the connection I get an ORA-01017 error. Here is the connection string I use :

Provider=MSDAORA.1;User ID=admin;Data Source=adis.world;Persist Security Info=False

I...
Forum: DB-Aware 03-10-2003, 12:34 AM
Replies: 13
Views: 2,606
Posted By phear
Oracle DB + ADOConnection + Login Prompt

Hi.
Why can't I get the login prompt to show up when I open a TADOConnection connected to an Oracle database ?


pHeAr
http://phear.fr.st
Forum: General 03-07-2003, 06:53 AM
Replies: 4
Views: 735
Posted By phear
RE: Reading Files Off A Website

Hi.
This could be done with the TNMHTTP component delivered with Delphi.

send the read request this way :
NMHTTP1.Get('http://www.website.com/textfile.txt');

On the OnPacketRevd event of the...
Forum: DB-Aware 03-05-2003, 04:28 AM
Replies: 20
Views: 3,056
Posted By phear
RE: Show search string only (DB)

Yes, this works (as well as '*') but if you run the query from within Access with '%' it doesn't work, try it
:)

pHeAr
http://phear.fr.st
Showing results 1 to 50 of 325

 
Forum Jump

All times are GMT. The time now is 05:40 AM.


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