Delphi Pages Forums  

Go Back   Delphi Pages Forums > Search Forums

Lost Password?

Showing results 1 to 50 of 500
Search took 0.58 seconds.
Search: Posts Made By: HTML
Forum: General 02-09-2009, 06:58 AM
Replies: 2
Views: 3,030
Posted By HTML
RE: tblobfield

I'm guessing you're assigning a JPG? I don't have a code snippet handy at the moment. Please search the forum for TMemoryStream and Blob. It's a more reliable way of saving any kind of file into a...
Forum: General 02-09-2009, 06:45 AM
Replies: 3
Views: 944
Posted By HTML
RE: Components for USB stuff?

oops sorry, meant older not holder ;)

Glad to see the Lvr site is still up and kept updated. Whatever you want to know you should find there. Good luck
Forum: General 02-09-2009, 06:43 AM
Replies: 3
Views: 944
Posted By HTML
RE: Components for USB stuff?

Hi there,

The keyword to search for would be HID ,

http://www.lvr.com/usb.htm

and the holder Delphi-Gems HID controller http://www.soft-gems.net/supplement/download.php?ID=37
Forum: DB-Aware 08-26-2008, 08:24 AM
Replies: 3
Views: 1,733
Posted By HTML
RE: Handeling an EDBEngineError

Hi Richard,

For the purpose of catching the errors that might arise when opening a Table, instead of EDBEngineError use EDatabaseError.
Forum: General 02-19-2008, 09:08 PM
Replies: 1
Views: 904
Posted By HTML
RE: Newbie to parallel ports programming

Howdy!

I use a component called SmallPort to check the printer status without going through the spool. Works great.

http://www.delphi-files.com/Vcl/System/Port-Access/SmallPort-v-1-4.html
...
Forum: DB-Aware 02-19-2008, 09:03 PM
Replies: 21
Views: 5,148
Posted By HTML
RE: Checkboxes in DBGrid based on 0 or 1?

Hi :)

Reposting an old code snippet of mine...

You can paint an image in a DBGrid column and make it act like a checkbox. I use this method and it works pretty well.


Take this example,...
Forum: General 01-29-2008, 10:14 AM
Replies: 3
Views: 969
Posted By HTML
RE: Set global printer in code

Hi Captain,

What method of printing are you using? You mentioned you know how to set this via the TPrinter.
Forum: General 01-24-2008, 02:18 PM
Replies: 3
Views: 969
Posted By HTML
RE: Set global printer in code

Hi,

With TPrinter you set the default as such?

Printer.PrinterIndex := -1;

if Printer.Printers.Count > 0 then begin

Printer.PrinterIndex := -1; {select default printer}
Edit1.Text :=...
Forum: General 01-23-2008, 04:00 PM
Replies: 3
Views: 3,324
Posted By HTML
RE: BCB6 TMemo Line Color Change

Hello there,

TRichEdit should work. Use SelStart and SelLength properties to change the color of text that was already added. It's simpler to set color properties before adding text.

Copied and...
Forum: General 11-09-2007, 11:02 AM
Replies: 1
Views: 1,380
Posted By HTML
RE: delphi 6-make calculated field

Hi Vincent,

You're use the TTable or TQuery type components? ADO components work similarly.

To simplify things, add the calculated field during runtime. Make sure the Active property or...
Forum: General 11-09-2007, 10:50 AM
Replies: 6
Views: 887
Posted By HTML
RE: how to put data in oneline with a lable

Hi,

Just to clarify, you use this one line to get the string or do you loop it?

RoomsTable.FieldByName('Userlist').AsString

And it comes out in three lines? what do you use to display the...
Forum: General 11-09-2007, 10:45 AM
Replies: 3
Views: 849
Posted By HTML
Clickable Links

Sorry, here are the clickable links

http://sourceforge.net/projects/tpapro


