Delphi Pages Forums  

Go Back   Delphi Pages Forums > Search Forums

Lost Password?

Showing results 1 to 50 of 500
Search took 0.06 seconds.
Search: Posts Made By: mshkolnik
Forum: General 04-24-2009, 11:06 AM
Replies: 1
Views: 730
Posted By mshkolnik
RE: quickreport

Quick Report is standard component. Just call the Free method to destroy

With best regards, Mike Shkolnik
http://www.scalabium.com
Forum: General 04-23-2009, 03:51 PM
Replies: 4
Views: 1,019
Posted By mshkolnik
RE: SynEdit Question...

Yes, you may customize the default colors/fonts only but not keywords (depends from language)

With best regards, Mike Shkolnik
http://www.scalabium.com
Forum: General 04-23-2009, 09:42 AM
Replies: 4
Views: 1,019
Posted By mshkolnik
RE: SynEdit Question...

Each highlight have the own implementation/rules for text highlighting. For example, code for Delphi and html will be drawn by different rules. But properties in Object Inspector are same.
The...
Forum: General 04-23-2009, 09:40 AM
Replies: 2
Views: 930
Posted By mshkolnik
RE: crosstabs/statistical routines

In past we used the DecisionCube and ole-automation for MS Excel (there are pivot tables)

Now we use the PivotCube in our projects

With best regards, Mike Shkolnik
http://www.scalabium.com
Forum: General 04-23-2009, 09:39 AM
Replies: 9
Views: 936
Posted By mshkolnik
RE: Help With Online Chatting program?

Just spli this sample project on two parts - TServerSocket in server side and TClientSocket in client side

With best regards, Mike Shkolnik
http://www.scalabium.com
Forum: General 04-22-2009, 09:28 PM
Replies: 9
Views: 1,305
Posted By mshkolnik
RE: Delphi 64

You may use the FreePascal - there is 64 compiler

With best regards, Mike Shkolnik
http://www.scalabium.com
Forum: General 04-22-2009, 09:27 PM
Replies: 9
Views: 936
Posted By mshkolnik
RE: Help With Online Chatting program?

I sent the sample to you privately by email

PS: this project have both server and client part in same project

With best regards, Mike Shkolnik
http://www.scalabium.com
Forum: General 04-22-2009, 05:07 PM
Replies: 6
Views: 1,655
Posted By mshkolnik
RE: Bring my app to the top

Do you call the Excel from main form? If not, call the BringToFront for your form instead main form.

As alternative, try to call the
Application.BringToFront;

With best regards, Mike Shkolnik...
Forum: VCL 04-22-2009, 04:34 PM
Replies: 1
Views: 3,368
Posted By mshkolnik
RE: Proxy with IdFTP1 or IDHTTP1 VCL

Check the ProxyParams property for TIDHTTP and ProxySettings for TIDFTP

With best regards, Mike Shkolnik
http://www.scalabium.com
Forum: General 04-22-2009, 04:18 PM
Replies: 9
Views: 936
Posted By mshkolnik
RE: Help With Online Chatting program?

I already answered on same question a week ago:

Check the sample project in {Delphi}\DEMOS\Internet\Chat directory

If you have no such directory, post your email address and somebody will send...
Forum: General 04-22-2009, 01:25 PM
Replies: 6
Views: 1,655
Posted By mshkolnik
RE: Bring my app to the top

yourMainForm.BringToFront;

With best regards, Mike Shkolnik
http://www.scalabium.com
Forum: General 04-22-2009, 10:19 AM
Replies: 6
Views: 1,655
Posted By mshkolnik
RE: Bring my app to the top

xls := CreateOLEObject('Excel.Application');
...
xls.Visible := True

With best regards, Mike Shkolnik
http://www.scalabium.com
Forum: General 04-22-2009, 09:44 AM
Replies: 7
Views: 912
Posted By mshkolnik
RE: Problem with debugging 1 unit

We have the large unit (4-5Mb, 100 000 lines, >200 classes and interfaces) with generated code from database

