安装服务
sc create Svnservice binpath= "d:\subversion\bin\svnserve.exe --service -r E:\projectversion" displayname= "Svnservice" depend= Tcpip

删除服务
sc delete Svnservice

修改配置
sc config Svnservice binpath= "d:\subversion\bin\svnserve.exe --service -r E:\projectversion" displayname= "Svnservice" depend= Tcpip


设置为自启动
sc config Svnservice start= auto

启动服务
net start Svnservice

posted @ 2010-12-24 13:42 海潮的博客 阅读(28) 评论(0) 编辑

安装好PHP之后一般要找到php安装目录,修改php.ini中的时区设置

[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone =Asia/Shanghai

posted @ 2010-10-25 18:20 海潮的博客 阅读(97) 评论(0) 编辑
在注册表 HKEY_LOCAL_MACHINE - SOFTWARE - Onihr 中把 Onihr 所有的子项删除,再把Onihr所有的权限删除,即可。
posted @ 2010-08-27 09:58 海潮的博客 阅读(55) 评论(0) 编辑
我现在急需做一个类似查阅项的字段类型,请高手们赐教,不胜感激!
posted @ 2007-12-01 09:48 海潮的博客 阅读(69) 评论(0) 编辑
'********************************************************************
'* File: StaticIp.vbs
'* Author: CodeMan
'* dicky2k5@gmail.com
'* Created: May 2007
'* Version: 2
'* Description: Seting Static IP
''* Dependencies: To Use on Win Pe2
'********************************************************************
Option Explicit
Dim strTaskValue, objShell, objFso, objWmiService, strOutPut
Dim strIP, strSub, strGtw
Set objShell = CreateObject("WScript.Shell")
Set objFso = CreateObject("Scripting.FileSystemObject")
Set objWMIService = GetObject ("winmgmts:\\.\root\cimv2")

'****************************************************************************
'*SetIp
'****************************************************************************
'Sub RunSetip
strIP = inputbox ("Please enter the IP Address.","192.168.1.11","192.168.1.11")
strSub = inputbox ("Please enter the Subnet Mask.","255.255.255.0","255.255.255.0")
strGtw = inputbox ("Please enter the Gate Way.","192.168.1.1","192.168.1.1")
'Msgbox "netsh int ip addr set local static "& strIP & " "& strSub & " "& strGtw & " "
objShell.Run "%comspec% /k netsh int ip addr set local static "&strIP & " "& strSub & " "& strGtw & " ",1, false
Msgbox "Whois Me-->IP--> " & strIP & " MASK--> "& strSub & " G'WAY-->"& strGtw & " "
'End

'****************************************************************************
posted @ 2007-08-13 09:18 海潮的博客 阅读(118) 评论(0) 编辑
摘要: 在 使用tomcat中,经常碰到默认的8080端口被占用,有时想查下究竟是那个程序在占用着这个断口;这是可以到网站找个软件什么的,或则使用防火墙来查 看使用的端口;其实没有这个必要,在windows中有个dos命令可以查看当前端口使用情况的, 这个命令就是netstat,这个命令带有很多参数可用,可以通过 -help参数来查看,比如:要查看所有的连接和监听端口,可以加上-a参数,要显示每个连接所属...阅读全文
posted @ 2007-07-12 23:59 海潮的博客 阅读(7510) 评论(1) 编辑
摘要: 如题,请有心人尽快回复一下,我在线等待。阅读全文
posted @ 2007-05-02 19:30 海潮的博客 阅读(55) 评论(0) 编辑
摘要: vista 下安装了 vs2005及vs2005 sp1,但是还是出现“要运行 visual studio 2005 sp1,建议使用管理员权限”寻求解答。阅读全文
posted @ 2007-03-19 10:33 海潮的博客 阅读(1714) 评论(5) 编辑
摘要: 在使用ajax.net的UpdatePanel的时候,当requestEncoding编码为GB2312的时候,出现乱码。如果要解决这个问题最简单的就是改用utf-8了,但是原来使用GB2312,现在不能随便改成utf-8的怎么办呢?我原来是想这样做的: byte[] buffer = System.Text.Encoding.Default.GetBytes(tbxRemark.Text); s...阅读全文
posted @ 2007-03-07 16:36 海潮的博客 阅读(1489) 评论(6) 编辑
摘要: 一个上传大文件的部件叫做:SlickUpload-2.5.3http://community.assistedsolutions.com/blogs/阅读全文
posted @ 2006-11-27 11:48 海潮的博客 阅读(197) 评论(0) 编辑