http://www.turbocontrol.com/APro.htm
Forum: General 11-09-2007, 10:44 AM
Replies: 3
Views: 849
Posted By HTML
RE: Serial Comm in win xp

Using Async for many years now. Working great on WinXP. If you have a specal suffix and prefix in the string use the ADPPacket component. It will make things easier.

It's Turbopower's Async...
Forum: DB-Aware 07-26-2007, 12:12 PM
Replies: 2
Views: 2,672
Posted By HTML
RE: Populate DBGrid control

Hi :)

To work the DBGrid and not have a physical table. Use a Memory Table component. Lookup info on TClientDataset.

If you're using a DevExpress grid use the TMemData component. That works...
Forum: General 07-26-2007, 12:04 PM
Replies: 2
Views: 837
Posted By HTML
RE: AutoHide combobox

Hi AF,

Hide the combobox the OnExit event of the combobox.

procedure TForm1.ComboBox1Exit(Sender: TObject);
begin
ComboBox1.Visible:=false;
end;
Forum: General 07-24-2007, 10:44 AM
Replies: 3
Views: 979
Posted By HTML
RE: Shared internet

Hi Derek,

Glad to know you're doing well. Congrats on finishing school soon. Best of luck to you in all your projects.

I've been more busy with work, chores and family(Mom and Dad, brothers and...
Forum: General 07-22-2007, 07:19 PM
Replies: 3
Views: 979
Posted By HTML
RE: Shared internet

Howdy :)

Don't remember of any such freeware. A search like
http://www.google.com/search?hl=en&q=track+internet+explorer+download+usage

Could help, adding the IE reference to narrow the...
Forum: General 05-18-2007, 10:57 AM
Replies: 5
Views: 1,071
Posted By HTML
RE: How to get the coordinates (top left) of an edit box on other applicat

Thanks m8, but you really didn't have to. Just let me know if it works for you or not.
Forum: General 05-18-2007, 10:48 AM
Replies: 5
Views: 1,071
Posted By HTML
RE: How to get the coordinates (top left) of an edit box on other applicat

I posted the snippet, a bit too late. Whatever works best for you :)
Forum: General 05-18-2007, 10:46 AM
Replies: 5
Views: 1,071
Posted By HTML
RE: How to get the coordinates (top left) of an edit box on other applicat

procedure TForm1.Button1Click(Sender: TObject);
var

H, MainH: HWND;
R: TRect;

begin

//use Spy++ or Winsight to get class information and/or exact Window Captions
Forum: General 05-18-2007, 09:42 AM
Replies: 6
Views: 1,152
Posted By HTML
RE: Forcefully terminating an application

To be exact use FindWindow to pass results to GetWindowThreadProcessId, pass the result of that on to OpenProcess to get the process handle, call TerminateProcess ,etc... then call CloseHandle when...
Forum: General 05-18-2007, 09:40 AM
Replies: 6
Views: 1,152
Posted By HTML
RE: Forcefully terminating an application

Hi,

I see you've accepted an answer already but should've noted. If I remember correctly you need to pass the application process handle to TerminateProcess, the handle you get from FindWindow...
Forum: General 05-17-2007, 09:25 PM
Replies: 6
Views: 1,152
Posted By HTML
RE: Forcefully terminating an application

Hi there,

TerminateProcess is the function you're looking for. I don't have code snippets handy at the moment but a forum search should reveal some useful snippets.
Forum: General 09-13-2006, 02:55 PM
Replies: 6
Views: 930
Posted By HTML
RE: Can't find twebbrowser tutorial

sorry, here's a clickable link and a few others

TEmbeddedWB is just one of the best free (or not) IE components you can find
http://www.bsalsa.com/support.html

For tutorials Delphi.About has a...
Forum: General 09-13-2006, 02:46 PM
Replies: 6
Views: 930
Posted By HTML
RE: Can't find twebbrowser tutorial

Howdy :)

