Delphi Pages Forums  

Go Back   Delphi Pages Forums > Search Forums

Lost Password?

Showing results 1 to 50 of 163
Search took 0.07 seconds.
Search: Posts Made By: HarryCL2
Forum: General 12-07-2010, 03:53 PM
Replies: 7
Views: 2,489
Posted By HarryCL2
Wow!!! On that note I will bow out. ...

Wow!!!

On that note I will bow out.

Harry
Forum: General 12-07-2010, 03:49 PM
Replies: 8
[SOLVED] Clear memo
Views: 2,952
Posted By HarryCL2
As Norrit suggests, you should clear the memo in...

As Norrit suggests, you should clear the memo in the OnCreate for FNotes and NOT in the OnCreate of FMain

However, having said that, if the Memo is already on the FNotes at Design time, it will...
Forum: General 12-06-2010, 08:06 PM
Replies: 7
Views: 2,489
Posted By HarryCL2
Well, not to put too fine a point on it, but your...

Well, not to put too fine a point on it, but your original statement was that DBNavigator went out with Delphi1. Not quite so, I regularly use D5 and a **lot** of versions after that and the...
Forum: General 12-06-2010, 03:01 PM
Replies: 11
Views: 9,649
Posted By HarryCL2
Thanks, just cut back on the sarcasm and we can...

Thanks, just cut back on the sarcasm and we can all be friends here.



The first line in the Memo is line zero but the line-count will show 20 lines total. You test line-19 as it is the 20th...
Forum: General 12-06-2010, 12:57 AM
Replies: 5
Views: 13,179
Posted By HarryCL2
Why not write a simple function that takes the...

Why not write a simple function that takes the array name and the StrTemp and iterates through?

Personally I would store the Const array as a StringArray and use IndexOf

Maybe I don't...
Forum: General 12-06-2010, 12:53 AM
Replies: 13
Views: 5,671
Posted By HarryCL2
I have no idea and no inclination to check it...

I have no idea and no inclination to check it out. **ALL** software can be cracked. It doesn't matter about the encryption methods as ultimately it comes down to a single "if-then" statement. It is...
Forum: General 12-05-2010, 07:58 PM
Replies: 13
Views: 5,671
Posted By HarryCL2
Don't sell yourself short, the coding is actually...

Don't sell yourself short, the coding is actually quite simple. If you have written an app that you feel is professional enough to ask money for, then you probably have the skills to code a defense...
Forum: General 12-05-2010, 05:37 PM
Replies: 3
Views: 1,506
Posted By HarryCL2
Actually the CSV approach is quite simple, it...

Actually the CSV approach is quite simple, it just sounds a little difficult.

You could also use FTP if not using TWebBrowser. There are only a few ways you can get web content to the PC. For FTP...
Forum: General 12-05-2010, 05:23 PM
Replies: 13
Views: 5,671
Posted By HarryCL2
Have the decryption method as String function...

Have the decryption method as String function then write a rough and dirty (RnD) encryption routine you can copy and paste from. It will have 3 TEdits and a button to encrypt.

Run the RnD and in...
Forum: General 12-05-2010, 03:34 PM
Replies: 13
Views: 5,671
Posted By HarryCL2
Any static method, including some of the...

Any static method, including some of the TurboPower routines will always be vulnerable.

I have had some of my very expensive software cracked and put on warez sites and there is nothing you can do...
Forum: General 12-05-2010, 03:12 PM
Replies: 7
Views: 2,489
Posted By HarryCL2
I still use the DBNavigator so do not take one...

I still use the DBNavigator so do not take one person's opinion as law. By adding or removing buttons the Navigator can still be a very quick, easy and functional way of getting through a database...
Forum: General 12-05-2010, 03:03 PM
Replies: 3
Views: 1,506
Posted By HarryCL2
Not a simple chore. You will first need to...

Not a simple chore.

You will first need to gather the data from the TWebBrowser page Fields into an array or database.

You will then need to use DDE to pass the data to Excel.

