Delphi Pages Forums  

Go Back   Delphi Pages Forums > Search Forums

Lost Password?

Showing results 1 to 50 of 500
Search took 0.18 seconds.
Search: Posts Made By: GoodFun
Forum: General 10-25-2005, 07:40 AM
Replies: 7
Views: 2,327
Posted By GoodFun
RE: Multiplayer game programming...

Instead of using TCP try using UDP. Less overhead as you don't have to open a connection. The only drawback is that you don't have a guarantee that the package arrives.

On a LAN that isn't a...
Forum: General 12-05-2003, 11:39 AM
Replies: 1
Views: 955
Posted By GoodFun
RE: component " Action List"

with an action list you can define actions. They can have an icon, have a visible and enabled property and an OnExecute method.

In the OnExecute you put the code that you want to execute :) then...
Forum: General 12-05-2003, 06:41 AM
Replies: 2
Views: 657
Posted By GoodFun
RE: How to show a jpeg image?

include JPEG in your Uses clause of the unit where you have your TImage defined, then you can load the JPEG like any other picture.

Hope this helps,

Marcel

<cr>Please click on Accept if this...
Forum: General 12-05-2003, 06:39 AM
Replies: 3
Views: 2,143
Posted By GoodFun
RE: build with runtime packages... yes/no?

you can build a Delphi program without all the packages linked in with it. This makes the program a lot smaller BUT you have to have the runtime packages installed on the machines you want to run...
Forum: General 12-05-2003, 05:43 AM
Replies: 3
Views: 659
Posted By GoodFun
RE: Mysql

Both ADO and ZeosLib work well with MySQL.

for ADO to work you have to have a version of Delphi that includes ADO and you have to install the OLEDB driver for MySQL from the MySQL website. After...
Forum: General 11-24-2003, 08:35 AM
Replies: 3
Views: 835
Posted By GoodFun
RE: image spot

if you download Graphics32 from http://www.g32.org you can use multiple layers, your background would be the map, and then you have a transparent layer on top of it onto which you draw your point /...
Forum: .NET 11-17-2003, 09:48 PM
Replies: 6
Views: 2,090
Posted By GoodFun
RE: Delphi .NET

yeah I'm still dropping in from time to time... and I'm defenetly still using Delphi :) even though it seems to me that with Delphi8, they make the Professional version more like an expensive...
Forum: .NET 11-14-2003, 09:09 AM
Replies: 6
Views: 2,090
Posted By GoodFun
RE: Delphi .NET

Hi there,

there is a new version of Delphi comming out code named Octane. That's basically Delphi 8... This version will be fully .NET compatible but won't create Win32 executables anymore, so...
Forum: General 11-10-2003, 01:23 PM
Replies: 1
Views: 17,709
Posted By GoodFun
RE: Getting the date from a DateTimePicker....

you can use the FormatDateTime function to convert the date time to a string, something like this:
<cb><tt>
Label1.Caption := FormatDateTime('dddddd', DateTimePicker1.Date);
</tt></cb>
check the...
Forum: General 11-10-2003, 10:12 AM
Replies: 3
Views: 2,970
Posted By GoodFun
RE: Simplest way to compare two TMemorystream's

you would have to use a checksum component like for example MD5 or CRC32. Run both streams through it and compare the resulting checksums.

One component set that I'm using that has next to many...
Forum: General 11-10-2003, 08:46 AM
Replies: 4
Views: 1,372
Posted By GoodFun
RE: Do you know if a "Delphi Compiler" exists?

it might help if you give a bit more information on what you're trying to do.

One thing to look at is DelphiWebScript which allows you to parse and execute a subset of Delphi at runtime. Check it...
Forum: General 11-10-2003, 08:41 AM
Replies: 2
Views: 881
Posted By GoodFun
RE: mysql data

Hi there,

if things are all local you can use the following SQL command:
<cb><tt>
SELECT UserID
FROM Login
WHERE UserName = 'Frank'
AND Password = 'Secret'
</tt></cb>
That will give you...
Forum: General 11-06-2003, 01:24 PM
Replies: 1
Views: 652
Posted By GoodFun
RE: About TProgressBar and TTimer components ....

