Forum: General
02-09-2009, 05:58 AM
|
|
Replies: 2
Views: 1,398
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, 05:45 AM
|
|
Replies: 3
Views: 324
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, 05:43 AM
|
|
Replies: 3
Views: 324
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, 07:24 AM
|
|
Replies: 3
Views: 385
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, 08:08 PM
|
|
Replies: 1
Views: 279
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, 08:03 PM
|
|
Replies: 21
Views: 1,570
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, 09:14 AM
|
|
Replies: 3
Views: 256
|
Forum: General
01-24-2008, 01:18 PM
|
|
Replies: 3
Views: 256
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, 03:00 PM
|
|
Replies: 3
Views: 1,803
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, 10:02 AM
|
|
Replies: 1
Views: 448
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, 09:50 AM
|
|
Replies: 6
Views: 244
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, 09:45 AM
|
|
Replies: 3
Views: 246
Clickable Links
Sorry, here are the clickable links
http://sourceforge.net/projects/tpapro
http://www.turbocontrol.com/APro.htm
|
Forum: General
11-09-2007, 09:44 AM
|
|
Replies: 3
Views: 246
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, 11:12 AM
|
|
Replies: 2
Views: 751
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, 11:04 AM
|
|
Replies: 2
Views: 205
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, 09:44 AM
|
|
Replies: 3
Views: 227
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, 06:19 PM
|
|
Replies: 3
Views: 227
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, 09:57 AM
|
|
Replies: 5
Views: 231
|
Forum: General
05-18-2007, 09:48 AM
|
|
Replies: 5
Views: 231
|
Forum: General
05-18-2007, 09:46 AM
|
|
Replies: 5
Views: 231
|
Forum: General
05-18-2007, 08:42 AM
|
|
Replies: 6
Views: 279
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, 08:40 AM
|
|
Replies: 6
Views: 279
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, 08:25 PM
|
|
Replies: 6
Views: 279
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, 01:55 PM
|
|
Replies: 6
Views: 327
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, 01:46 PM
|
|
Replies: 6
Views: 327
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, 02:03 PM
|
|
Replies: 10
Views: 420
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, 10:38 AM
|
|
Replies: 3
Views: 256
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, 02:54 PM
|
|
Replies: 4
Views: 305
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, 02:20 PM
|
|
Replies: 3
Views: 401
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, 02:17 PM
|
|
Replies: 5
Views: 270
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, 02:15 PM
|
|
Replies: 3
Views: 400
|
Forum: General
07-28-2005, 12:37 PM
|
|
Replies: 4
Views: 897
|
Forum: General
07-28-2005, 12:35 PM
|
|
Replies: 4
Views: 3,266
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, 08:44 PM
|
|
Replies: 6
Views: 549
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, 02:08 PM
|
|
Replies: 2
Views: 403
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, 08:11 AM
|
|
Replies: 2
Views: 865
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, 10:11 AM
|
|
Replies: 2
Views: 430
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, 04:07 PM
|
|
Replies: 5
Views: 224
|
Forum: General
01-25-2005, 01:02 PM
|
|
Replies: 2
Views: 430
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, 12:41 PM
|
|
Replies: 5
Views: 224
|
Forum: General
01-25-2005, 12:38 PM
|
|
Replies: 5
Views: 224
|
Forum: General
01-25-2005, 12:20 PM
|
|
Replies: 2
Views: 209
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, 01:03 PM
|
|
Replies: 5
Views: 508
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, 01:01 PM
|
|
Replies: 5
Views: 508
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, 10:44 AM
|
|
Replies: 1
Views: 460
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, 02:07 PM
|
|
Replies: 3
Views: 198
|
Forum: General
09-30-2004, 06:45 PM
|
|
Replies: 5
Views: 680
|
Forum: General
09-30-2004, 06:40 PM
|
|
Replies: 5
Views: 680
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, 01:58 PM
|
|
Replies: 5
Views: 680
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, 09:25 AM
|
|
Replies: 12
Views: 620
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...
|