I haven't visited the site in a while and came upon your post. I immediatly thought of IEDelphi, haven't visted the site in over a year and it's nice to see how nicely it's been updated....
Forum: General 03-09-2006, 03:03 PM
Replies: 10
Views: 1,569
Posted By HTML
RE: Working With LPT Port

Hi,

Smallport is an excellent tiny component library to read/write to ports. I've been using it to communicate directly to the lpt port with Winxp and Delphi6 without any trouble at all.
...
Forum: General 02-06-2006, 11:38 AM
Replies: 3
Views: 878
Posted By HTML
RE: Dialup Program

Hi Ehsan,

If you installed the Async package, you should find plenty of example projects in the folder where you installed the package

e.g.
C:\APRO\Examples\Delphi

more info here...
Forum: General 10-26-2005, 03:54 PM
Replies: 4
Views: 1,525
Posted By HTML
RE: Get text from another app with several edits

Hi :)

I've done a few tests on WinXP SP1. Per Mike's reply it may not work with all applications but has worked so far for all the applications I've tried it with. For example take the Windows...
Forum: General 10-21-2005, 03:20 PM
Replies: 3
Views: 1,074
Posted By HTML
RE: OpenDialog path?

Hi :)

Doesn't the TOpenDialog have an "InitialDir" property you can set during design time or during runtime?

something like

OpenDialog1.InitialDir :=
...
Forum: General 10-21-2005, 03:17 PM
Replies: 5
Views: 848
Posted By HTML
Cool :)

Hi folks :)

I haven't been as active but do come around now and then.

Thanks MB34 and Douglas, for keeping this place running!
And this new update is spiffy.
Forum: General 10-21-2005, 03:15 PM
Replies: 3
Views: 1,128
Posted By HTML
RE: how to workaround: OnClick := procedural function

Hi Beesje,

With help with the 1st question, see my previous post linked to below. It will show you how to assign a simple procedure to an event....
Forum: General 07-28-2005, 01:37 PM
Replies: 4
Views: 2,762
Posted By HTML
RE: RE: trouble sending data to comport using Async Professional component?

Hi there :)

This was posted such a long time ago. All I can say is that I still use PutString and it works. I don't remember what was the fix to the problem but I'm currently using v4. So that...
Forum: General 07-28-2005, 01:35 PM
Replies: 4
Views: 9,155
Posted By HTML
RE: Quickreport: Page 1 of 6...

Hi Anatoly

I don't have any idea on what may be the problem. Just be sure to call prepare first. I can't check this at the moment but check the PrinterSettings property of the QuickRep, the...
Forum: Tools 05-28-2005, 09:44 PM
Replies: 6
Views: 2,239
Posted By HTML
RE: Automatic Testing Tools

Hello :)

How about TestComplete

http://www.automatedqa.com/products/testcomplete/tc_delphi.asp


Btw, great to see some old acquintences. MB34 is on fire :)

Cya folks!
Forum: General 03-21-2005, 03:08 PM
Replies: 2
Views: 1,465
Posted By HTML
RE: Process handle

Hello :)

As far as I know, FindWindow does not return that window's application process but you can use FindWindow to help. FindWindow is also case sensitive. I don't have any code handy but pass...
Forum: Tools 02-15-2005, 09:11 AM
Replies: 2
Views: 2,408
Posted By HTML
RE: Urgent: TBX for Toolbar2000

Hello,


You can download the full version from their site, and also find a link to their newsgroup news://news.jrsoftware.org/jrsoftware.toolbar2000.thirdparty. You can ask your question there...
Forum: General 01-27-2005, 11:11 AM
Replies: 2
Views: 1,752
Posted By HTML
RE: TWAIN Component

If you're looking for a TWAIN component, here are some links:

http://delphitwain.sourceforge.net
http://www.almico.com/delphi/newstwain.php
http://www.torry.net/pages.php?id=507...
Forum: General 01-25-2005, 05:07 PM
Replies: 5
Views: 1,025
Posted By HTML
RE: App built under XPPro - need it to run under Win98 too. How?

