We have two applications that were originally written in Delphi. Users regularly switch back and forth between the applications, and we provided a button to do so. We knew the ApplicationClass (TApplication) and the name of the window, so using FindWindow to switch was no problem.
We have...
I have a combobox, with a datasource set to a lookup table and DisplayMemeber set to a field in that table. I have the databinding text set to the table that I want to write to.
The problem is that when I insert a record, the combobox is empty, but doesn't seem to know it. The value for...
How can I refer to additional data in a selected record? It appears that in order to get the data in a field, I need to know the index number for that row, and yet it does not appear that the index number for a row is something that is readily available.
In Delphi, I would do something like...
Does anyone know if the MinutesBetween error has been fixed in Delphi 7?
By putting a button and two edit boxes on a screen, we get this problem (it also occurs in our real application, which is how we found it):
If you enter 08:00 in edit1 and 07:40 in edit2, Minutes between returns 20, which...
I'm a delphi developer who is starting to play with C# a little. Is there a data navigation toolbar that I can use, or do I have to make my own? The data grid is there, but I don't see a data navigation component (insert/delete/previous/next/etc...).
Brian
"There are 2 kinds of people in...
We have a class:
T_FBPageCanvas = class
private
FCanvas:TCanvas;
FItem :T_FBItem;
FOwner :T_FBForm;
public
constructor Create(AOwner:T_FBForm);
function PaintItem(ASTR_ItemType:string):boolean;
function SetItemProperty:boolean;virtual;
end;
We have...
Is there a way to detect where the last non-white pixel is both vertically and horizontally, and save the bitmap to that size? Can I copy it line for line with a stream (I've never worked directly with streams)? Brian
"There are 2 kinds of people in the world, those that divide people into...
We have dbedit boxes for date fields with this mask on the field: !99/99/9999;1;_
We have never had problems with this mask before (nor am I certain it's a mask problem now).
We use the settext event on the table component to verify that the date entered is valid. After that there are a...
I have a problem running my program inside delphi. When I am inside delphi, the program will run fine once, but the second time I run it, it tells me that a record/key has been deleted and that the table is corrupt. If I alternate running it in delphi and from the exe there is no problem. I...
We have around 10 applications that we are developing (most are utilities or for in-house use) including a pair of programs that are "twins" and share a fair amount of object/library code, with different forms. For some reason, one of them takes nearly a minute to compile almost every...
We have a program that uses olevariants to communicate with word. We have a large user group now that (don't ask me to explain it) is using windows xp and Word 95. We have this line of code in our print routine:
WordObj.FilePrintSetup(Printer := Printer.Printers
[Printer.PrinterIndex]...
Our program zips database records and word documents into a single zip file so that the users can move their files from immoble, non-networkable stations to their network machines. There are some complaints that virus scanning does not work on zip files, and that some of the word documents...
We needed to do some processing inside a form, and in some cases it is not necessary to show the user the form, so we want to just close it. You cannot call Close during formshow, so we had it set up with a timer and a boolean.
Just looked on google to see if there was a better answer and...
Paradox tables only allow 256 fields (maybe it's 255). Does anyone know if this kind of field limit exists on Access, IB, or some other desktop database?
We are moving from Win95 (that's right) to XP right now, and have some paradox applications that do not appear to work properly. Nearly all of our users will have limited user rights. We solved the problem of the PDOXUSRS.NET file by using:
Session.NetFileDir := 'C:\Temp';
All references to...
If you use ADO connections instead of BDE, do you have to deploy anything. Right now we include the BDE in our install, but we'd like to avoid it if possible. If our program works exclusively on windows, is there anything we need to do? We tested the ado components, and they seem to work on...
How do you install a BDE program on win XP so that each user does not have to install it seperately? (and so that it appears on each users start menu?).
Brian
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.