devxlogo

July 12, 1999

Typecast Text to LPARAM

Question: How do I typecast text to LPARAM? LPARAM is supposed to be an integer, but clearly the API call wants text. I’m assuming I missed some pchar>string or pointer

String to Float

Question: How do I add two label values together and submit the answer to another label? Label19.Caption := FloatToStrF(Table1Standard.AsFloat,ffCurrency,15,2)Label20.Caption := FloatToStrF(Table1Zero.AsFloat,ffCurrency,15,2)Label21.Caption := StrToFloat(????????? Answer: This is one of those things

Create an Invoice

Question: I need to create an onscreen invoice. I can figure out Supplier name, Customer name, and so on. But I can’t figure out how to do the body?for example,

Passing Collections Between ASP Pages

Question: I am generating Active Server Pages using Visual InterDev and VBScript. I have fetched all my records from the database through my ActiveX DLL into a collection variable. Can

BDE Engine Error When Installing Delphi 3

Question: I used InstallShield that comes with Delphi 3 to install a Delphi 3 program on another user’s computer running Windows 98. The install includes the full BDE and two

Cumulative Summary in SQL

Question: I need a summary-select which summaries cumulative values. This one works in Microsoft Access: SELECT s.nl_item_id, s.nl_value, ( SELECT sum(sub.nl_value) FROM TABLE1 sub WHERE sub.nl_item_id

Paradox Lock Files

Question: I have a Delphi 3 application running on a Novell network, that uses Paradox tables. For some reason, some of the users get the following message every once in

Troubleshooting Setup.exe errors

Question: I am trying to create a setup.exe for VFP 5.0, using the setup wizard. After I installed the application using the setup.exe and ran the program, I got error