This unit I can't debug in Delphi 7 but have no any problem with debug in BDS 2007
...
Forum: General 04-22-2009, 09:40 AM
Replies: 7
Views: 912
Posted By mshkolnik
RE: Problem with debugging 1 unit

We have the large unit (4Mb, 100 000 lines, >200 classes and interfaces) with generated code from database.

This unit can't be debuuged in Delphi 7 but in D2007 I have no problems with debug.
...
Forum: General 04-22-2009, 08:17 AM
Replies: 7
Views: 912
Posted By mshkolnik
RE: Problem with debugging 1 unit

I had the same problem with large unit in Delphi 7.
You have two ways to solve a problem:
- split the unit on a few small parts
- move/upgrade to Delphi 2007

No other methods.

With best...
Forum: General 04-22-2009, 08:15 AM
Replies: 1
Views: 724
Posted By mshkolnik
RE: Like Strings in Delphi

var
i: Integer;
strInListBox: string;
begin
strInListBox := yourListBox.Items[yourListBox.ItemIndex];
IndexFound := -1;
for i := 0 to 11 do
if Pos(LangList[i], strInListBox) > 0...
Forum: General 04-21-2009, 10:45 PM
Replies: 1
Views: 587
Posted By mshkolnik
RE: Calculating with hex values delphi

i = $FA - $7D;

What is a problem with hex values?

With best regards, Mike Shkolnik
http://www.scalabium.com
Forum: General 04-20-2009, 07:07 PM
Replies: 3
Views: 1,192
Posted By mshkolnik
RE: onclick routine on tstringgrid clicks wrong item at bottom of scroll

Exclude the goThumbTracking flag in Options property for string grid

With best regards, Mike Shkolnik
http://www.scalabium.com
Forum: General 04-17-2009, 08:39 AM
Replies: 22
Views: 2,593
Posted By mshkolnik
RE: Access Violation

Are you sure that dmc variable is not nil? Check in debugger.

Also - what database do you use? In what server this statement (select current_date) is valid?

With best regards, Mike Shkolnik...
Forum: DB-Aware 04-16-2009, 09:03 PM
Replies: 8
Views: 1,947
Posted By mshkolnik
RE: show Like words in database in dbgrid

If your field in table (in database) is unicode, all will work without changes on client side.

With best regards, Mike Shkolnik
http://www.scalabium.com
Forum: DB-Aware 04-16-2009, 08:15 PM
Replies: 8
Views: 1,947
Posted By mshkolnik
RE: show Like words in database in dbgrid

Add the loPartialKey flag in Locate method:
if ADOTable1.Locate('name',edit3.Text ,[loPartialKey]) then begin
...

With best regards, Mike Shkolnik
http://www.scalabium.com
Forum: DB-Aware 04-16-2009, 08:14 PM
Replies: 17
Views: 2,125
Posted By mshkolnik
RE: The search results in the DBGrid2

Set the LoginPrompt property for your TADOConnection in False

With best regards, Mike Shkolnik
http://www.scalabium.com
Forum: General 04-16-2009, 06:33 PM
Replies: 5
Views: 876
Posted By mshkolnik
RE: reg. query

Show your SQL-statement with filter expression.

With best regards, Mike Shkolnik
http://www.scalabium.com
Forum: DB-Aware 04-16-2009, 06:33 PM
Replies: 17
Views: 2,125
Posted By mshkolnik
RE: The search results in the DBGrid2

Are you sure that Edit3.text contain the string which is stored in your records (name or tell fields)?

With best regards, Mike Shkolnik
http://www.scalabium.com
Forum: DB-Aware 04-16-2009, 06:02 PM
Replies: 17
Views: 2,125
Posted By mshkolnik
RE: The search results in the DBGrid2

