Delphi Pages Forums  

Go Back   Delphi Pages Forums > Search Forums

Lost Password?

Showing results 1 to 50 of 383
Search took 0.14 seconds.
Search: Posts Made By: DelphiCode
Forum: DB-Aware 10-24-2008, 05:43 AM
Replies: 2
Views: 2,121
Posted By DelphiCode
RE: IWDBGrid

Yes. The ReadOnly property is false.

Thanks.

DelphiCode
Forum: DB-Aware 10-22-2008, 11:36 AM
Replies: 2
Views: 2,121
Posted By DelphiCode
IWDBGrid

I used IWDBgrid in my application. When I run it, I can not edit value inside the IWDBgrid. What property should I set in IWDgGrid to enable user to edit field in the grid.

Thanks.

DelphiCode
Forum: General 10-09-2008, 05:44 AM
Replies: 0
Views: 661
Posted By DelphiCode
How to create a WinForm

I read a article which says 'A Windows Form Application is the .Net equivalent to a Delphi 7 (or earlier) Win32 application. You create one using the File | Windows Forms Application menu option (or...
Forum: General 09-04-2008, 05:47 AM
Replies: 0
Views: 847
Posted By DelphiCode
Error Message from Delphi 2007

I compiled delphi 2006 project with Delphi 2007. When I run the program, got the following error messgage.
'The procedure entry point@Dwmapi@initialization$qqvv could not be located in the dynamic...
Forum: General 09-02-2008, 11:40 AM
Replies: 1
Views: 6,431
Posted By DelphiCode
What is E2466 Never-build package

I used minmodal package. When I compile my project, I got the following error message:

E2466 Never-build package'.Package1' requires always-build package 'minmodalpack'

How to fix the problem?...
Forum: General 08-22-2008, 09:42 AM
Replies: 1
Views: 830
Posted By DelphiCode
Date Format

The following is my sql.

select to_char(sysdate, 'Month dd, yyyy') as letterdate
from dual

August 22, 2008

There are 4 empty spaces between August and 22. How to get only one empty space...
Forum: General 08-13-2008, 07:40 AM
Replies: 1
Views: 862
Posted By DelphiCode
How to make a long form

I use Delphi 2006. I can not change the length of the form even if I type the height to be 900. Every time after I type 900 and press enter key, the height automatically goes back to 523.

How to...
Forum: General 07-23-2008, 12:36 PM
Replies: 7
Views: 4,632
Posted By DelphiCode
RE: Save File into blob field

Thanks for your help. I am test your codes.

Where do I read c:\File2.doc?

This line of code does not work. I can not find DataString.
Table1['Field1'] := oStream.DataString;
Forum: General 07-23-2008, 12:12 PM
Replies: 7
Views: 4,632
Posted By DelphiCode
RE: Save File into blob field

Could you give me the codes?

Thanks.

DelphiCode
Forum: General 07-23-2008, 10:39 AM
Replies: 7
Views: 4,632
Posted By DelphiCode
Save File into blob field

The content of the file has text with different fonts and under line. After saving the file into a blob field, the underline disappeared, and the saved text only has one font. How do save text from...
Forum: General 07-07-2008, 11:02 AM
Replies: 1
Views: 1,065
Posted By DelphiCode
Rave Report

I created a rtf file with WPTool and want to convert the rtf document to pdf with Rave report, but the conversion did not work. Can Rave read rtf file?

Thanks.

DelphiCode
Forum: General 07-02-2008, 08:37 AM
Replies: 3
Views: 1,356
Posted By DelphiCode
RE: Strto date function

You are right. I used your codes.

Thanks.

DelphiCode
Forum: General 06-24-2008, 05:44 AM
Replies: 3
Views: 1,356
Posted By DelphiCode
Strto date function

I need to get the date format of 'YYYYMMDDHHMMSS' as a string. I used DateToStr(Now()) and got '2008/07/24'. How to get the format as '20080724081223'.

Thanks.

DelphiCode
Forum: General 06-12-2008, 05:59 AM
Replies: 1
Views: 1,261
Posted By DelphiCode
Add value to session variable

I use Delphi 2006 for .Net to design a login page. I want to give users a warning message after they type wrong password for 3 times. I used the following codes, but session variable is always 1,...
Forum: General 06-05-2008, 10:11 AM
Replies: 3
Views: 623
Posted By DelphiCode
Line return

I want to put the following text into a label:

Company
First name
Last Name

I used the following codes:
Label1.text := 'Company' + #13#10 + 'Last name' + #13#10
+ 'First Name'...
Forum: General 06-04-2008, 07:26 AM
Replies: 1
Views: 703
Posted By DelphiCode
Check fields of text file

