Thanks :-) it always seems the complicated option is the only one.
Looks like it will be a couple of weeks before I get back to this due to other priorities. Will update this thread when I get back to it...
Robertio
Software Developer
It compiles ;-) thanks to the uses, thanks.
The problem running it locally is tSTGM.TYMED <> TYMED_ISTORAGE as it is TYMED_ISTREAM which throws it into the non-existent else statement.
I've been too busy on other stuff to work out how to save an ISTREAM.
That was with a single attachment...
Thanks :-)
Any chance you can tell me where the following are declared? I get undeclared identifier in Delphi 6, so don't know if it is a missing uses, or something added in a later version (or just that I'm suffering brain fade - switching back and forth between Delphi and C# is causing me no...
Bit of a strange requirement, but a customer has asked for this so, any ideas on how to:
User copies attachment(s) from Outlook
They then right click in our app and paste. At which point the application will create a file for each attachment plus creating records in the database.
I have this...
Thanks, it already is. The SLA account is set to use the Administrator account, the same one I am logged in with. On the backup job Resource Credentials section if I click Test All it comes back with a result of Successful.
We have an application running against an Oracle database on a customer's site and for some reason cannot get Backup Exec to backup the database. It is backing up the drives fine, and through the selection properties of the job it can see each of the tablespaces, which should mean the remote...
Has anyone got/seen an example of how to do remoting with Enterprise Core Objects?
Can use ECO to create a project, and have remoting working for strings, etc. just can't work out how to get them both to work together.
Given the whole point of ECO was to provide an easy way of setting up a data...
You can determine if a specific OpenDialog (in this case OpenDialog1)is active by:
var
Handle : THandle;
begin
Handle := OpenDialog1.Handle;
if Handle<>0 then
ShowMessage (IntToStr(Handle));
Robertio
Alias: Robbie Calder
Software Developer
As a general rule databases and web pages don't go together. You are best to take what you want from the db in a read, then on post of the record change check if the value in the db has changed and deal with it by either posting the changes or not depending on whether or not the underlaying...
If you know the regions you want to play with then you can copy areas of an image and put them in a seperate image which you can then distort and copy back.
Drop 2 TImage components on a form.
Load an image into 1 of them.
Drop a button onto the form.
Put the following code on button click...
The little utility I use for borrowing ;-) icons:
Drop 1 TEdit (edtFilename) 1 TImage (imgIcon) and 1 TButton and put the following code on button click.
var
IconIndex: word;
Buffer: array[0..2048] of char;
IconHandle: HIcon;
begin
StrCopy(@Buffer, PChar(edtFilename.Text))...
Hopefully I'm just being stupid, but I can't find a way of saving a file (in this case a tiff image) out of a package in a TOLEContainer.
If you drop a TOLEContainer on a form, then put a button on which calls OleContainer1.CreateObjectFromFile('File Name Of A *.TIF File',false);
then run the...
Is there any way to redraw a datagrid from javascript?
Scenario:
One screen with a grid on it, last column is a hyperlink
User clicks on hyperlink and is taken to a screen with details about the selected row. This screen is a popup window with parameters passed to it (so it knows what to...
Is there any limit to the number of databases you can have on the same server? or is it simply a case of you can keep running more until it grinds to a halt?
Unusual scenario where we will have to run 16 different databases (actually the same database structure, but different data on each) on...
In case it is ever of any use to anyone else:
Eventually tracked down that the storage parameter required a schema, so:
CREATE INDEX SPROLIVE.IDXCALLARCHCOMMENTS
ON SPROLIVE.CALLARCH(CAL_COMMENTS) INDEXTYPE IS CTXSYS.CONTEXT
PARAMETERS ('storage SPROLIVE.Sproliveidxwordindex')
Works...
Any ideas appreciated:
CREATE INDEX SPROLIVE.IDXCALLARCHCOMMENTS
ON SPROLIVE.CALLARCH(CAL_COMMENTS) INDEXTYPE IS CTXSYS.CONTEXT
PARAMETERS ('storage Sproliveidxwordindex')
It is exactly the same command (copied and pasted) as we used on a previous install of Oracle 817 where it...
To create a simple DLL from Delphi, your project source file should look something like:
library MyDLL;
uses
SysUtils,
Classes,
Blah, blah, blah
exports
Function_To_Be_Called_Remotely;
begin
end.
Then in your unit
unit Blah;
interface
uses
Windows, Messages, SysUtils...
My guess would be your DataType for the field in the FieldDefs of the ClientDataSet - check that it is a ftFloat. There is nothing wrong with your display format.
Robertio
Alias: Robbie Calder
Software Developer
urc@walkermartyn.co.uk
Long shot this one, but:
Trying to connect to a web service via the WSDL and it isn't working. Keep on getting the following error:
Only a default namespace can have an empty URI.
Line:4
<nw1:nullResponse xmlns:ns1="" SOAP-ENV:.
Have not a clue what is wrong so any suggestions...
Hi All,
We're trying to get a toolbar (or a similar component if there is one) to be aligned to the top under the compact framework. It works fine if not under cf, but as soon as the cf is used it jumps to the bottom of the screen :-(
Does anyone know of a way around this? or another...
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.