I have an application that can load various graphical file formats such as bmp, jpg, png, emf, etc... and render them onto the screen for previewing.
I am using Delphi 7. I have just been introduced to the EMF+ file format that was created around the time of Windows XP that is created utilizing the GDIPlus.dll. I can open the EMF+ file...
is there any data fitting component for delphi7 ?
...
Does any one has succesfully created a unit or Delphi 7 class to upload tweets to the TWitter web site ?
I would like to be able to add tweets from within my Delphi program.
...
Hello All,
I am developing a 3 tier database application.
1.) MS SQL DB
2.) Middle tier SOAP Server (with Delphi 7) connected to the DB
3.) Clients (first win32 gui (with Delphi 7) - later other platfomrs) connected to the SOAP server
I chose a SOAP Server to be open to various clients at a later stage (also some of the win32 gui clien...
I try to debug a COM+ DLL in Delphi 7 in a Win7 environment. How can I do this?
...
I know in delphi you can open the default browser with:
ShellExecute(self.WindowHandle,'open','www.website.com',nil,nil, SW_SHOWNORMAL);
but I'm wanting to know if there is a way to automatically post data on the new opened brower window OR auto fill the login data (even in firefox, safari,etc)
Thanks
-Brad
...
Is there any single event on the DataSet that I can use to make sure my client has applied updates and has the newest data from the SOAP Server?
At the moment I need to add
clientDataSet.applyupdates(0);
clientDataSet.refresh;
for each AfterDelete and AfterPost event on all datasets I use in my SOAP client?
It seems rather a lot...
Hi everyone!
I'm trying to remake some of my older projects to support Aero Glass. Although it's kinda easy to enable glass frame, I've encountered some major problems. I used this code:
var
xVer: TOSVersionInfo;
hDWM: THandle;
DwmIsCompositionEnabled: function(pbEnabled: BOOL): HRESULT; stdcall;
DwmExtendFrameIntoClientArea: f...
How do I go about sending a Windows Message to a form in my application that is not the MainForm? Using the code below gives me an Access Violation.
procedure TMainForm.SendMessageToAnotherForm;
begin
SendMessage(MyForm.Handle,WM_MY_MESSAGE,0,0);
end;
MyForm has already been created and is the top most window.
Edit: I have tried P...
I found a difficult with SQL on Delphi, I use ADOconnection and ADOQuery.
Here these Query
With ADOQuery Do
Begin
SQL.Text:='SELECT QUnionSAPiutang.kd_Customer, T_Customer.nama_customer, '
+'CDbl(IIf(IsNull(DSum("SA","QSumSAPiutang","kd_Customer='" & [QUnionSAPiutang].[kd_Customer] & "' AND ' +'Tgl<#1/1/2010# "))...
I need to store multiple objects (most of them are TObject/non persistent) to a TMemoryStream, save the stream to disk and load it back. The objects need to be streamed one after each other. Some kind of universal container.
At the moment I put all properties/fields/variables of an object into a record and save the record to stream. But...
This should be a simple answer, i believe its going to be a no,
but taken from a larger project, i have an interface and the procedure
iMyUnknown= interface(IInterface)
['..GUID..']
end;
procedure WorkObject(iObj :iMyUnknown);
i know this works
var
MyUnknown : iMyUnknown;
begin
if supports(obj, iMyUnknown, MyUnknown) then
Work...
Hi,
I need to display a thumbnail preview of a folder full of MP4 files.
So, is there a Delphi 7 component which extract a thumbnail image from MP4 files (if MP4 does contain a thumbnail image), or is there a Delphi 7 component which can extract the 1st frame from a MP4 file ?
I need to extract it so I can save it to a .jpg or .png f...
Hi.
Anybody knows how to merge two menus with the same name in a MDI application.
More exactly, in the MDI main form I have a menu called 'File' which has a sub-menu called 'Load project'.
In the MDI child form, I have a menu called also 'File' which contains a sub-menu called 'Save project'.
How can I force my application to show both...
I am trying to use Java based webservice and have soap request:
<?xml version="1.0"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:...
Hi,
I am helping out my company with some old delphi 7 code.
There is a record declared at the start that is used throughout to store all the data we want outputted.
type
TOutput_Type = record
result: String;
resultoffset: String;
selected: boolean;
resultcateg...
I want to copy a part of a FileStream to a memory stream.
FileStream.Write(Pointer(MemoryStream)^, MemoryStream.Size);
FileStream.Read(Pointer(MemoryStream)^, count);
Is that right? it isn't working for me.
...
It's Delphi seven and I to split a string into lines.
Specifically, I have a DFM as a string (pulled from a MySql database) and I want to split it into lines in a TStringList.
It looks something like this ...
'Oject Form1: TScriptForm'#$D#$A' Left = 0'#$D#$A' Top = 0'#$D#$A' Align = alClient'#$D#$A' BorderStyle = bsNone'#$D#$A' ...
Is "Replacing non-visual components with code" a proven optimization technique in Delphi 7. Mainly with respect to Database Access.
...
I am an engineer and not a software programmer, so please excuse my ignorance.
I have written a Delphi(7SE) program to read “real” datatype from a USB port connected to two digital thermometers.
I have completed this much of the program.
What I have not completed as yet is explained by the following:
I wish to save this “real” data t...