Delphi Pages Forums  

Go Back   Delphi Pages Forums > Search Forums

Lost Password?

Showing results 1 to 45 of 45
Search took 0.02 seconds.
Search: Posts Made By: Wise Guy
Forum: General 06-20-2001, 12:43 PM
Replies: 1
Views: 983
Posted By Wise Guy
BDE - free?

Hey!

My question's not connected to programming. I need to know (surely) if BDE's free to be distributed with DB applications.

Thank you in advance!
Forum: General 02-16-2001, 01:49 PM
Replies: 1
Views: 1,185
Posted By Wise Guy
Convertion...

Hey. I need to convert an icon to a bitmap in my program. Can anyone help?
P.S. I don't need any SavePictureDialog or something. I need to be done "silently" with no ask to the user. I need it...
Forum: General 02-13-2001, 03:43 PM
Replies: 1
Views: 2,709
Posted By Wise Guy
RE: PCTERM or terminal emulator component

Hey!

Why don't you try Francois Piette Internet Component Suite. You can find a Terminal Emulation Component in it. The address is:

http://users.swing.be/francois.piette/indexuk.htm

Good...
Forum: General 02-13-2001, 02:35 PM
Replies: 3
Views: 2,387
Posted By Wise Guy
RE: Stopping user from closing program

Hey... The most easy way to stop your program from closing is the following one (at least I think so):

var ToClose : Boolean = False; //you can set it here if only it is a global variable

...
...
Forum: General 02-13-2001, 02:27 PM
Replies: 1
Views: 2,672
Posted By Wise Guy
RE: TreeView.LoadFromFile

Hey!

If you want a faster performance with your TreeView then I suggest you do the following:

1) Take everything from the textfile with LoadFromFile method (as you did)
2) Make one more...
Forum: General 02-13-2001, 02:17 PM
Replies: 2
Views: 1,482
Posted By Wise Guy
RE: Reading?

Hey!
Here's a method to extract an Icon from an executable (in this example only the FIRST icon in this file. If you want to extract all the icons change the value of I. If this value is -1, the...
Forum: General 02-13-2001, 02:10 PM
Replies: 1
Views: 1,522
Posted By Wise Guy
RE: Getting a file from another computer

Hey... to get the file from the other computer (especially over the internet) you must have a connection to this computer (for exmaple a direct connection using TCP). That means you must have a...
Forum: General 02-13-2001, 02:05 PM
Replies: 2
Views: 1,444
Posted By Wise Guy
RE: dots in FindFirst result?

Hey! Yes... there is a way to get rid of those dots. Here I suggest you a sample code:

var F : TSearchRec;
begin
FindFirst('*.*',$3F,F);
If F.Name[1] <> '.' then
// Do something...
Forum: General 02-11-2001, 02:46 PM
Replies: 2
Views: 1,961
Posted By Wise Guy
RE: Is there a way to send use 15 Bytes sting to send/receive tcpip?

Hey!

Now... assuming you're using the standart ClientSocket and ServerSocket that come with Delphi here's the code you need:

//Client part
procedure TForm1.CSWrite(Sender: TObject; Socket:...
Forum: General 02-11-2001, 02:37 PM
Replies: 4
Views: 2,871
Posted By Wise Guy
RE: API-code to close window

Hey... One way to close an application is by it's Caption Bar's string... the code looks something like this:

uses Windows, Messages;
procedure TForm1.Button1Click(Sender: TObject);
var
h:...
Forum: General 02-11-2001, 02:31 PM
Replies: 4
Views: 1,930
Posted By Wise Guy
RE: RE: Icons...

Hey man... I'm sorry but I think you've copied the code as it is in my application :))) And... it doesn't work. Now the situation is:
Icon1 is extracted from an ImageList (I have a global variable...
Forum: General 02-10-2001, 04:56 PM
Replies: 1
Views: 1,777
Posted By Wise Guy
RE: Deleting a file (direct disk access)

Hey... i'm not sure what you mean by this "direct disk access" but if you wanna delete a file (the code will show you how to do it without just adding it to the Recycle Bin but delete it) look @...
Forum: General 02-10-2001, 04:45 PM
Replies: 4
Views: 1,930
Posted By Wise Guy
Icons...

I want to find a way to check if 2 icons are the same. The first one I have in my ImageList and the second one is either extracted from an executable, or I get it from an OpenPictureDialog. So... if...
Forum: General 02-01-2001, 02:17 PM
Replies: 3
Views: 3,503
Posted By Wise Guy
RE: How can I put an Updown-Object into an NumEdit-Object??

Just connect both TEdit and the TUpDown using the TUpDown's ASSOCIATE property. Exmaple code below:

MyUpDown.Associate:=MyEdit;

And don't forget to increase the UpDown's maximum, using the...
Forum: General 02-01-2001, 01:40 PM
Replies: 2
Views: 1,548
Posted By Wise Guy
RE: how to replace a text from a TListView

Sorry... forgot... you got the text... now you need to replace it, right? Well instead of getting the text, e.g.

S:=MyListView.Items.Item[MyListView.ItemFocused.Index].SubItems.Strings[WHICHITEM];...
Forum: General 02-01-2001, 01:33 PM
Replies: 3
Views: 3,208
Posted By Wise Guy
RE: very easy question

I think that if you use the TPicture (which supports icons) instead of TIcon it will do the job... (Honeslty haven't tried it but think it's gonna work) and use the TPictures's SaveToFile method
Forum: General 02-01-2001, 01:29 PM
Replies: 2
Views: 1,548
Posted By Wise Guy
RE: how to replace a text from a TListView

To get what you need use the sample code below:

var S : String;
...
S:=MyListView.Items.Item[MyListView.ItemFocused.Index].SubItems.Strings[WHICHITEM];

//Where WHICHITEM is the number of the...
Forum: General 01-31-2001, 01:14 PM
Replies: 1
Views: 2,721
Posted By Wise Guy
RE: does anyone know where i can get ths component

Ok... get the F. Piette ICS. It is there along with other components for the Internet from (I think the address is):

http://www.rtfm.be/fpiette/indexuk.htm
Forum: General 01-31-2001, 01:09 PM
Replies: 3
Views: 4,781
Posted By Wise Guy
RE: RE: Correction (Almost SLEEPING here)

in the BlockWrite line use the following:

BlockWrite(F, HTTP.Body, 1);

Sorry...
Forum: General 01-31-2001, 01:05 PM
Replies: 3
Views: 4,781
Posted By Wise Guy
RE: How to save a downloaded file with NMHTTP?

It's simple. When you complete downloading the file it is stored in the HTTP.BODY property. So... after "understanding " that download is successful (see the code below) you need to save your work to...
Forum: General 01-30-2001, 01:24 PM
Replies: 2
Views: 2,039
Posted By Wise Guy
RE: pages with tabs

You want to create TABS? Well... the easiest way is to make it (only an example) in design time) by selecting 'File|New' and then select Tabbed Pages from the 'Forms' tab.
Forum: General 01-30-2001, 01:14 PM
Replies: 2
Views: 1,550
Posted By Wise Guy
RE: Please Help

OK... I made this code for you... now you want me to compile it for you? Don't you have a Delphi?
Forum: General 01-28-2001, 05:16 PM
Replies: 3
Views: 4,971
Posted By Wise Guy
RE: Grid index out of range error using Paradox tables

Ohh... Sorry for answering again.... but searching through BDE's errors I haven't found such an error message. For more information mail me at: javor@nbis.net
Forum: General 01-28-2001, 05:06 PM
Replies: 3
Views: 4,971
Posted By Wise Guy
RE: Grid index out of range error using Paradox tables