Use the next code for OnClick event for your Button2:
ADOTable1.Filtered := False;
ADOTable1.Filter := Format('(Name = "%s") OR (Tell = "%s")',[Edit3.Text, Edit3.Text]);
ADOTable1.Filtered :=...
Forum: DB-Aware 04-16-2009, 09:21 AM
Replies: 2
Views: 1,925
Posted By mshkolnik
RE: DBGrid, OnCalcFields and ApplyUpdates

You do not need call the Post in OnCalcFields event. All what you need is to return the value for calculated field(s):
Dataset.FieldByName('yourFieldName').AsString := 'yourValue';

With best...
Forum: General 04-16-2009, 07:57 AM
Replies: 1
Views: 577
Posted By mshkolnik
RE: More Searched Word in database

The Locate() method will return the first occurence always. If you need search the next (second, third etc), you need iterate thru dataset and compare the values:

procedure...
Forum: General 04-16-2009, 07:52 AM
Replies: 2
Views: 703
Posted By mshkolnik
RE: Performance of ADO Components

Do you have the bad performance to execute the sql-statement (long time to execute) or to fetch the records from server to client?

If first (long time to execute sql), then create the indexes,...
Forum: General 04-16-2009, 07:48 AM
Replies: 1
Views: 662
Posted By mshkolnik
RE: insert picture in database for every record

I posted the sample code for BLOB fields and files:
http://www.scalabium.com/faq/dct0065.htm

With best regards, Mike Shkolnik
http://www.scalabium.com
Forum: General 04-16-2009, 07:47 AM
Replies: 1
Views: 664
Posted By mshkolnik
RE: print preview from database

Just create the report form (QucikReport or Rave Reports) and call the Preview method for these reports in your OnClick events for buttons

With best regards, Mike Shkolnik
http://www.scalabium.com
Forum: DB-Aware 04-14-2009, 10:52 AM
Replies: 2
Views: 1,645
Posted By mshkolnik
RE: Creating Tree view nodes using TdxDBGrid

In TdxBDGrid you can't display the hierarchy. There you may show the grouping but not hierarchy.

For your task you need use the TdxDBTreeList

With best regards, Mike Shkolnik...
Forum: General 04-09-2009, 03:11 PM
Replies: 2
Views: 607
Posted By mshkolnik
RE: How to relate two controls over a scollbar change?

Is any OnAfterScroll event in this group control?

With best regards, Mike Shkolnik
http://www.scalabium.com
Forum: General 04-09-2009, 01:29 PM
Replies: 3
Views: 1,017
Posted By mshkolnik
RE: Monitor files in a directory?

This information is available from driver only. From application you can't access this info.

Some time ago I wrote the Delphi tool (GUI) with similar task where I used the FileMon driver from...
Forum: General 04-08-2009, 11:18 PM
Replies: 1
Views: 3,923
Posted By mshkolnik
RE: Asynchronous socket error 10060 when send file with delphi

Do you use any proxy/firewall? This error mean that proxy disabled the connection to server

With best regards, Mike Shkolnik
http://www.scalabium.com
Forum: General 04-08-2009, 11:06 AM
Replies: 4
Views: 1,203
Posted By mshkolnik
RE: send message between 2 memo in client and server