I need to checklarge text file to see whether each field meet the required specifications. For example, positions 0-5 are characters which has to be left justified, and space is allowed. Positions...
Forum: General 05-29-2008, 11:21 AM
Replies: 3
Views: 846
Posted By DelphiCode
RE: String Parse

Since the prefix is not case sensitive, it can be 'hij', or 'HIJ', or 'HiJ', etc. I used Upcase(TheString), but got error messsage 'there is no overloaded version of 'UpCase' that can be called with...
Forum: General 05-29-2008, 10:14 AM
Replies: 3
Views: 846
Posted By DelphiCode
String Parse

I have strings with prefix as hij, followed by numeric numbers such as hij3451, or hij5678930 etc. I need to parse the first 3 characters to check whether they are 'hij' (not case sensitive). Then I...
Forum: General 05-22-2008, 07:28 AM
Replies: 1
Views: 939
Posted By DelphiCode
Use IIS or Cassini web server

I try to use Delphi 2006 to do file upload. If I use Cassini, I can save the file to my local folder, but if I use IIS, I can not save the file. Below are codes copied from Delphi.about.com.
...
Forum: General 05-01-2008, 11:00 AM
Replies: 2
Views: 720
Posted By DelphiCode
RE: String Parse Question

Your codes worked.

Thank you very much for your help.

DelphiCode
Forum: General 05-01-2008, 10:16 AM
Replies: 5
Views: 1,106
Posted By DelphiCode
RE: String Parse

I put another String Parse question in the forum today. could you please help me out.

Thanks.

DelphiCode
Forum: General 05-01-2008, 08:46 AM
Replies: 2
Views: 720
Posted By DelphiCode
String Parse Question

I want to parse the following string into different edit fields.

+SMITH+DONNA+EMAIL+(205)111-2222+HILL MALL DRIVE
SUITE 269
ST. PETERS
MO
63376

+WESTER+SHAWN+FAX+2234 SANDHILL RD.
LINCOLN
Forum: General 04-29-2008, 06:57 AM
Replies: 5
Views: 1,106
Posted By DelphiCode
RE: String Parse

I will test your codes later.

Thanks.

DelphiCode
Forum: General 04-29-2008, 06:42 AM
Replies: 5
Views: 1,106
Posted By DelphiCode
RE: String Parse

I thought about storing each record on a line. Please tell me how to that.

If each record on a line, how do I know that I got to the end of the data when I parse the string?

Thanks for your...
Forum: General 04-29-2008, 06:14 AM
Replies: 5
Views: 1,106
Posted By DelphiCode
String Parse

Data from a stringGrid are as follows.

Last Name First Name Fax Number Eamil

Smith Larry (411) 111-1111 Slarry@yahoo.com

Jones Susan (202) 333-3333 ...
Forum: General 03-28-2008, 11:13 AM
Replies: 7
Views: 1,421
Posted By DelphiCode
RE: Relete records from StringGrid

I will try it.

Thanks.

DelphiCode
Forum: General 03-28-2008, 10:51 AM
Replies: 7
Views: 1,421
Posted By DelphiCode
RE: Relete records from StringGrid

How to add check box in stringGrid?

Thanks.

DelphiCode
Forum: General 03-28-2008, 10:43 AM
Replies: 7
Views: 1,421
Posted By DelphiCode
RE: Relete records from StringGrid

Thanks for your help. How do you know the selected(highlighed) row number?

Thanks.

DelphiCode
Forum: General 03-28-2008, 10:17 AM
Replies: 7
Views: 1,421
Posted By DelphiCode
Relete records from StringGrid

How to highlight a few lines of records in a stringgrid and delete the highlighted records from the StringGrid.

Thanks.

DelphiCode
Forum: General 02-14-2008, 05:33 AM
Replies: 4
Views: 871
Posted By DelphiCode
RE: Upload Files

My .Net version is 1.1.

Thanks.

DelphiCode
Forum: General 02-13-2008, 07:06 AM
Replies: 4
Views: 871
Posted By DelphiCode
RE: Upload Files

I use Borland Developer Studio 2006.

Thanks.

DelphiCode
Forum: General 02-13-2008, 06:51 AM
Replies: 4
Views: 871
Posted By DelphiCode
Upload Files

I am learning Delphi ASP.Net by following online course. The following are codes from the course which I can not compile.The error message is that the 'GetFileName' and 'Combine' are not recognized....
Forum: General 01-08-2008, 05:54 AM
Replies: 10
Views: 9,427
Posted By DelphiCode
RE: How to stop service

Thanks for your help.

I compiled you StopService function and get some error message. It does not recognize 'SC_HANDLE', 'TServiceStatus', 'Screen', 'OpenSCManager','getLastErrorStr',...
Forum: General 01-07-2008, 11:05 AM
Replies: 10
Views: 9,427
Posted By DelphiCode
RE: How to stop service