When you set/add some information in the table do you post it? To get sure everything is OK right after the post (assuming you're using a TTable component) use this little piece of code:

...
Forum: General 01-28-2001, 04:17 PM
Replies: 1
Views: 2,740
Posted By Wise Guy
RE: PLEASE HELP Image Downloader...

Hey!

Ok... Here's a sample application. I made a sample unit for you and it works and does just what you need. Here's the code:

unit Unit1;

interface

uses
Windows, Messages, SysUtils,...
Forum: General 01-28-2001, 03:44 PM
Replies: 1
Views: 1,777
Posted By Wise Guy
RE: How can I open the control panel folder in Windows Me

Hey!

I'm currently with Windows ME. Here's the original code for running an applet from Control Panel:

function RunControlPanelApplet(
sAppletFileName : string) : integer;
begin
Result :=...
Forum: General 01-27-2001, 03:23 PM
Replies: 2
Views: 4,937
Posted By Wise Guy
RE: Deleting the exefile...

Hey!

Actually you can't delete your running file in Delphi. One of the ways is to generate a .BAT file (good old batch file) which will delete your desired file. You can execute the batch file...
Forum: Tools 01-27-2001, 02:28 PM
Replies: 2
Views: 2,384
Posted By Wise Guy
RE: don't appear in toolbar!!!

Hey!

It can be done easily. Here's how your Form's OnShow event should look like:

procedure TMainForm.FormShow(Sender: TObject);
var Owner : HWnd;
begin
...
Forum: General 01-27-2001, 01:11 PM
Replies: 5
Views: 5,551
Posted By Wise Guy
RE: RE: RE: simple email question

Hey. I've tried making it with a TWebBrowser component and it really whos me the content of a HTML email but not the way Outlook Xpress do it. The attachment is really a web page and can be decoded...
Forum: General 01-26-2001, 02:17 PM
Replies: 6
Views: 4,857
Posted By Wise Guy
RE: RE: RE: Anybody can give me an example to send files over TCP/IP

Hey!

Assuming You're using a NONBLOCKING client/server type (otherwise you have no business with endBuf/ReceiveBuf), here is some code for receiving the sent buffer:

procedure...
Forum: General 01-26-2001, 01:14 PM
Replies: 6
Views: 4,857
Posted By Wise Guy
RE: Anybody can give me an example to send files over TCP/IP

The way to send a file over TCP socket is by using the SendBuf method. DON'T USE THE SENDTEXT, 'cos it truncates the #0 (empty chars in the string). So... read the file and send it with SendBuf....
Forum: General 01-26-2001, 01:08 PM
Replies: 5
Views: 5,551
Posted By Wise Guy
simple email question

what component is used in outlook xpress for message preview (one that can preview HMTL mails)? and how can i make it/find it?
Forum: General 01-22-2001, 11:23 AM
Replies: 1
Views: 2,851
Posted By Wise Guy
RE: Delphi source code

You want the moon?!
Forum: General 01-21-2001, 03:23 PM
Replies: 5
Views: 3,075
Posted By Wise Guy
RE: RE: How can I find that NOTEPAD is closed or not ?

As I wrote before I suggest a code that looks @ the TASKLIST... I don't know what's the problem if NOTEPAD is already opened - it'll show up in the tasklist so you can get your answer... If I made...
Forum: General 01-21-2001, 03:19 PM
Replies: 4
Views: 4,159
Posted By Wise Guy
RE: Fed up with errors...

Hey!

First I think you should check up if the path is correct (which I don't doubt).
Then check if this file is set to (for some reasons) to read-only.
Delphi has some bugs with it. I...
Forum: General 01-21-2001, 03:15 PM
Replies: 2
Views: 2,648
Posted By Wise Guy
RE: How can I load a GIF image

Hey!

I think all you need is to check the TPicture. It can manipulate either with standart file formats (bmp, icons, metafiles...), or with non-standart. After checking it out, look at the Canvas...
Forum: General 01-21-2001, 02:55 PM
Replies: 1
Views: 4,153
Posted By Wise Guy
RE: Delphi Component

Hey!

All i can suggest you is a piece of code (really confusing one) but I think that will do the job. Well... here it is... a long one but hope it will solve your problem. It is about creating a...
Forum: General 01-20-2001, 04:18 PM
Replies: 3
Views: 2,606
Posted By Wise Guy
RE: External program calls

Hey!

You can always execute an external program by one of sample code lines below:

uses shellapi;

Shellexecute(handle,'open','notepad.exe','',nil,sw_shownormal);

or
other
Forum: General 01-20-2001, 04:10 PM
Replies: 3
Views: 4,344
Posted By Wise Guy
RE: Attachments with TNMSMTP email component

Hey!

I think you should check both things done before you send the mail:
1) to check if you supplied a valid path\filename for the Attachments property
2)The Attachments property specifies a...
Forum: General 01-20-2001, 03:54 PM
Replies: 2
Views: 2,127
Posted By Wise Guy
RE: How do you remove the Mouse cursor

Hey!
I suggest you create yourself a cursor (otherwise the standart ones will be used). Here are some things you have to do to make this come real :)

First create a *.res file with your cursor...
Forum: General 01-20-2001, 03:39 PM
Replies: 2
Views: 3,003
Posted By Wise Guy
RE: Making a chat program with TRichEdit...

Hey!
As you know (hope so) when you copy a formatted string from the clipboard and paste it in another RichEdit the string will be formatted just like the source. I've never tried to send a...
Forum: General 01-20-2001, 02:55 PM
Replies: 5
Views: 3,075
Posted By Wise Guy
RE: How can I find that NOTEPAD is closed or not ?

Hey!
I suggest you can "capture" all the programs from the task list (notice that Notepad is not hidedn there) and see if Notepad is in it! Here is an example unit of how to capture the task list....
Forum: General 01-19-2001, 02:55 PM
Replies: 2
Views: 2,567
Posted By Wise Guy
RE: How to keep a form of the top of my application?

Hey!

The most common used method is by setting the FormStyle to 'fsStayonTop'. Of course there are other methods but this is the easiest one.
Good Luck!
Forum: General 01-19-2001, 02:54 PM
Replies: 1
Views: 4,340
Posted By Wise Guy
RE: How to make i highscore table in delphi?

Hey!

First of all you can use a DataBase. It's easy to SORT/SEARCH/POSITION records in it. For doing this you must create yourself a database and a table with DataBase Desktop (make it by...
Forum: General 01-19-2001, 02:38 PM
Replies: 1
Views: 3,489
Posted By Wise Guy
RE: TCP/IP client - servers components

Hey!

It is true that these components have their bugs (I haven't discovered any component that doesn't have any bug in any condition) :) but I think you can use the PowerSocket and GeneralServer...
Showing results 1 to 45 of 45

 
Forum Jump

All times are GMT. The time now is 06:54 AM.


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