Delphi Pages Forums  

Go Back   Delphi Pages Forums > Search Forums

Lost Password?

Showing results 1 to 50 of 500
Search took 0.04 seconds.
Search: Posts Made By: Norrit
Forum: General Yesterday, 10:42 AM
Replies: 2
Views: 146
Posted By Norrit
This has nothing to do with dbgrid, as for with...

This has nothing to do with dbgrid, as for with your db logic

Depending on your db you can create a trigger that updates all item id's accordingly

After the delete a simple refresh on the data...
Forum: Samples 05-16-2013, 11:56 AM
Replies: 5
Views: 766
Posted By Norrit
Again, I don't know the AsciiPrinter component ...

Again, I don't know the AsciiPrinter component
What is the output of a print?

As it reads as a simple text printer, what are your limitations with TPrinter?
Forum: Samples 05-16-2013, 10:13 AM
Replies: 5
Views: 766
Posted By Norrit
And what part doesn't help for you??? Some...

And what part doesn't help for you???

Some more background information would be very nice...
Or even better, some code or so to see what doesn't work for you...
Forum: Samples 05-15-2013, 02:12 PM
Replies: 5
Views: 766
Posted By Norrit
there's a printer in unit printers... I'm not...

there's a printer in unit printers...
I'm not familliar with what the TASCIIPrinter does (can do), but you can write something yourself very quickly using the Printer

Some basics on the printer...
Forum: General 05-15-2013, 09:54 AM
Replies: 7
Views: 1,610
Posted By Norrit
Unfortunately I have no time to dive into this...

Unfortunately I have no time to dive into this now, but here's a site (https://developers.google.com/youtube/js_api_reference?hl=nl) with a lot of java options...
Shouldn't be impossible to...
Forum: General 05-14-2013, 07:39 AM
Replies: 7
Views: 1,610
Posted By Norrit
No problem, just came back from the hollidays and...

No problem, just came back from the hollidays and was still in vacation mode ;-)

As for your question, if I understand correctly that's the watch command

With the same video as earlier, just...
Forum: General 05-13-2013, 07:37 AM
Replies: 7
Views: 1,610
Posted By Norrit
it was 1 day, and some of us have other things to...

it was 1 day, and some of us have other things to do then keep track of every change here.

But as for your question:
procedure TForm25.LoadHtml(HTMLStr: String);
var
aStream :...
Forum: DB-Aware 04-25-2013, 06:52 AM
Replies: 2
Views: 898
Posted By Norrit
something like: update customers set...

something like:

update
customers
set blocked = 1
where (select count(*) from sells where ven_cli_code=customers.cli_code and ven_data > (GetDate() - 60)) = 0


Ofcourse you should use...
Forum: VCL 04-24-2013, 01:45 PM
Replies: 3
Views: 1,114
Posted By Norrit
This is not a default TToolBar, so you'll have to...

This is not a default TToolBar, so you'll have to write it yourself.
Since you say you're new to this my advise would be to use the default TToolBar (or a TActionToolBar if you like) to get you...
Forum: General 04-23-2013, 09:45 AM
Replies: 2
Views: 1,682
Posted By Norrit
Inherit from TCustomPanel and publish all...

Inherit from TCustomPanel and publish all properties you need
You cannot hide public properties afterwards
Forum: General 04-19-2013, 01:50 PM
Replies: 2
Views: 810
Posted By Norrit
I don't do delphi anymore, but from what I...

I don't do delphi anymore, but from what I remember it's a Canvas.CopyRect to a new bitmap and then a Clipboard.Assign of that new bitmap...
Forum: DB-Aware 04-18-2013, 02:08 PM
Replies: 5
Views: 1,005
Posted By Norrit
What is your concrete question? Which part you...

What is your concrete question?
Which part you have difficulties with, because now it's like you want us to write an application based on a database model.

How are you approaching this, because...
Forum: General 04-10-2013, 11:14 AM
Replies: 1
Views: 1,101
Posted By Norrit
This doesn't even compile, so there's nothing to...

This doesn't even compile, so there's nothing to inspect
Forum: General 03-29-2013, 11:26 AM
Replies: 9
Views: 1,320
Posted By Norrit
Glad that it's solved, but OldTurtle already gave...

Glad that it's solved, but OldTurtle already gave that solution...
So credits go to him, only thing I did was to give you a little more detailed answer (copy/paste ready)
Forum: General 03-29-2013, 09:57 AM
Replies: 9
Views: 1,320
Posted By Norrit
There are 2 ways: if Form1.DriveL.ItemIndex =...

There are 2 ways:
if Form1.DriveL.ItemIndex = -1
DriveLetter := 'H'
else
DriveLetter:= Form1.DriveL.Items[Form1.DriveL.ItemIndex];
if Form1.Exte1.ItemIndex = -1
Extension := '001'
else
...
Forum: General 03-29-2013, 07:21 AM
Replies: 9
Views: 1,320
Posted By Norrit
Without you giving any code it's very difficult...

