Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Bobob
  • Order by date
  1. Bobob

    Cancelling a Query from an ADOConnection

    You need to set the eoAsyncExecute option in the Query component before execution. To cancel the query, just call the Cancel method of the Query component. -- Robert
  2. Bobob

    How-To ... TForm.Create with a variable??

    If you have access to the form class definitions (via uses) then you can do it this way: procedure TMyMainForm.LaunchForm(FormClass:TFormClass); begin with FormClass.Create(self) do Show; end; procedure TMyMainForm.ShowForms; begin LaunchForm(TForm1); LaunchForm(TForm2)...
  3. Bobob

    Simple Delphi environment/editor question...

    Quick-tip to open all units in a project: Press Ctrl+F12, select all units in the list and press OK. -- Robert
  4. Bobob

    Exchange 5.5 migration to Exchange 5.5

    When we decided to move our Exchange 5.5 from one NT4 box to another at work, I read through lots of info from Microsoft, and after some irritating errors (and mistakes) I finally decided to take the "quick and dirty" way. Since there were only 11 mailboxes on the old server, I...
  5. Bobob

    Database server connection problem

    What version of Windows and network protocol are you running on the client? What happens if you ping the server after you unplug the cable (without your application running)? -- Robert
  6. Bobob

    color in delphi

    You could use a TTabControl and hook into the OnDrawTab event. -- Robert
  7. Bobob

    Windows API

    You could use the EnumWindows() API function and check the title of each top level window. Remember that the caption of IE also contains the title of the current web page, so you might want to check for the class name instead (Use a tool like WinSight to get this). A more flexible approach...
  8. Bobob

    websites with security recommendations

    Try http://www.securityspace.com
  9. Bobob

    IMC not letting in emails from outside

    I have this problem too, and when I examine the event log on the server, it has an entry witch refers to some invalid message in the BAD folder. Sometimes it helps to shutdown all exchange services, delete the bad message (file name is in the event log), run a defrag, and restart the services...
  10. Bobob

    Relaying with Exchange on an NT Server with Outlook Express

    Open the properties for the "Internet Mail Service", select the "Routing" tab, and then the "Routing Restrictions" button. Check the "Hosts and clients that successfully authenticate" checkbox. Also, if your boss (or other employees) connects through some...
  11. Bobob

    TAdoTable and BLOB

    This is just out off my head, but it should work. (It needs some exception handling and error checking though) The reason I included the ID field in the select statement is that ADO sometime fails if you select a memo/blob field all by itself. procedure ReadBlob; type TBuf = array[0..0] of...
  12. Bobob

    Creating a timestamp field using SQL

    I'm not familiar with Paradox data types, but on many other SQL platforms the "datetime" data type is used as a combined date/time storage.
  13. Bobob

    Getting the login name of a ADO-connected user

    Since the users are logging on using NT authentication, why not just fetch their Windows username. Example: var sUserName : Pchar; iLen : Cardinal; begin Getmem(sUserName,30); iLen := 30; GetUserName(Pchar(sUserName),iLen); Result := sUserName; FreeMem(sUserName); end;

Part and Inventory Search

Back
Top