Thanks for your help.
I used your codes, but still can not stopped the service. I want to create 5 random number in ProcessMyTrnsaction, then stop the service. Please look at my codes and let me...
Forum: General 01-07-2008, 08:31 AM
Replies: 10
Views: 9,427
Posted By DelphiCode
RE: How to stop service

Thanks for your reply.

There is 'Service1.ServiceStop(Var1, Bolean). I do not know what is the Var1. I put service name as Var1, but it did not compile.

DelphiCode
Forum: General 01-07-2008, 08:19 AM
Replies: 10
Views: 9,427
Posted By DelphiCode
How to stop service

I tried to use 'service1.terminated' to stop a service, but it did not work. I want to stop service if counter > 5. How to do it?

thanks.

DelphiCode
Forum: General 11-02-2007, 08:33 AM
Replies: 2
Views: 1,798
Posted By DelphiCode
RE: WSDL in Delphi 2006

I solved the problem by using CoInitialize.

DelphiCode
Forum: General 11-01-2007, 10:13 AM
Replies: 2
Views: 1,281
Posted By DelphiCode
Error message: CoInitialize has not been called - Please Help!

I used the following codes to call web site and got 'CoInitialize has not been called' error. How to call CoInitialize?

Var Interf :MessageService1;

Interf := GetMessageService(true,...
Forum: General 11-01-2007, 05:50 AM
Replies: 2
Views: 1,798
Posted By DelphiCode
WSDL in Delphi 2006

I have a Delphi 7 program which uses WSDL to call a web service. I try to convert this program to Delphi 2006, but got access violation error. Can Delphi 2006 uses WSDL? How to find WSDL in Delphi...
Forum: General 10-11-2007, 12:12 PM
Replies: 1
Views: 681
Posted By DelphiCode
Fiind a portion of string

I have the following items in a listbox:

AAAAAAAAAA To mail
ABABBABABBBBB To email
CDCDCDCDCDCDCDCDCDCD To fax

I need to find out whether the listbox contains...
Forum: General 07-27-2007, 10:27 AM
Replies: 2
Views: 767
Posted By DelphiCode
RE: Get Partial String

Thanks for your help.

I used your codes but can not delete the string after the space.

DelphiCode
Forum: General 07-27-2007, 08:28 AM
Replies: 2
Views: 767
Posted By DelphiCode
Get Partial String

I have a string in a listbox as follows:

ABHDFLLLFM GO THERE.
JJJJJdfasf
BBBBBBBBBB

Please tell me how to copy everthing except 'GO THERE' form listbox1 to a Tmemo.

Thanks.
Forum: General 07-27-2007, 06:56 AM
Replies: 4
Views: 1,184
Posted By DelphiCode
RE: Copy from ListBox

Thanks for your help. I forgot to list other values in the list box. The list box looks like the following:

Jone Doe To Email
3456 J Street
New York

I need to copy the above...
Forum: General 07-27-2007, 06:19 AM
Replies: 4
Views: 1,184
Posted By DelphiCode
Copy from ListBox

I added items to a list box using the following codes:

Listbox1.Items.Add('JONE DOE' + Tab + 'To Email');

The listbox has the follwoint value:

JONE DOE To Email

I need to copy 'JONE...
Forum: General 07-12-2007, 04:44 AM
Replies: 3
Views: 929
Posted By DelphiCode
RE: The location of the cursor

Thanks for your help. Can you give me exemplary codes.

DelphiCode
Forum: General 07-11-2007, 10:32 AM
Replies: 3
Views: 929
Posted By DelphiCode
The location of the cursor

How can I write a if statement to get the location of the cursor such as if the cursor is in DBGrid1, then do this, if the cursor is in Edit1, do that.

Thanks.

DelphiCode
Forum: General 07-10-2007, 08:12 AM
Replies: 2
Views: 9,365
Posted By DelphiCode
How to create columns in ListBox

I need to put telephone number in one column and fax number in antother column in a listbox. Please tell me how to create columns in a listbox.

Thanks.

DelphiCode
Forum: General 07-09-2007, 10:10 AM
Replies: 2
Views: 7,056
Posted By DelphiCode
How to edit items inside Listbox

How to make items inside a listbox editable?

Thanks.

DelphiCode
Forum: General 07-09-2007, 05:51 AM
Replies: 2
Views: 2,652
Posted By DelphiCode
How to add a line space between listbox items

How to add line space among items in a listbox as below.

AAAAAAAAAAA

BBBBBBBBBBB

CCCCCCCCCCC

Thanks.
Forum: General 07-06-2007, 12:52 PM
Replies: 2
Views: 636
Posted By DelphiCode
ListBox

Can listBox have scrollbar?



DelphiCode
Showing results 1 to 50 of 383

 
Forum Jump

All times are GMT. The time now is 04:39 AM.


Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2019, vBulletin Solutions, Inc.