'delphi中替换问题
我想定义一个变量
var s:string;
begin
s:=' 'alt="点击这里给我发消息"> </a>' ;
end
变量中间 有个 ’ 两个' 中间 加个一个变量本身的 ’ 就无法实现了
我想应该 再变量中定义 '应该有个字符 代替的吧
......
例:给TClientDataSet1绑定数据后,字段state值为1、2、3
需在DBGrid1中对应显示为
1:我很好
2:我非常好
3:我非常非常好
做法:
if (TClientDataSet1.FieldCount>0) and (TClientDataSet1.RecordCount>0) then
begin
with TClientDataSet1 do
......
由于要用到Memo1.Lines.LoadfromFile('C:\123.htm');但是又不知道123.htm具体的位置,因此要尝试十多下,这样就会出错,delphi中有没有类似于VB的On error resume next
try
......
finally
//最终会被执行 ......
delphi 2009中如何创建Windows Forms Application?
这个问题也不知我是否看错了
File-New-VCL Forms Appliction
送分题
按你的意思是说VCL Form Application与Windows Forms Application没区别是吗?
都是win32程序
vcl是delphi自己写的架构,类似于mfc
......
第一次试用delphi 做SOAP 用的是delphi 2007 for win32
但是网上找了的资料基本是delphi 6的哪一份,如何设置IIS我都不太了解
Delphi(Pascal) code:
一、fiel-->new-->other-->webservicws-->SOAP server Application
二、选择 ISAPI/NSAPI dynamic link library
三、 create Interface ......
procedure TForm1.Button1Click(Sender: TObject);
var
int1:integer;
stream:TfileStream;
begin
stream:=TFileStream.create('D:\t.dat',fmcreate);
int1:=54;
stream.Write(int1,sizeof(integer));
stream.free;
&n ......