A better way,...
Forum: General 12-05-2010, 02:58 PM
Replies: 6
Views: 3,266
Posted By HarryCL2
How will you know which one to delete? If...

How will you know which one to delete?

If you want to keep a specific one, you could first change the format as in, let's say you wanted "hello" excluded in the replace...


if...
Forum: General 12-04-2010, 02:54 PM
Replies: 13
Views: 5,671
Posted By HarryCL2
Two ways to do this. As Jeff suggested you can...

Two ways to do this. As Jeff suggested you can write your own as I also did. Use various things on the computer and installation to make up a key. Most CPUs these days (past 8 years) have a serial...
Forum: General 12-04-2010, 12:02 AM
Replies: 11
Views: 9,649
Posted By HarryCL2
Ahhh, good old sarcasm eh. I still say you...

Ahhh, good old sarcasm eh.

I still say you do not need to use manual position of the caret.


if memo1.Lines.Count = 0 then
begin
Memo1.Lines.Add(aStr);
end else
begin
Forum: General 12-03-2010, 08:45 PM
Replies: 11
Views: 9,649
Posted By HarryCL2
:) I beg to differ, but I do not understand what...

:) I beg to differ, but I do not understand what you are trying to do. Check the help system for

Memo1.Lines.Insert...
and
Memo1.Lines.Add...

I don't understand why you are manually moving...
Forum: General 12-03-2010, 04:07 PM
Replies: 6
Views: 3,266
Posted By HarryCL2
aStr:='this is a text "sample" in this box.'; ...

