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 bkrike 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: TimSNL
  • Content: Threads
  • Order by date
  1. TimSNL

    Convert local path to UNC path if inside a share

    Hello all. Im trying to convert a local path to a unc path, if the path specified is part of a share. Eg. Assuming 1. The computer name is COMP 2. The folder C:\dir1\dir2 is shared with share name ABC The local path i have is C:\dir1\dir2\test.txt I need to be able to work out that the unc path...
  2. TimSNL

    How to close a splash screen at the time I choose

    I have setup a splash scren for my appliaction as per http://delphi.about.com/od/formsdialogs/a/splashscreen.htm My appliaction takes some time to draw its main form the first time, and the splash screen vanishes before this process is complete. Is it possible to free the splash from from the...
  3. TimSNL

    TADODataset with Access2000 like "*"

    SELECT * FROM TBLCustomer WHERE NAME LIKE "*" The above query works in Access2000. It finds all records with a * character as part of the name. But if I try and use this query in an ADODataset there are no records returned. How can I make this work? ---------------------------------------...
  4. TimSNL

    Remote Command on Linux using INDY?

    Hello. I am writing a little utility to backup some data files from a linux PC and copy them to a local Win PC. I have worked out how to transfer the file using an FTP component and this is working well. How can I execute a tar command on the linux PC to collect the backup files I need? Is...
  5. TimSNL

    ncurses for Delphi

    I am doing a console application to compile with Delphi6 and Kylix3 and am considering using ncurses for the user interface. This is easy for Kylix ... not so easy for Delphi. Does anyone know how I can use ncurses in Delphi? Maybe someone knows of a library that makes this work? Thanks for...
  6. TimSNL

    How to draw on MainMenu

    Hello I would like to draw some text on right side of the main menu bar at the top of my form. A bit like IE puts the Micro$oft flag up there in the top right corner. Does anyone know how to draw there? Thanks for your help. Tim The maggotts always win.
  7. TimSNL

    System tray icon baloon tooltip

    Hello I have a system tray application that will run under 95 and XP. I wanted to use baloon tool tip displays when it is runnung in XP. I am using D6 and the NOTIFYICONDATA structure surfaced by ShellAPI does not have the members szInfo, szInfoTitle, etc. How can I make this work? Any ideas...
  8. TimSNL

    First opportuniry to close application?

    Hello. Inside the OnCreate event of my main form I do a version upgrade, creating any new database fields my application needs. If this version upgrade fails I don't want my program to start. I understand that it is not a good idea to close a form from within its own OnCreate procedure. What...
  9. TimSNL

    Unable to login on console - please help

    Hello linux masters. I am runnung linux 7.0 Kernel 2.2.16-22. I can login via telnet and serial terminals but not directly on the console. After the bootup is finished, the login does not come up on the console. Keys pressed echo onto the screen, including control codes for arrow keys etc...
  10. TimSNL

    How to convert TFontStyles to an integer?

    Hello everyone. I need to save some TFontStyles values to my database and thought the best way would be to convert this set datatype into an integer. I have found that this is harder to do than I thought. Any help please? Thanks, Tim
  11. TimSNL

    How to force fields to calculate?

    Hello Is there a way to tell a dataset to recalculate its Calculated Fields?
  12. TimSNL

    TextExtent for formatted text

    Hello I have some formatted text in a rich text memo. I need to find the height of this text in pixels so I can resize another component to the correct height before I copy the text over. If the text was not formatted, I could have used TextExtent to find the height. Does anyone know how to get...
  13. TimSNL

    How to fit filename into Rect?

    Hello. I am writing a fileneme to canvas using TextRect. Does anyone have the function to cut down the filename to fit into the Rect, adding dots in the midddle as needed? Thanks for you help. Tim
  14. TimSNL

    ShowWindow then minimise?

    Hello. What is the best way to bring my application back up if it is sitting minimised on the start bar? I have been doing this: ShowWindow(Hwnd,SW_SHOWDEFAULT); SetForegroundWindow(Hwnd); When the above code runs, it does bring my application back up, but from that point on the...
  15. TimSNL

    Hello. Can anyone please give me

    Hello. Can anyone please give me a code snippet or link to help me understand how to use EnumChildWindows() function from D6, please. Thanks. Tim
  16. TimSNL

    M$ Access - Alter Table - AllowZeroLength

    Hello, My appliaction needs to create some new text fields in an Access database table during a version upgrade. I am using dbExpressADO. The ALTER TABLE command works fine and adds the fields I need to the table. The problem is that the AllowZeroLength property of each new field is set to NO...
  17. TimSNL

    M$Access - MSysObjects no read permission for ADO

    [3eyes] Hello everyone. Seeking your valuable advice again. I need to get a list of table names from my Access97 database. I am using dbExpress components to access the database from Delphi6. I have the query: SELECT Name FROM MSysObjects where Type = 1 AND NAME NOT IN...
  18. TimSNL

    AddObject

    Hello all. When I use AddObject to add an item to a list (eg. ListBox, ComboBox) does Delphi free the object when the control containing the list is destroyed? Or should I include code of my own to free memory used by these objects? Tim
  19. TimSNL

    Hi all, Is it possible to get th

    Hi all, Is it possible to get the date the application was compiled, from a variable at runtime. I thought Delphi may have this tucked away in a system variable somewhere. Tim
  20. TimSNL

    How to run my application only once?

    Hello. Once again I consult the Oracle of Global Intelligence ... I need to make sure that only one instance of my application is runnung on the desktop. If the user doubble-clicks the icon to start my application and it is already running, I want to bring the instance that is already...

Part and Inventory Search

Back
Top