If you want the progress bar to go down during your timer delay, you would have to take a different approach.

For example say you want to wait 10 seconds and the progressbar should be updated...
Forum: General 11-06-2003, 12:49 PM
Replies: 2
Views: 888
Posted By GoodFun
RE: Edit boxes and List views...

heya,

to restrict the letters you can type in an edit box you have to write an OnKeyPress event handler for your edit box. This can be something as simple as this:
<cb><tt>
procedure...
Forum: General 11-06-2003, 10:42 AM
Replies: 1
Views: 770
Posted By GoodFun
RE: Moving 2 forms in the same time ...

check out this thread:

http://www.delphipages.com/threads/thread.cfm?ID=22663&G=22663

also search on this board for 'docking' which will give you additional links with helpful information
...
Forum: General 11-06-2003, 10:27 AM
Replies: 2
Views: 1,826
Posted By GoodFun
RE: delphix tutorial

here are a few links for you to check out:

http://www.delphi3d.net/
http://www.savagesoftware.com.au/DelphiGamer/indexf.php
http://www.sulaco.co.za/
http://www.cambrianlabs.com/mattias/...
Forum: General 11-06-2003, 10:22 AM
Replies: 2
Views: 759
Posted By GoodFun
RE: Graphics & Directx

if you're doing a game of cards, you might get away with doing things in 2D instead of 3D, in that case, you could look at Graphics32 library (http://www.g32.org)

it's pretty quick and can do...
Forum: General 10-27-2003, 01:31 PM
Replies: 3
Views: 2,808
Posted By GoodFun
RE: Fast drawing pixels on canvas

go to http://www.g32.org/graphics32/index.html and download the Graphics32 library. It has next to many other features a MUCH faster drawing algorithm. Saves you the trouble of working with the...
Forum: General 10-24-2003, 06:47 AM
Replies: 1
Views: 846
Posted By GoodFun
RE: Delphi convertion

if you want to go .NET then you should probably wait for the next version of Delphi which will have .NET support.

If you can't wait till then, you could look at the webservices components in...
Forum: DB-Aware 10-24-2003, 06:45 AM
Replies: 1
Views: 1,302
Posted By GoodFun
RE: native db access

Check out ZeosLib... all it needs is a dll for the correct database...
http://www.zeoslib.net/

then check out MySQL at www.mysql.com
You should be able to run MySQL as an embedded database.
...
Forum: General 10-13-2003, 08:00 AM
Replies: 3
Views: 1,362
Posted By GoodFun
RE: Form.Showmodal

you might want to rephrase that question...

My Guess would be that you asked if the program will wait until you close a modal form...

Well, while the modal form is open, all the functionality...
Forum: General 10-09-2003, 12:05 PM
Replies: 2
Views: 910
Posted By GoodFun
RE: Using a dual screen with projector?

you for sure need WindowsXP and a graphics card that supports dual screen setup.

Then you probably have to use DirectX where you can specify which screen the application should run on.

Hope...
Forum: General 10-09-2003, 12:03 PM
Replies: 2
Views: 1,656
Posted By GoodFun
RE: Whats wrong with this code? / Decryption

try to rewind the destination stream:
<cb><tt>
procedure TForm1.Button2Click(Sender: TObject);
var
Source : TFileStream;
Cipher: TDCP_Twofish;
Source1,Dest : TMemoryStream;
begin
...
Forum: General 10-08-2003, 09:49 AM
Replies: 5
Views: 1,492
Posted By GoodFun
RE: SQL statement is correct but my program hangs... pls help!

Try to rewrite your SQL step by step without the select in the FROM clause... most likely that is the problem...

start with the region, then add the Customers, and so on... that way you should see...
Forum: General 10-07-2003, 09:19 PM
Replies: 1
Views: 734
Posted By GoodFun
RE: screensaver not launching application on Windows XP

post some code on how you call the external program. Do you use fully qualified file names, i.e. with exact path?
Example: C:\MyFolder\MyApp.exe
instead of just MyApp.exe

