Two independent Delphi packages where one receives a message with the call
SendMessage(H, wm_WordWebShowAtom, GlobalAddAtom(PChar(LookupWord)), Self.Handle);
where the 3rd variable is text, sent from xxxx.SelText.
I assume the replacement for the SelText will also be returned by a similar...
I think there might not be an answer - I want to apply a procedure set off from a button which will work whichever field I'm modifying.
The procedure
ShowMessage('Name is '+ Screen.ActiveControl.Name);
showed the button name not the field name I want the procedure to modify.
ActiveControl...
Using Delphi 7 and wanting to know which box I'm working in, whether DBEdit or DBRichEdit etc. Tried Field.Focused, which compiles but says False even though I'm in that Box.
Any ideas?
Thanks in advance.
Delphi 7
I go into dbexpress and set up a TSQL connection that was prepared in dbxconnections, where the parameters work perfectly from ODBC linking to a remote database linked across the internet and receive an error message as below
Delphi 2005
I go into Data Explorer and attempt to set up...
Having set up all the parameters to link to an SQL database from either Delphi 7 or Delphi 2005 running on Windows XP Pro, I get an error message
SQL State 42000, SQL Error Code 4060.
Any ideas?
Thanks in advance
1. The database field is not empty
2. the full name + file extension is included.
3. It always worked under Internet Explorer when the databse was Microsoft Access.
I'm using a SQL 2000 database. One of my tables contains 2 fields, the first - URL - contains a full URL reference, such as http://www.xxx.com/etc.htm. The second - Logo_Name - contains the name of a logo image to be found in the Logos directory.
I use the code <a href="#URL#"...
When using MS Access the following code works
<cfset #UKHour# = #DateAdd("h",5,Now())#>
<cfquery name="addpage" datasource="#AcDNS#">
INSERT INTO tblCounter (visitdate, visittime, browser, ip_address)
VALUES ('#dateformat("#UKHour#", 'dd/mmm/yyyy') #', '#timeformat("#UKHour#"...
I am migrating from Microsoft Access to Microsoft SQL as my database.
I'm getting problems with dates - an error is returned "The conversion of char data type to smalldatetime data type resulted in an out-of-range smalldatetime value."
This is due to the line of code
Set LastVisit =...
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.