Delphi8安装前的准备

2003/12/26
Delphi8安装前的准备
1、Microsoft .NET Framework Version 1.1 Redistributable Package
http://download.microsoft.com/download/a/a/c/aac39226-8825-44ce-90e3-bf8203e74006/dotnetfx.exe

2、.NET Framework SDK Version 1.1
http://download.microsoft.com/download/5/2/0/5202f918-306e-426d-9637-d7ee26fbe507/setup.exe

3、Microsoft Visual J# .NET Version 1.1 Redistributable Package
http://download.microsoft.com/download/0/5/5/055cd070-5455-470e-bc34-075f70c050a0/vjredist.exe

4、Java 2 Runtime
http://public.planetmirror.com/pub/java-sun/J2SE/1.4.2_03/win32/j2re-1_4_2_03-windows-i586-p.exe
试了一下,写了一个简单的程序,拿到Win98电脑上运行通过。需要先运行dotnetfx.exe。

2003/12/27
If IIS is installed after the .NET Framework, ASP.NET must be
registered with IIS by choosing Start | Run and entering the
following command:

%comspec% /K %windir%\microsoft.net\framework\v1.1.4322\aspnet_regiis.exe -i

Otherwise, attempting to run an ASP.NET application in the IDE
will result in the error "Unable to attach to ASP.NET worker

例子WorldTravel(WebDB)要求InterBase7.1(http://www.interbase.com),用"localhost:C:\program files\borland\bds\2.0\Demos\WebDB\worldtravel.gdb"设置BdpConnection 。测试通过。

例子DB/ASPPortal
1.从OWEBackup.bak还原数据库D4NetSoft(mssql2k),注意数据库文件的位置须在C盘指定的位置;
2.拷贝目录BDSWebExample到IIS的wwwroot,重命名为OctaneWebExample
3.运行
测试通过。

注册用户时出错:
Page.IsValid cannot be called before validation has taken place. It should be queried in the event handler for a control with CausesValidation=True or after a call to Page.Validate.

2003/12/30

按照delphi8的在线帮助
Building an ASP.NET "Hello World" Web Services Application成功
Accessing an ASP.NET "HelloWorld" Web Services Application遇到下面的问题,帮助中拷贝的如下代码:
procedure TWinForm1.Button1_Click(sender: System.Object; e: System.EventArgs);
begin
new ws := WebService1();
button1.Text := ws.HelloWorld();
end;
编译时出现如下错误:
[Error] WinForm1.pas(93): '(' expected but identifier 'ws' found
[Error] WinForm1.pas(94): Missing operator or semicolon
[Fatal Error] Project2.dpr(19): Could not compile used unit 'WinForm1.pas'

照帮助不行,那就自己修改一下吧,在代码中加入下面一行:
uses localhost1.Webservice1;
然后修改代码如下:
procedure TWinForm1.Button1_Click(sender: System.Object; e: System.EventArgs);
var ws:localhost1.WebService1.TWebService1;
begin
ws :=localhost1.WebService1.TWebService1.Create();
button1.Text := ws.HelloWorld();
end;
编译通过,成功运行。

两种客户端都试过,成功!
用JBuilder9写的Tomcat下的webservice,用Delphi8写的客户端测试通过。


2004/01/03
Delphi8提供了新的数据库技术ADO.NET和BDP.NET,包括BDE是为了向后兼容,dbExpress是为了创建跨平台应用,IBX.NET (InterBase for .NET),DataSnap .NET 使用Midas (DCOM)客户连接三层应用中的数据库。

2004/01/05
Delphi8中可以创建两种不同的应用,VCL Forms Application和Windows Forms Application相应地也有.NET VCL component和.NET component。.NET VCL component是为了与以前的版本兼容,ADO.NET connector就是这种控件,但是确省地不出现在工具栏。很多控件都没有出现,包括许多Active X控件。


2004/01/10
Delphi8开发ASP.NET应用时服务器端脚本语言也是用的C#。

2004/01/12
用Delphi8开发ASP.NET应用一般步骤:
1.建立BdpConnection
2.建立BdpDataAdapter,设置BdpDataAdapter中的connection,选择Table,选择DataSet
3.设置DataSet中的Tables-Columns
4.建立DBWebDataSource
5.建立DBWebGrid和DBWebNavigator,设置它们的DBDataSource和TableName,设置DBWebGrid的Columns(可以包含Button Column,Edit,Delete等)

2004/03/15 VS.NET 2003
安装了VS.NET 2003英文版,没有MSDN光盘。不过可以在线查看,地址如下:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnanchor/html/vsnetanchor.asp

VS.NET 2003支持windows ce.net应用开发。

2004/03/18 VS.NET 2003
建立多层应用,遇到如下问题:
D:\My Documents\Visual Studio Projects\AuthorsWebService\AuthorsWinClient\Web References\localhost\Reference.map(1): Custom tool warning: DiscoCodeGenerator unable to initialize code generator. No code generated.

2004/03/19 VS.NET 2003
重做了一次,没有遇到上述问题,winclient成功。
但是在做webclient时,Update遇到下面的问题:
Specified cast is not valid.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidCastException: Specified cast is not valid.

Source Error:


Line 81: for (int i=1; i <= AuthorData.authors.Columns.Count; i++)
Line 82: {
Line 83: TextBox t = (TextBox)(e.Item.Cells[i].Controls[0]);
Line 84: DataRow row = AuthorData.authors[e.Item.DataSetIndex];
Line 85: row[AuthorData.authors.Columns[i-1].Caption] = t.Text;


Source File: c:\inetpub\wwwroot\authorswebclient\webform1.aspx.cs Line: 83

Stack Trace:


[InvalidCastException: Specified cast is not valid.]
AuthorsWebClient.WebForm1.DataGrid1_UpdateCommand(Object source, DataGridCommandEventArgs e) in c:\inetpub\wwwroot\authorswebclient\webform1.aspx.cs:83
System.Web.UI.WebControls.DataGrid.OnUpdateCommand(DataGridCommandEventArgs e)
System.Web.UI.WebControls.DataGrid.OnBubbleEvent(Object source, EventArgs e)
System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)
System.Web.UI.WebControls.DataGridItem.OnBubbleEvent(Object source, EventArgs e)
System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)
System.Web.UI.WebControls.LinkButton.OnCommand(CommandEventArgs e)
System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
System.Web.UI.Page.ProcessRequestMain() +1277