Hope this helps,
...
Forum: General 10-07-2003, 09:16 PM
Replies: 3
Views: 752
Posted By GoodFun
RE: Functions

I think you need to be more specific...

give an example on what you're trying to do and which part you are uncertain about.

Hope this helps,

Marcel

<cr>Please click on Accept if this...
Forum: General 10-07-2003, 09:15 PM
Replies: 5
Views: 1,492
Posted By GoodFun
RE: SQL statement is correct but my program hangs... pls help!

Hi there...

you probably have to explain a bit what you're trying to achieve with this select... also you would have to explain the structures of the tables.

First thing to look at is if you...
Forum: General 09-17-2003, 06:37 AM
Replies: 5
Views: 1,517
Posted By GoodFun
RE: 3D animation

It all depends on wether you want a legit version and if so, how much you are willing to pay.

Good programs are 3D Studio Max, Maya, Lightwave, Rhino... though they are all quite pricy.

I'm...
Forum: General 09-03-2003, 12:33 PM
Replies: 2
Views: 857
Posted By GoodFun
RE: How can I bring picture to a form

I'm not really sure what you are asking... so here is my best guess:

put a TImage component from the Additional Component Bar onto your form... Double Click on it and select the file you want...
Forum: General 08-22-2003, 12:29 PM
Replies: 4
Views: 786
Posted By GoodFun
RE: Easy question....( Functions)

you probably have to post some code here so we can see what you're exactly doing... point out where it falls over...

Hope this helps,

Marcel

<cr>Please click on Accept if this helped...</cr>
Forum: General 08-22-2003, 10:20 AM
Replies: 3
Views: 790
Posted By GoodFun
RE: DirectX programming

heya

lots of DirectX and game related stuff for Delphi can be found at this link:

http://turbo.gamedev.net

including DelphiX, UnDelphiX and other engines...

some other links include:...
Forum: General 08-22-2003, 10:17 AM
Replies: 1
Views: 1,197
Posted By GoodFun
RE: Compile just one unit at a time

somehow the last post doesn't show up... I'll try again :)

----------------------------------------------------------
if you use Compile Project it should only compile the unit you made changes...
Forum: General 08-06-2003, 09:28 AM
Replies: 4
Views: 1,358
Posted By GoodFun
RE: Save Listview List

check out TElTreeLite at http://www.eldos.org

it's a ListView/TreeView replacement, next to many other cool features, it allows you to save your items and load them again.

Hope this helps,
...
Forum: VCL 08-06-2003, 07:36 AM
Replies: 1
Views: 2,566
Posted By GoodFun
RE: How to rebuild Delphi 7 VCL component

my suggestion would be to create a new component and derive it from TDBGrid, then make the change in that component. That way, if you install a new version of Delphi or if an update comes out, you...
Forum: General 08-06-2003, 05:15 AM
Replies: 2
Views: 943
Posted By GoodFun
RE: installing a component and losing the other, why?

maybe they have a class in it that is the same in both components??? Check for other classes that are in the component that might be in both, then rename it in one of the two

Hope this helps,
...
Forum: General 08-06-2003, 05:12 AM
Replies: 3
Views: 1,938
Posted By GoodFun
RE: Reading last line in a text file

try this:
<cb><tt>
var FileName: String;
var MyFile: TStringList;
var LastLine: String;

FileName := 'C:\MyTextFile.txt';

MyFile := TStringList.Create;
try
Forum: General 08-05-2003, 12:56 PM
Replies: 5
Views: 984
Posted By GoodFun
RE: Only the editor displays at start up of Delphi

Also get rid of the .dsk file of the project you're trying to open, in case you have delphi configured to open the last project, delete the dsk file of the project Delphi opens when starting up.
...
Forum: General 08-05-2003, 12:44 PM
Replies: 5
Views: 984
Posted By GoodFun
RE: Only the editor displays at start up of Delphi

try renaming your Delphi32.dsk file in the Bin directory to Delphi32.dsk.old and start Delphi again...