aStr:='this is a text "sample" in this box.';
if Pos('"',aStr) > 0 then
begin
while ((Pos('"',aStr)+1 <> '"') and
(Length(aStr) > Pos('"',aStr)) do
begin
...
Forum: General 12-03-2010, 03:59 PM
Replies: 11
Views: 9,649
Posted By HarryCL2
Memo1.Lines[0]:="New text in here." ...

Memo1.Lines[0]:="New text in here."

Harry
Forum: General 12-01-2010, 02:56 PM
Replies: 7
Views: 1,827
Posted By HarryCL2
Perhaps you would be better off using a TMemo and...

Perhaps you would be better off using a TMemo and "FindFirst" etc.

Harry
Forum: General 11-30-2010, 03:10 PM
Replies: 7
Views: 2,178
Posted By HarryCL2
Jasser's approach is a simple an elegant way but...

Jasser's approach is a simple an elegant way but remember to use "Randomize" before the call, otherwise the list will be the same every time the application is first run.


var
i : Integer;...
Forum: General 11-30-2010, 03:03 PM
Replies: 2
[SOLVED] Hint problem
Views: 2,317
Posted By HarryCL2
That's a very common outcome. :) I often...

That's a very common outcome. :)

I often find that if I outline what I am trying to do in a posting to the group, about 70% of the time I suddenly see the solution before posting.

It's always...
Forum: General 11-30-2010, 02:57 PM
Replies: 2
Views: 1,369
Posted By HarryCL2
In the OnButtonClick" event to create a new tab...

In the OnButtonClick" event to create a new tab use something like this...


var
aNewTabSheet : TTabSheet;
aNewEdit : TEdit;
aNewButton : TButton;

begin
...
Forum: General 11-30-2010, 02:47 PM
Replies: 7
Views: 1,827
Posted By HarryCL2
Good programming practice would be to create a...

Good programming practice would be to create a database for the data. Then use...

Locate(Fld,Str,[loCaseInsensitive]);

Doing that you are freed from string shuffles and other memory intensive...
Forum: General 11-23-2010, 08:34 PM
Replies: 3
Views: 1,985
Posted By HarryCL2
In the DBGrid set the Options to "RowSelect" =...

In the DBGrid set the Options to "RowSelect" = True

Also check the Help for "SelectedField" property.

Harry
Forum: General 11-21-2010, 02:25 PM
Replies: 1
Views: 1,494
Posted By HarryCL2
I have not tried it but create a blank icon with...

I have not tried it but create a blank icon with Transparent background. Then install that as the Program, icon.

Harry
Forum: General 11-20-2010, 03:09 PM
Replies: 6
Views: 7,588
Posted By HarryCL2
Hi Visha, Depending on what your application...

Hi Visha,

Depending on what your application is trying to do, .NET is a possible option, or it will need to be developed in a Server-side format such as PHP, ASP etc.

You will need to start...
Forum: General 11-20-2010, 03:03 PM
Replies: 3
Views: 2,985
Posted By HarryCL2
Correct, you cannot Seek a text file. You...

Correct, you cannot Seek a text file.

You cannot seek to a file-content value, you can only seek to a FilePos, a byte count from the start of the file.

To do what you want, you need to use...
Forum: General 11-18-2010, 02:29 PM
Replies: 3
Views: 1,404
Posted By HarryCL2
Sorry to hear about the stolen laptops. I have a...

Sorry to hear about the stolen laptops. I have a security cable on mine, but I am sure as determined thief could get past that.

I have read a couple of reports online where a thief was identified...
Forum: General 11-16-2010, 03:09 PM
Replies: 2
Views: 2,167
Posted By HarryCL2
Hi, If I understand correctly, then a better...

Hi,

If I understand correctly, then a better way would be to interrogate who is making the request to access the Function and see if they have the right to change anything. Set the AccessType...
Forum: General 11-16-2010, 02:59 PM
Replies: 4
Views: 2,797
Posted By HarryCL2
That works on my Samsung laser and ejects the...

That works on my Samsung laser and ejects the page.

If I rem out

// Writeln(Impresora,#12);

it does not eject the page.

Not sure what to suggest beyond that. Can you try it on another...
Forum: General 11-13-2010, 05:27 PM
Replies: 4
Views: 2,797
Posted By HarryCL2
You will need to send a FormFeed or PageBreak...

You will need to send a FormFeed or PageBreak which is ASCII character 12

WriteLn(Prn,#12);

Harry
Forum: General 11-12-2010, 02:37 PM
Replies: 1
Views: 2,032
Posted By HarryCL2
Can you use FTP? There are many free FTP...

Can you use FTP? There are many free FTP components.

Harry
Forum: General 11-11-2010, 04:24 PM
Replies: 3
Views: 1,116
Posted By HarryCL2
Hi, You could store the links to a database...

Hi,

You could store the links to a database with active linking.

Group.db - would have the group name and current number of items for that group and a unique ID for each record.

Image.db -...
Forum: General 11-09-2010, 06:12 PM
Replies: 4
Views: 2,135
Posted By HarryCL2
Will this work? if PrintDialog1.Execute...

Will this work?


if PrintDialog1.Execute then
Form1.BringToFront;


Harry
Forum: General 11-09-2010, 06:09 PM
Replies: 9
Views: 4,956
Posted By HarryCL2
I suspect your text search is not working... ...

I suspect your text search is not working...

OoMisc.pas // Line # 19
function DelayTicks(Ticks: LongInt; Yield : Bool) : Longint;

Harry
Forum: General 11-07-2010, 02:43 PM
Replies: 1
Views: 1,575
Posted By HarryCL2
Define a global variable that is set in the...

Define a global variable that is set in the OnShow and OnClose events.

const
InUse : Boolean = False;

OnShow...
InUse:=True;

OnClose...
InUse:=False;
Forum: General 11-07-2010, 02:40 PM
Replies: 4
Views: 12,951
Posted By HarryCL2
Or... Edit1.text:=ParamStr[0]; Harry

Or...

Edit1.text:=ParamStr[0];

Harry
Forum: VCL 11-07-2010, 02:38 PM
Replies: 3
Views: 1,874
Posted By HarryCL2
There are a few HTML Parsers out there, but I am...

There are a few HTML Parsers out there, but I am not aware of a component specifically for editing.

You could try launching Kompozer from within your app with ShellExecute.

Harry
Forum: General 11-07-2010, 12:54 AM
Replies: 9
Views: 4,956
Posted By HarryCL2
Google Turbopower delayticks "About 102...

Google

Turbopower delayticks

"About 102 results<nobr> (0.17 seconds)

</nobr>

Harry
Forum: General 11-06-2010, 02:44 PM
Replies: 9
Views: 4,956
Posted By HarryCL2
Hi Christopher, Check out TurboPower...

Hi Christopher,

Check out TurboPower software on SourceForge. They have several things that could assist. First would be the Timer pool which has an almost unlimited number of independent timers....
Forum: VCL 11-06-2010, 02:37 PM
Replies: 8
Views: 3,290
Posted By HarryCL2
Hi Norrit, TurboPower software has a fax...

Hi Norrit,

TurboPower software has a fax component. Available from SourceForge. You need to load the driver on the PC your app is going to run on. Not a big deal with an installer. I have been...
Forum: General 11-05-2010, 12:19 AM
Replies: 12
Views: 3,885
Posted By HarryCL2
A few thoughts here. 1: Can you just...

A few thoughts here.

1:
Can you just window the displayed strings in the list. Meaning, have them in a text file and just scan along them loading say twenty at a time to view?

2:
Make the...
Forum: General 11-01-2010, 02:31 PM
Replies: 5
Views: 3,059
Posted By HarryCL2
I am not sure I fully understand what you are...

I am not sure I fully understand what you are trying to do.

If you use

SpeedButtonClick(SpdBtn1);

in the OnShow or OnActivate then that will force a Click.

You might want to bracket it...
Forum: General 11-01-2010, 12:04 AM
Replies: 5
Views: 3,059
Posted By HarryCL2
procedure SpeedButtonClick(Sender : TObject); ...

procedure SpeedButtonClick(Sender : TObject);
begin
if Sender = SpdBtn1 then... else
if Sender = SpdBtn2 then... else
if Sender = SpdBtn3 then...
end;

// To force a specific speedbutton...
Forum: General 10-30-2010, 03:38 PM
Replies: 3
Views: 2,052
Posted By HarryCL2
If I understand correctly, you could use a Screen...

If I understand correctly, you could use a Screen Capture and then print the bitmap.

http://www.swissdelphicenter.ch/torry/showcode.php?id=259

Harry
Forum: Apps 10-30-2010, 12:55 AM
Replies: 1
Views: 6,850
Posted By HarryCL2
Try Except End; Trap the exception. You...

Try
Except
End;

Trap the exception. You don't need to even check the exception, just stop it from locking up QR.

Forcing the application to stop is a very poor programming approach.

Harry
Forum: General 10-29-2010, 11:11 PM
Replies: 4
Views: 1,832
Posted By HarryCL2
You will need to ask the company that makes the...

You will need to ask the company that makes the products that have the bar codes on them. Code-39 is probably the most common in use at the moment and the Extended Code-39 includes Alpha characters....
Forum: General 10-28-2010, 10:02 PM
Replies: 2
Views: 2,944
Posted By HarryCL2
Check the Help system for FloatToDecimal...

Check the Help system for

FloatToDecimal procedure
Converts a floating-point value to a decimal representation.

FloatToStr function
Converts a floating point value to a string.
...
Forum: General 10-27-2010, 04:02 PM
Replies: 1
Views: 2,471
Posted By HarryCL2
Well, not a complete answer but off the top of my...

Well, not a complete answer but off the top of my head, I would have each bad ship as a record.


type
TBadShip = Record
Top : Integer;
Left : Integer;
Vulnerable : Boolean; //...
Forum: General 10-27-2010, 03:36 PM
Replies: 5
Views: 3,830
Posted By HarryCL2
If I correctly understand you problem, then check...

If I correctly understand you problem, then check the IBO Contributed Code page for "Interbase Easy Pump" I think that is what you are asking for.

Or, use Norrit's suggestion.

Harry
Showing results 1 to 50 of 163

 
Forum Jump

All times are GMT. The time now is 12:31 AM.


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