Hello everyone, I installed ibobjects in delphi 2010 to give the components a try, now I want to uninstall them, I run the uninstaller but when I complie my existing proyects I get the following error:
[DCC Fatal Error] accedoCFD_2011.dpr(15): F1026 File not found: 'IB_Access.dcu'
And when I try to run my proyects outside the delphi id...
A google search shows a few examples on how to download a file in Delphi but most are buggy and half of the time don't work in my experience.
I'm looking for a simple robust solution which will let me download a single exe (for updating my app) and will hold the execution of the current update thread until the download is done or error...
How do I control the placement of an MDI child window (FormStyle := fsMDIChild) in Delphi or C++Builder? I know that I can set Left, Top, Position, and so on, but for an MDI child in particular, these don't take effect until after the window has already been created and shown in its default location. The result is that creating and pos...
Microsoft has recently broken our longtime (and officially recommended by them) code to read the version of Excel and its current omacro security level.
What used to work:
// Get the program associated with workbooks, e.g. "C:\Program Files\...\Excel.exe"
SHELLAPI.FindExecutable( 'OurWorkbook.xls', ...)
// Get the version of the .exe...
This should be simple, I need to stop any previous version of my program from running when the installer starts.
Most people suggested making an exe which does this and calling it before Inno Setup starts. I careated an exe using AutoIt which kills all processes of my program. The problem is I don't know how to get InnoSetup to call ...
I'm using delphi to add an graphical interface to a console application.
The problem is when the console application asks for input.
I would normally type in my input and press enter to make it accept my string, but I don't know how to do this.
I'm using this library as a "wrapper" over the console application, it uses pipes for the inp...
I need to make a control a conainter(that holds other controls at design and run time) similiar a TPanel, without inheriting from the custom panel or a similar control, how do i tell my control that its suppose to contain stuff???
...
Lets say I have an intraweb application (written in Delphi 2010) with an iwEdit (called iweLookup) and an iwButton (iwbSearch). When enter is pressed in the iwEdit, I want the iwButton clicked.
The following code almost works, but I think I need something to re-render the page.
procedure TiwfLookupListing.iweLookupAsyncKeyDown(Sender:...
If I am using Delphi at design time, then when I copy/paste a group of components at design time, the pasted components are slightly offset from their originals.
However, I am developing a GUI which allows users to develop a GUI for another app. When I cut/paste the pasted components lie directly over the originals. Is there are way to ...
We're programming in Delphi 2006, using Multilizer 5.1 to translate the program. Now we've to added Polish as a new language in Multilizer. But when we open our executable, Multlizer says "Polish is not supported by the codepage".
If we adjust our regional settings to Polish, whenever we open the executable, the regional settings flip ...
I have read A case against FreeAndNil but still don't understand why I cannot use this method in a class destructor ? Can anyone explain.
Update: I think the comment from Eric Grange was most useful for me. The link show that this is not obvious how to deal with it and it is mainly a matter of taste. Also the method FreeAndInvalidate wa...
Hi,
I built a sample application for dcom by following the steps given in this link.
After building the client and test DCom server, i tried to run client in my system and it worked correctly. But if i try to rum client from remote location, an error message is coming saying "Access is denied".
How can i run my client in remote locati...
Hi, i'm using delphi 2010 +DevExpress_v50
I've moved my project from delphi 2009 +DevExpress_v42 thid summer and faced some strange bugs. most of them were resolved, but some...
in TcxTreeList 16pix free space appears before nodes with imageindex=-1 (in v42 wasnt), looks terrible :(
any ideas where to fix that?
...
Hello everyone,
i have a problem with COM objects and triggering events. I have:
a DLL written in C#.NET (3.5), which triggers events
an application in Delphi5, which uses the DLL as a COM object.
So far so good. Events go like this:
- in the DLL there are 2 events. One is internal and is not COM-visible. The second one is external ...
Hi
My team leader wants me to check if this is possible.
Our app has a grid (we use TAdvStringGrid from tmssoftware) that displays some values. Our users then copy and paste to Excel. (2010) Now they want the values to update automatically when they play with Excel. In other words, I need to copy formulas similar to having a Excel shee...
Hello,
I am writing a program that is used for simplifying the download of an application installer. The app is really simple in it's working: it just asks the BITS subsystem to download a ZIP from the net and decompress it on the user's desktop and run the second stage installer (the idea is that many of our end users are too dumb to b...
Hi all,
I'm using Delphi 9's TDictionary generic class. My TDictionary looks like this:
g_FileHandlers : TDictionary<String, TList<String>>;
And, so I initialize the TDictionary like so:
g_FileHandlers := TDictionary<String, TList<String>>.Create;
I have a TList, that I'm also initializing, so that I can use it to populate the TDi...
Hi everyone,
this is my first post here, so please be gentle if I am missing something out ;-)
I am having a compilation problem with my code in Delphi 2006. I am using a static String array:
fsi_names : array [0..FSI_NUM_VARS-1] of string;
In a procedure I call at the start of the program, I assign values to this array. This code i...
How can i send parameters to CMD? for example send a path and start it from that path? How can i execute CMD commands?
Thanks
...
Hello,
I am writing a DLL with one function in it. This functions return value is a datatype defined in code within the DLL. On the applications side where I reference the function as an external call to a DLL
Function CreateMyObject( MyString : String ) : TReturnType; external 'MyDLL.dll'
How do I get access from the DLL to the ...