if that doesn't do it, rename it back.

Hope this helps,

Marcel

<cr>Please click on...
Forum: General 08-05-2003, 11:11 AM
Replies: 9
Views: 2,463
Posted By GoodFun
RE: Delete empty items in Listbox

hmmm, this would be correct...
<cb><tt>
for i := lboxUtMaster.Items.Count - 1 downto 0 do
begin
if (Trim(lboxUtMaster.Items[i]) = '') then
begin
lboxUtMaster.Items.Delete(i);
end;...
Forum: General 08-05-2003, 10:51 AM
Replies: 9
Views: 2,463
Posted By GoodFun
RE: Delete empty items in Listbox

of course the delete method is in the Items property... sorry for that... didn't test the code, rather made a small change as I thought that MrBaseBall didn't get your question completely right.
...
Forum: General 08-05-2003, 10:48 AM
Replies: 1
Views: 811
Posted By GoodFun
RE: computerization of a library system using delphi 6

to describe a whole project in this board is a bit of a problem... many things are involved in creating such a system and spending some time before hand outlining all the requirements will make...
Forum: General 08-05-2003, 09:47 AM
Replies: 9
Views: 2,463
Posted By GoodFun
RE: Delete empty items in Listbox

Slight correction, in case if has spaces in it...

I think with EMPTY ITEM he meant an empty line... i.e.
<cb><tt>
for i := ListBox1.Items.Count downto 0 do
begin
if (Trim(Listbox1.Items[i])...
Forum: General 08-05-2003, 09:46 AM
Replies: 9
Views: 2,463
Posted By GoodFun
RE: Delete empty items in Listbox

I think with EMPTY ITEM he meant an empty line... i.e.
<cb><tt>
for i := ListBox1.Items.Count downto 0 do
begin
if (Listbox1.Items[i] = '') then
begin
ListBox1.Delete(i);
end;...
Forum: General 08-04-2003, 01:30 PM
Replies: 1
Views: 688
Posted By GoodFun
RE: memory leak

go check out MemProof, it's free and does an awesome job

http://www.automatedqa.com/products/memproof.asp

build your project with full debug options set, stack frames selected in the compiler...
Forum: General 08-04-2003, 12:56 PM
Replies: 7
Views: 1,504
Posted By GoodFun
RE: Pass database access unit from one package to another package

yes, I usually have all the forms in the one application. The application has several stages, Development, QA, Production. I make my changes in the development stage, once I'm confident that the...
Forum: General 08-04-2003, 12:22 PM
Replies: 7
Views: 1,504
Posted By GoodFun
RE: Pass database access unit from one package to another package

I think you are doing things way too complicated and you are mixing up definition and instance... the package that you are loading would have to have a initialization code which would instantiate the...
Forum: General 08-04-2003, 11:55 AM
Replies: 7
Views: 1,504
Posted By GoodFun
RE: Pass database access unit from one package to another package

I am still not sure what you mean with 'package'

are you using some sort of plugin system??? Can you post your .dpr file here?

Hope this helps,

Marcel

<cr>Please click on Accept if this...
Forum: General 08-04-2003, 11:35 AM
Replies: 7
Views: 1,504
Posted By GoodFun
RE: Pass database access unit from one package to another package

what do you mean by package???

are you talking about a component package? please clarify


Hope this helps,

Marcel

<cr>Please click on Accept if this helped...</cr>
Forum: General 08-04-2003, 11:34 AM
Replies: 3
Views: 1,533
Posted By GoodFun
RE: How to pass database connection from one form to another form

I'm not sure why you would want to put the connection in a package...

in your main form create, you would open the database connection, and then every other form can access that connection...
Forum: General 08-04-2003, 11:08 AM
Replies: 3
Views: 1,533
Posted By GoodFun
RE: How to pass database connection from one form to another form

Make a unit that has the database connection, for example a Data Module, then put that unit into the implementation uses clause of all the forms that need to have DB access.

you can also store all...
Showing results 1 to 50 of 500

 
Forum Jump

All times are GMT. The time now is 05:58 PM.


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