Unfortunatelly in last time the questions in this forum are very basic:-(
Nobody want to learn the basics for language or read help or search in google... Anywone want to copy the code from answer,...
Forum: General 04-08-2009, 09:28 AM
Replies: 4
Views: 1,203
Posted By mshkolnik
RE: send message between 2 memo in client and server

Check the sample project in {Delphi}\Demos\Internet\netChat directory

With best regards, Mike Shkolnik
http://www.scalabium.com
Forum: General 04-07-2009, 04:19 PM
Replies: 5
Views: 1,876
Posted By mshkolnik
RE: size of RichEdit

You need use the EM_FORMATRANGE message for richedit:

var
fmtRange: TFormatRange;
...

FillChar(fmtRange, SizeOf(fmtRange), 0);
with fmtRange do
begin
hDC :=...
Forum: General 04-07-2009, 03:02 PM
Replies: 5
Views: 900
Posted By mshkolnik
RE: change memo language when get online content

Define the English as first language in options for Internet Explorer

With best regards, Mike Shkolnik
http://www.scalabium.com
Forum: General 04-07-2009, 03:00 PM
Replies: 5
Views: 1,876
Posted By mshkolnik
RE: size of RichEdit

Do you need the width/height in pixels? Or what size do you ask?

With best regards, Mike Shkolnik
http://www.scalabium.com
Forum: General 04-07-2009, 12:02 PM
Replies: 4
Views: 1,438
Posted By mshkolnik
RE: how to hook the event that active window changes ?

See the sample:
http://www.swissdelphicenter.com/en/showcode.php?id=1212

Just change the MsgFilterFunc function there to process the another messages (I included the list in prev.message)

With...
Forum: General 04-07-2009, 09:57 AM
Replies: 4
Views: 1,010
Posted By mshkolnik
RE: Filter is not working

For null value use:

ndsLoadFunctionSecurityCache.Filter := '(FunctionName IS NULL)';


With best regards, Mike Shkolnik
http://www.scalabium.com
Forum: General 04-07-2009, 09:55 AM
Replies: 4
Views: 1,289
Posted By mshkolnik
RE: TDataset filter

Always use the brackets:
TDataset.filter := '(Field1 = 5) and (Field2 = 10)'

With best regards, Mike Shkolnik
http://www.scalabium.com
Forum: General 04-07-2009, 08:50 AM
Replies: 4
Views: 1,438
Posted By mshkolnik
RE: how to hook the event that active window changes ?

You need register the hook library in Windows for WM_ACTIVATE, WM_SETFOCUS, WM_KILLFOCUS messages

With best regards, Mike Shkolnik
http://www.scalabium.com
Forum: General 04-07-2009, 08:47 AM
Replies: 3
Views: 1,296
Posted By mshkolnik
RE: reg. reso;ution

The form have the ScaleBy method which you may call to scale your form to adjust the current resolution.
As alternative you may apply the Scaled property in True - VCL will do it without your code...
Forum: General 04-07-2009, 08:34 AM
Replies: 2
Views: 713
Posted By mshkolnik
RE: Hmmm... No results.

Use the next code:

procedure TForm1.RefreshLangExecute(Sender: TObject);
var I : Integer;
begin
Listbox1.Clear;
With ADOTable2 do
begin
Open;
First;
Forum: General 04-06-2009, 11:38 AM
Replies: 8
Views: 1,741
Posted By mshkolnik
RE: How to upload a file in secondary folder on the server

Use the MakeDir method to create the directory

With best regards, Mike Shkolnik
http://www.scalabium.com
Forum: General 04-06-2009, 08:31 AM
Replies: 8
Views: 1,741
Posted By mshkolnik
RE: How to upload a file in secondary folder on the server

>the file will not be uploaded
Why? What error raised? Maybe directory is password-protected?

PS: are you sure that directory on server have the name in lowercase? If you have the Unix server...
Forum: General 04-05-2009, 09:56 PM
Replies: 8
Views: 1,741
Posted By mshkolnik
RE: How to upload a file in secondary folder on the server

Try this:

IdFTP1.ChangeDir('files');


With best regards, Mike Shkolnik
http://www.scalabium.com
Forum: General 04-05-2009, 07:00 PM
Replies: 8
Views: 1,741
Posted By mshkolnik
RE: How to upload a file in secondary folder on the server

Include the directory name in host:
IdFTP1.Host := 'xxx/files';


With best regards, Mike Shkolnik
http://www.scalabium.com
Forum: General 04-01-2009, 11:12 PM
Replies: 5
Views: 3,904
Posted By mshkolnik
RE: MD5 Digest to String

If you use the MD5 from FranGois PIETTE, check the GetMD5 and StrMD5 functions in this unit

With best regards, Mike Shkolnik
http://www.scalabium.com
Showing results 1 to 50 of 500

 
Forum Jump

All times are GMT. The time now is 11:42 AM.


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