Without you giving any code it's very difficult to guess...
Forum: General 03-08-2013, 07:12 AM
Replies: 2
Views: 1,146
Posted By Norrit
First part: google should be what I would use,...

First part:
google should be what I would use, haven't had any experience with it

Second part:
http://www.delphipages.com/forum/showpost.php?p=103223
Forum: General 03-08-2013, 07:06 AM
Replies: 3
Views: 1,118
Posted By Norrit
The code I gave you should already work, just...

The code I gave you should already work, just cast it to one of the forms containing the cmonth
Forum: General 03-07-2013, 07:43 AM
Replies: 3
Views: 1,118
Posted By Norrit
This only works if all forms have a Cmonth To...

This only works if all forms have a Cmonth
To guarantee this make a base form of which you inherit all other forms, and typecast to that base form
But that means rework...

Simple solution is to...
Forum: General 02-13-2013, 07:18 AM
Replies: 1
Views: 3,096
Posted By Norrit
I think the keyword is: GetASyncKeystate

I think the keyword is: GetASyncKeystate
Forum: General 02-01-2013, 08:33 AM
Replies: 2
Views: 3,924
Posted By Norrit
var doc: IXMLDocument; begin doc :=...

var
doc: IXMLDocument;
begin
doc := NewXmlDocument();
doc.LoadFromFile('c:\xfile.txt');
// and now loop through the nodes/attributes to find what you want
end;

I assume that you can...
Forum: General 01-22-2013, 02:38 PM
Replies: 5
[SOLVED] idHTTP
Views: 3,411
Posted By Norrit
What are you doing, talking to a...

What are you doing, talking to a REST/webservice???

What HTTP component do you use???
And have you specified all credentials correctly in this component???
Forum: General 01-21-2013, 07:18 AM
Replies: 1
[SOLVED] EPUB file data
Views: 3,459
Posted By Norrit
An epub is nothing more then a .zip with readable...

An epub is nothing more then a .zip with readable content inside.
Shouldn't be to hard to read, just unzip one and see how it's build (otherwise wiki the definition)

Or you can use google. Seems...
Forum: General 12-20-2012, 07:16 AM
Replies: 1
Views: 4,542
Posted By Norrit
TStringList.DelimitedText with delimiter char as...

TStringList.DelimitedText with delimiter char as space
TStringList[1] should contain the second word
Forum: General 12-12-2012, 07:59 AM
Replies: 2
Views: 5,146
Posted By Norrit
The Adobe Active X component, you mean the...

The Adobe Active X component, you mean the reader?
If so, you're walking the wrong path, it's a reader, not a writer...

If you have Adobe Professional it should be possible, but the how part I...
Forum: Apps 12-11-2012, 08:24 AM
Replies: 1
Views: 9,399
Posted By Norrit
a quick google was not an option? ...

a quick google was not an option?
http://www.swissdelphicenter.ch/torry/showcode.php?id=651
Forum: DB-Aware 12-11-2012, 08:22 AM
Replies: 2
Views: 2,672
Posted By Norrit
http://stackoverflow.com/questions/2896922/dbexpre...

http://stackoverflow.com/questions/2896922/dbexpress-connecting-sql-2008-at-runtime-with-delphi-2009
Forum: General 12-11-2012, 08:21 AM
Replies: 3
Views: 4,196
Posted By Norrit
test should be declared in the interface section...

test should be declared in the interface section of unit1 and "classes" should be in the uses of unit2
Forum: General 12-10-2012, 11:44 AM
Replies: 1
Views: 3,539
Posted By Norrit
from their help: ...

from their help:
http://devzone.advantagedatabase.com/dz/webhelp/advantage10/index.html?master_sp_backupdatabase.htm


and syntax:

This implies 2 input parameters...
Forum: General 12-06-2012, 01:03 PM
Replies: 1
Views: 2,910
Posted By Norrit
something like (MSSQL, should work in Access...

something like (MSSQL, should work in Access aswell I guess)

SELECT TOP 1
[tbl].[Rate]
FROM [yourtable] [tbl]
WHERE [tbl].[ItemId]=2
ORDER BY [tbl].[TranDate] DESC
Forum: VCL 12-06-2012, 07:23 AM
Replies: 1
Views: 1,454
Posted By Norrit
http://www.delphipages.com/forum/showpost.php?p=22...

http://www.delphipages.com/forum/showpost.php?p=224730&postcount=2
Forum: Apps 12-06-2012, 07:22 AM
Replies: 1
Views: 1,157
Posted By Norrit
You're talking about a setup file, there are...

You're talking about a setup file, there are several app's that can do this for you

InoSetup seems popular in the delphi community, I myself always use NSIS (but this is harder to understand at...
Forum: General 12-06-2012, 07:20 AM
Replies: 1
Views: 2,787
Posted By Norrit
I thought the dataset has a .filter property...

I thought the dataset has a .filter property which can do what you want
Sorry, but no Delphi today, so cannot validate
Forum: General 12-06-2012, 07:19 AM
Replies: 2
Views: 2,585
Posted By Norrit
My best guess is that the Writeln isn't...

My best guess is that the Writeln isn't threadsafe, perhaps a synchronize there...
Sorry, no Delphi today, so cannot validate
Forum: General 12-05-2012, 07:27 AM
Replies: 1
Views: 2,663
Posted By Norrit
indeed, spam is ridiculous at the moment

indeed, spam is ridiculous at the moment
Forum: General 11-26-2012, 01:40 PM
Replies: 4
Views: 829
Posted By Norrit
Perhaps compatibility to some older windows...

Perhaps compatibility to some older windows version (XP) mode and "run as administrator" solves this issue
Forum: General 11-22-2012, 12:40 PM
Replies: 1
Views: 836
Posted By Norrit
run your delphi app as administrator (right click...

run your delphi app as administrator (right click - run as administrator)
Forum: General 11-21-2012, 07:20 AM
Replies: 3
Views: 826
Posted By Norrit
uses XmlDoc, XmlIntf; ... var doc:...

uses
XmlDoc, XmlIntf;
...
var
doc: IXMLDocument;
node: IXMLNode;
begin
doc := NewXMLDocument();
try
doc.Active := True;
Forum: General 11-16-2012, 07:12 AM
Replies: 6
Views: 1,001
Posted By Norrit
in the first post you used...

in the first post you used TIdSSLIOHandlerSocketSSL, are you sure you replaced it with TIdSSLIOHandlerSocket?
I don't use indy 9 anymore, so I cannot build a testapp for this, I can only guess what...
Forum: General 11-15-2012, 02:23 PM
Replies: 6
Views: 1,001
Posted By Norrit
Haven't tested this, but here...

Haven't tested this, but here (http://delphi.xcjc.net/viewthread.php?tid=45523) they uses sslvSSLv2
Forum: General 11-15-2012, 08:06 AM
Replies: 6
Views: 1,001
Posted By Norrit
add IdSSLOpenSSL to the uses list?

add IdSSLOpenSSL to the uses list?
Forum: General 11-06-2012, 08:15 AM
Replies: 2
Views: 542
Posted By Norrit
Loose the with and store it in a var, below the...

Loose the with and store it in a var, below the quick combined solution
var
panel: TPanel;
edit: TEdit;
begin
for i := 1 to strtoint(Edit2.Text) do
begin
panel :=...
Forum: General 11-05-2012, 07:35 AM
Replies: 7
Views: 874
Posted By Norrit
Not for this purpose, if you edit your .exe...

Not for this purpose, if you edit your .exe @runtime your virus scanners will not like your app
Forum: General 11-05-2012, 07:32 AM
Replies: 8
Views: 783
Posted By Norrit
NAME:='Label2'; ...

NAME:='Label2';
TIMES(TLabel(FindComponent(NAME)),100);
Forum: General 11-02-2012, 12:38 PM
Replies: 5
Views: 527
Posted By Norrit
I didn't even know that was possible to put in...

I didn't even know that was possible to put in other characters than integer into a spinedit
But if so, it's derived from TEdit somewhere, so you could always validate the .Text instead of .Value
...
Forum: General 11-02-2012, 09:28 AM
Replies: 5
Views: 527
Posted By Norrit
I really don't understand the question You...

I really don't understand the question

You can only input integers in a spinedit, so .Value cannot be empty or a char
any_integer is named integer, but obviously you provide some other datatype...
Forum: General 10-26-2012, 12:58 PM
Replies: 3
Views: 562
Posted By Norrit
Your databse driver is not installed correctly on...

Your databse driver is not installed correctly on your XE OS
At least, that's what google tells me
Forum: General 10-26-2012, 12:51 PM
Replies: 7
Views: 874
Posted By Norrit
Sure it's possible, but with lots of work ...

Sure it's possible, but with lots of work
Embedding a file into the .exe is easy, but pdf readers seem to lack support of the LoadFromStream methods.
But, since PDF is well documented you could...
Forum: General 10-25-2012, 01:57 PM
Replies: 6
Views: 683
Posted By Norrit
Normally to be in D7 again you only have to...

Normally to be in D7 again you only have to replace String with AnsiString and Char with AnsiChar
But I use a non-unicode delphi, so cannot validate
Forum: General 10-25-2012, 11:53 AM
Replies: 6
Views: 683
Posted By Norrit
sounds like an unicode issue somewhere, that's...

sounds like an unicode issue somewhere, that's the only big difference
Showing results 1 to 50 of 500

 
Forum Jump

All times are GMT. The time now is 07:07 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.