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 Chriss Miller 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: *

  1. donvittorio

    AV from TQuery in a runtime package

    Hi, I am trying to create a runtime package which will contain classes that my main application can use, but I'm having problems with the data access. My main app contains a TDatabase which points to a BDE alias. At runtime my package is dynamically loaded, and a method invoked in the package...
  2. donvittorio

    SQL insert statement with ADO parameters

    Hi, I'm trying to use an sql insert statement using ADO parameters, and I can't get the value of the parameter into the db, and it's driving me nuts! I'm using SQL Server 2000, Delphi 4 and ADO 2.1 (there's nothing like modern technology is there?!) The code is simply this: procedure...
  3. donvittorio

    Handle windows messages one at a time?

    Hello all, I'm looking into a problem with message handling within an application. When the app is started a thread is created, and within this thread is a message handler which is assigned to Application.OnMessage. The message handler will only handle custom messages (between WM_USER+6 and...
  4. donvittorio

    Use TAction shortcuts only when apt

    Hi, I'll try and keep the description of my problem short. I have a program with two TStringGrids, one a parent and one a child, both of which allow editing. I have written some functionality in the program which allows you to copy and paste parent items, which is assigned to TAction.OnExecute...
  5. donvittorio

    GetVersionEx - wrong when debugging

    Hi, I'm using Delphi 4 (not through choice!) and Windows XP, and I'm getting some odd behaviour when calling the Windows API function GetWindowsEx. If I run in debug mode (i.e. from Delphi) this incorrectly returns MajorVersion = 4, MinorVersion = 0 (which is Windows NT). If I run the...
  6. donvittorio

    Convert quick report to pdf

    Hello, does anybody know if there are any components out there that will let me programatically convert quick report files (i.e. qrp files) to pdf format? I want to convert an existing qrp file rather than use a pdf filter to save the report as a pdf file in the first place. The qusoft...
  7. donvittorio

    Free Delphi?

    Hi, In a post recently somebody mentioned that they were using the 'free version' of Delphi. I didn't take much notice at the time, but now I like the idea of getting hold of a free copy of Delphi. Does anybody know if it is possible to (legally) get a free version of Delphi (excluding Kylix)...
  8. donvittorio

    button in a stringgrid

    Hello, I want to embed a TButton in a cell of a TStringGrid, which I have done okay. However, I have found that if I set the stringgrid as the button's parent, then the button's OnClick event handler does not get called when I click on the button with the mouse (although it does if I hit the...
  9. donvittorio

    Remove a directory

    Hello, As part of my program I want to remove a directory from the hard drive that has some files in it. The Delphi function RemoveDir will not work because it will only remove the directory if it is empty. I could iterate through all files in the directory and delete them one by one and then...
  10. donvittorio

    Changing desktop wallpaper

    Hi, I'm writing a little program to change the desktop wallpaper on a Win 2000 machine. I am changing the registry settings for stretch, tile and centre okay and I'm using SystemParametersInfo to set the wallpaper okay using the following line SystemParametersInfo(SPI_SETDESKWALLPAPER, 0...
  11. donvittorio

    breakpoints in dlls

    Hi everybody, I want to step through a dll but Delphi is not stopping at my breakpoints. Some times my breakpoints in dlls work and sometimes they don't, and it's beginning to drive me bonkers! In the compiler options I have Debug Information, Local Symbols, Reference Info and Definitions Only...
  12. donvittorio

    Type casts

    Hello all, Can anybody explain to me the difference between the two methods of type casting? For example: (Sender as TButton).Caption := 'Button1' or TButton(Sender).Caption := 'Button1' I know that there must be a difference because sometimes Delphi does not like the second way of type...
  13. donvittorio

    UNION in NOT IN

    Hi, I have an Interbase 6 database with around 200 tables, some of which have an associated audit table named AUDIT_tablename (e.g. AGENT and AUDIT_AGENT). I am trying to find all tables in the database which do not already have an audit table, and I'm finding it a bit tricky. As far as I...

Part and Inventory Search

Back
Top