2004/03/22 VS.NET 2003
安装了MSDN简体版
Windows2000BIG5+VS.NET 2003English+MSDNGB
可用。

2004/03/24 VS.NET 2003
101 Visual Basic and C# Code Samples
http://www.microsoft.com/downloads/details.aspx?familyid=08e3d5f8-033d-420b-a3b1-3074505c03f3&displaylang=en

2004/03/25 VS.NET 2003
数据库应用开发工具
http://www.deklarit.com
按getting started试了一下,感觉很好
VSS和Vision需单独安装

2004/03/27 Delphi8
Borland的产品强调建模,delphi8和C#Builder都支持UML类图。
VS.NET 2003的建模工具是Visio。

2004/04/01 Delphi.NET
Delphi.net做的Asp.net都出现如下错误:“unable to attch to asp.net worker process(typically aspnet_wp.exe or w3wp.exe)”
这个错误一般是安装.NET Framework之后才安装IIS引起的。解决办法是在命令行执行下面的命令
%comspec% /K %windir%\microsoft.net\framework\v1.1.4322\aspnet_regiis.exe -i
之后也可能还会出现一次这个错误,再试一次就行了。
这样,在WEB站点的目录下会建立一个子目录aspnet_client



2003-12-26 15:09:00
发表评语&raquo;&raquo;&raquo;

2003-12-30 16:39:54 .NET Frameworkvbc.exe in \WINNT\Microsoft.NET\Framework\v1.1.4322
Samples in \Program Files\Microsoft.NET\SDK\v1.1

2004/01/02
昨天安装了VS.NET,做Web service的“Hello World”例子试了一下,成功。做法跟Delphi8非常类似。只是不能调试。按照在线帮助检查,问题解决。要用计算机名代替IP。

2004/01/07
按在线帮助用VS.NET做Web页面,点击一个按钮弹出一个消息框,很方便。C#可代替JScript。

2004/07/12
下载了IBM Rational XDE Developer .NET评估版(有效期15天),与VS.net结合紧密。

*****************************************

最近又开始学习delphi。停了好几年不用了,找了些资料看了看,结果其中找到这个。没时间看,先装在这里,以后慢慢看了。昨天晚上看了李维的D8运用视频讲座。发现怎么D8就和VS一个德行啊。borland怎么也向.NET靠近了。是不是殊途同归?!不过看到D8这样的功能,也还是高兴。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值