No problem, glad it worked out :-)

Cya around.
Forum: General 01-25-2005, 02:02 PM
Replies: 2
Views: 1,752
Posted By HTML
RE: TWAIN Component

Hi Stephanie,

You could use a Blob type field to store the files, then you could have the TWAIN component save the file into the temp folder or if possible directly stream the info into the...
Forum: General 01-25-2005, 01:41 PM
Replies: 5
Views: 1,025
Posted By HTML
RE: App built under XPPro - need it to run under Win98 too. How?

Ah, there is that link http://tinyurl.com/3vbqu
Forum: General 01-25-2005, 01:38 PM
Replies: 5
Views: 1,025
Posted By HTML
RE: App built under XPPro - need it to run under Win98 too. How?

Hello :)

I've built a number of applications on WinXP that have been running just fine on Win98SE, neither of those applications where dependant on specific features or functions that XP supports,...
Forum: General 01-25-2005, 01:20 PM
Replies: 2
Views: 844
Posted By HTML
RE: Adding field to table

Hi :)

Something like this should work



Query1.DatabaseName := 'c:\dbfolder';

Query1.SQL.Clear;
Query1.SQL.Add('ALTER TABLE "TableFile.db" ADD NewAlphaFieldName CHAR(100)'); //Alpha...
Forum: General 01-24-2005, 02:03 PM
Replies: 5
Views: 1,671
Posted By HTML
RE: QuickReport Question

Sorry typo,

For the Y label you can use the TQRSysData label set the Data
property to qrsPageNumber.
Forum: General 01-24-2005, 02:01 PM
Replies: 5
Views: 1,671
Posted By HTML
RE: QuickReport Question

Hi :-)

Page Y of X

For the Y label you can use the TQRSysData label set the Date property to qrsPageNumber, and Alignment to taRightJustify.

For the X Label you can use a plain TQRLabel,...
Forum: General 01-17-2005, 11:44 AM
Replies: 1
Views: 1,257
Posted By HTML
RE: Change BDE programmatically???

Hi there :-)

To change the NetDir for the current session before opening any tables set the Session variable, there is no need to place a TSession component on the form

Session.NetFileDir :=...
Forum: DB-Aware 01-13-2005, 03:07 PM
Replies: 3
Views: 1,158
Posted By HTML
RE: How do I determine if a dbTRichedit is empty?

Hello :-)

The others already answered your question but I just wanted to add,

if PtnrRespEntry.FieldByName('Message').IsNull then
ShowMessage('Field Empty')
else
ShowMessage('Field...
Forum: General 09-30-2004, 07:45 PM
Replies: 5
Views: 2,061
Posted By HTML
RE: Best way to query blank records?

Just found a link,

Someone using mssql had a similar question,
http://dbforums.com/t683700.html
Forum: General 09-30-2004, 07:40 PM
Replies: 5
Views: 2,061
Posted By HTML
RE: Best way to query blank records?

I mostly did misunderstand your question as first. Hope I got it right this time ;')

Depending on the report engine you use, you can set a flag when you want it to print empty entries. Make the...
Forum: General 09-30-2004, 02:58 PM
Replies: 5
Views: 2,061
Posted By HTML
RE: Best way to query blank records?

Hi Douglas :-)

Long time no see.

I suppose there are other methods but AFAIK You can try to load the results from the Query into a in memory table and then insert the empty records there.
...
Forum: General 08-06-2004, 10:25 AM
Replies: 12
Views: 2,762
Posted By HTML
RE: Slow EOF

It's great that you found the bottleneck.

Before iterating Table5, you should also disablecontrols/enablecontrols for the Parts table aswell, and try to use FindKey instead of Locate, while Locate...
Showing results 1 to 50 of 500

 
Forum Jump

All times are GMT. The time now is 11:53 PM.


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