16
11
2006
Author: Ahlang
In: Computer
收到Adobe的邀请函.DW9即将开测……

引用内容
告诉您一个振奋人心的消息:您受邀参加专享的 Beta 版测试(现称为预发行)计划,Dreamweaver 9 (Hanzo)。该预发行计划的名称是“Hanzo 预发行”。
请完成所有预发行手续并访问“Hanzo 预发行主页和指南”网站。
…………
…………
请查阅以下有关您参加预发行计划的 *标准* Adobe 策略:
请注意,本邀请函并不保证您将会获准参加预发行计划。
只有在所有注册手续成功完成并签订在线预发行协议之后,您才可以获准参加 Hanzo 预发行计划。
您参加 Hanzo 预发行计划的活动受《系列协议》中规定的“条款和条件”的约束。请仔细阅读《系列协议》,然后签订该协议。
去年参加完MM的DW8测试之后,还收到MM寄过来的4套繁体版的DW8
等过段时间看看是否能成为DW9的内测员….
9
11
2006
Author: Ahlang
In: Computer
近几日gmail发送到sohu,sina的邮件经常被退回,显示

引用内容
Technical details of permanent failure:
TEMP_FAILURE: Could not initiate SMTP conversation with any hosts:
[sohumx.sohu.com. (10): Connection reset by peer]
,邮件不容有失,就申请了个163的邮局,outlook中smtp,pop3都已按照帮助中所设置,但每次都是死活提示号跟密码有问题,郁闷N久,今天才在邮箱登陆后的脚落里看到维护公告…………暴汗

2006年11月18日更新:鸟163邮箱…..

31
10
2006
Author: Ahlang
In: Computer
v2.30[275]最新版本


引用内容
一套功能强大,可取代记事本的文字编辑器,拥有无限制的Undo/Redo、英文拼字检查、自动换行、列数标记、搜寻取代、同时编辑多文件、全屏幕浏览功能。而它还有一个好用的功能,就是它有监视剪贴簿的功能,能够同步于剪贴簿自动将文字贴进EditPlus的编辑窗口中,让你省去做贴上的步骤。另外它也是一个好用的HTML编辑器,除了可以颜色标记HTML Tag (同时支持C/C++、Perl、Java)外,还内建完整的HTML和CSS1指令功能,对于习惯用记事本编辑网页的朋友,它可帮你节省一半以上的网页制作时间,若你有安装IE 3.0以上版本,它还会结合IE浏览器于EditPlus窗口中,让你可以直接预览编辑好的网页(若没安装IE,也可指定浏览器路径)。
更新列表:

引用内容
What's new:
<feature>
* Code Folding based on line indentation (View->Code Folding).
* 'Copy as HTML' command (Edit->Clipboard).
* 'Search Document', 'Search All Open Files' command (Edit->Insert).
* $(WindwList) argument macro supports 'Create temp file of remote file'
option.
* 'Use XHTML tags' option (Preferences->General).
* Setup program supports 'Store configuration files in my profile
directory' option.
* 'Sum' command (Tools).
* 'View in Browser 2' command (View).
* 'Create File' command (Directory Window).
* 'Default encoding' option (Preferences->Files).
* 'Beginning page number' option (Preferences->Print).
* Holding down the Shift key when deleting file bypasses the Recycle Bin.
* Backup File Directory option allows environment variable.
* 'Warn if server doesn't respond in 10 sec.' option (FTP Settings).
* Adds 'Document'->'File Format Multiple' as a separate command.
* Toolbar button for 'File Directory', 'Monitor Clipbaord', 'Set Read
Only'.
* 'Use system font in dialog box' option (Preferences->Fonts).
<bug fix>
* One undo command could cause multiple undo operations.
* Syntax colors not updated in first line after change syntax color.
* 'Recent Directories' not working in Directory Window on Projects.
* 'Default encoding' option was not applied to new file.
* Up/Down key caused wrong cursor position with selected text.
* On Windows Vista, regex could be entered at wrong position on the Find
dialog box.
* 'Edit'->'Insert'->'Search Document' command could cause program crash.
* Some FTP sites could cause program crash.
* Multiple instances did not maintain its own Base Local Directory.
* In word wrap mode, screen update was not correct in some cases.
* Toolbar buttons for Expand/Collapse One Level, Exapnd/Collapse All.
* 'Code Folding'->'Collapse' command did not work correctly in some cases.
* Del key at the end of line could cause incorrect code folding.
* Multi-line input box on the Find/Replace dialog box had 40kb limit.
* Replace All command could produce repetitive "Unknown error" messages.
* 'Trim trailing spaces on save' option caused program crash on Undo
command.
* Undo command in word warp mode could cause program crash.
* Prevents possible program crash with the Undo command.
* Some FTP servers could cause program crash.
* Code folding did not work if auto completion option was turned off.
* Disconnect Automatically option produced error message on refresh.
* Prevents possible program crash with the Undo command.
* Screen updated could be wrong with drag and drop editing.
* Multiple undo commands could cause program crash.
* Multiple undo commands could cause program crash.
* Trim Trailing Spaces on Save option with blank file could cause program
crash.
* Wrap After Format Column Number option could cause wrong cursor position.
* 'Find in Directory' command (Directory Window).
* Open Remote command could cause program crash if ithere is no FTP
account.
* On the file size warning, the 'No' button did not work correctly.
* Adds 'Preserve existing signature' to the 'UTF-8 signature' options.
* Screen update was not correctly when deleting column selection.
* 'Always on Top' command (Window).
* Supports Unicode big endian files.
* Auto-complete by Enter key could cause screen update problem.
* The font of the address bar of the internal browser could be changed to
System.
* UTF-8 BOM option (Preferences->Files).
* View in Browser command on a new document could cause program crash.
* Recent Files now always displays full path name.
* On 64-bit Windows, supports 4 GB virtual memory.
* 'Create File' command on the Directory Window could overwrite existing
file.
* Wrap after format column number option sometimes did not work correctly.
* Resizing word wrap document window caused cursor position problem.
* 'Trim trailing spaces on save' option (Preferences->Settings & syntax).
* Screen update sometimes was not correct with the Undo/Redo commands.
* Word wrap setting sometimes was not applied correctly with the Save As
command.
* Paste from clipboard could cause program crash.
* Opening a file with word wrap could cause program crash.
* Opening an ftp file from Directory Window could cause program crash.
* 'Always apply wrod wrap' print option did not work correctly.
* 'Ignore header/footer' option (Preferences->Print).
* 'Go to Column' command (Search).
* 'Char Code' command (Edit->Others).
* 'FTP Settings'->'Check file modification when saving' sometimes didn't
work.
* 'Always apply word wrap' print option could cause program crash.
* Displays current encoding on the Status Bar.
* Updated system code page list.
* 'Create File' on the Directory Window did not work correctly with ftp
servers.
* Code folding marks were disappeared when turning off word wrap option.
* Selecting lines with mouse drag did not work correctly.
* On the Directory Window, the right mouse button on the project view
caused program crash.
* templatex.html was not copied to 'old files' folder on re-install.
* Program would crash when pressing the 'Add' button on
'Preferences'->'Project'.
* On 'Preferences'->'Project', 'Currently assigned to' message was not
displayed correctly.
* Screen update was not correct when collapsing code at the end of file.
* Color options for code folding marks (Preferences->Colors).
* On the FTP upload status, cancel button could cause program crash.
* Word wrap could be wrong when deleting text.
* Find and replace on column selection could cause program crash.
* 'Force displaying hidden files' FTP option caused problem with VMS
servers.
* Keystroke recordings did not work with the Tabs to Spaces command.
* Some Hangul IME did not work correctly.
* sftp could not handle servers which send SSH_MSG_IGNORE packet.
* FTP did not work correctly with some Mac servers.
* Program could crash with some syntax files.
* Duplicate Char command did not work correctly in some cases.
* NTFS File summaries were not preserved on file save.
* Clicking '..' on Open Remote dialog box did not work with VMS servers.
完整版本及算号器下载:
本地下载-附算号器
最新升级补丁下载:
ES-Computing.EditPlus.v2.30.371.Update.Only.Incl.Keymaker-ZWT
—–
27
10
2006
Author: Ahlang
In: Computer
27
10
2006
Author: Ahlang
In: Website
介绍如何使用 ActiveX 数据对象 (ADO) 在 ASP 脚本中建立到 SQL Server 的连接,同时利用 ODBC 3.0 的连接池功能。
连接池
启用 ODBC 连接池。
有关连接池的其他信息以及有关如何启用连接池功能的说明,请单击下面的文章编号,以查看 Microsoft 知识库中相应的文章:
164221 INFO:如何在 ODBC 应用程序中启用连接池
ODBC DSN
使用“ODBC 管理器”,在安装了 Microsoft Internet Information Server (IIS) 的计算机上创建一个系统数据源名称 (DSN)。指定一次连接属性,然后在每个页面上重新使用此属性。例如,在 Global.asa 文件的“Session_OnStart”事件中,将连接属性定义为:
- Session("ConnectionString") =
- "dsn=SQLSysDSN;uid=<username>;pwd=<strong password>;DATABASE=pubs;APP=ASP Script"
确保满足下列所有条件:
• “系统 DSN”定义中没有选中“受信任连接”框。
• SQL Server 安全模式不是“Windows NT 集成”。
• 在连接属性中,uid 不为空。
否则,到 SQL Server 的连接可能会失败,并收到以下错误消息:
Microsoft OLE DB provider for ODBC Drivers error ‘80004005′
[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed- User:_
Reason: Not defined as a valid user of a trusted SQL Server connection.
Global.asa是否使用 Global.asa 文件是可选的。在其位置上,在此文件中创建的条目通常可以放到应用程序调用的第一页上。假定 ASP 脚本位于一个在“Internet 服务管理器”中没有定义为虚拟目录的文件夹中,而是位于另一个虚拟目录下面,那么包含 Session 变量和 DSN 定义的 Global.asa 文件就必须保留在该虚拟目录中。否则,将收到以下错误消息:
Microsoft OLE DB Provider for ODBC Drivers error ‘80004005′
[Microsoft][ODBC Driver Manager] Data source name not found and no
default driver specified
ASP 脚本中的连接
通过打开和关闭到每个 Active Server Pages 上的数据库的连接来利用连接池。要打开该连接,请在页面的
部分中键入以下语句:
- <%
- Set OBJdbConnection = Server.CreateObject("ADODB.Connection")
- OBJdbConnection.Open Session("ConnectionString") %>
要关闭该连接,请直接将以下内容放到 标记后:
- <%
- OBJdbConnection.Close
- Set OBJdbConnection = Nothing
- %>
如果没有按照本文前面介绍的那样正确定义连接设置,您可能会收到以下两条错误消息:
Microsoft OLE DB Provider for ODBC Drivers error ‘80004005′
[Microsoft][ODBC SQL Server Driver][DBNMPNTW]Connection broken.
- 或者 -
Microsoft OLE DB Provider for ODBC Drivers error ‘80004005′
[Microsoft][ODBC SQL Server Driver]Communication link failure
此处是一个包含 Global.asa 和 Authors.asp 文件的示例应用程序。此示例应用程序将返回名为“authors”的“pubs”表中的四列和所有记录。
注意:您必须先将 UID 和 pwd =
更改为正确的值,然后才能运行此代码。请确保该 UID 具有在数据库中执行此操作所需的适当权限。
Global.asa
- <SCRIPT LANGUAGE=VBScript RUNAT=Server>
- Sub Session_OnStart
- Session("ConnectionString") =
- "DSN=SQLSysDSN;UID=<username>;PWD=<strong password>;DATABASE=pubs;APP=ASP script"
- Session("ConnectionTimeout") = 15
- Session("CommandTimeout") = 30
- End Sub
-
- Sub Session_OnEnd
-
- End Sub
- </SCRIPT>
Authors.asp
- <HTML>
- <HEAD>
- <TITLE>All Authors</TITLE>
- </HEAD>
- <BODY BGCOLOR="#FFFFFF">
-
- <% Set OBJdbConnection = Server.CreateObject("ADODB.Connection")
- OBJdbConnection.ConnectionTimeout = Session("ConnectionTimeout")
- OBJdbConnection.CommandTimeout = Session("CommandTimeout")
- OBJdbConnection.Open Session("ConnectionString")
- Set SQLStmt = Server.CreateObject("ADODB.Command")
- Set RS = Server.CreateObject ("ADODB.Recordset")
- %>
-
- <p>
- <table border="0" bordercolor="#000000">
- <%
- SQLStmt.CommandText = "select * from authors"
- SQLStmt.CommandType = 1
- Set SQLStmt.ActiveConnection = OBJdbConnection
- RS.Open SQLStmt
-
- Do While Not RS.EOF
- %>
- <TR>
- <TD Width = 150 ALIGN=LEFT>
- <FONT SIZE=+1>
- <%= RS("au_id") %>
- </FONT></TD>
- <TD></TD>
- <TD Width = 150 ALIGN=LEFT>
- <FONT SIZE=+1>
- <%= RS("au_lname") %>
- </FONT></TD>
- <TD Width = 150 ALIGN=LEFT>
- <FONT SIZE=+1>
- <%= RS("au_fname") %>
- </FONT></TD>
- <TD Width = 150 ALIGN=LEFT>
- <FONT SIZE=+1>
- <%= RS("phone") %>
- </FONT></TD>
- </TR>
- <%
- RS.MoveNext
- Loop
- %>
- </table>
- <hr>
- <p>
- </BODY>
- <% OBJdbConnection.Close
- Set OBJdbConnection = Nothing
- %>
- </HTML>
适用于:
• Microsoft SQL Server 2000 标准版
• Microsoft SQL Server 7.0 标准版
• Microsoft SQL Server 6.5 标准版
• Microsoft SQL Server 6.0 标准版
• Microsoft SQL Server 4.21a 标准版
• Microsoft Internet Information Server 4.0
• Microsoft Internet Information Server 3.0
• Microsoft Internet Information Services 5.0
• Microsoft SQL Server 2005 Standard Edition
• Microsoft SQL Server 2005 Express Edition
• Microsoft SQL Server 2005 Developer Edition
• Microsoft SQL 2005 Server Enterprise
• Microsoft SQL 2005 Server Workgroup