码迷,mamicode.com
首页 >  
搜索关键字:unable to set localhost    ( 74051个结果
Android中TextView setText int 报错
在对中TextView setText 覆值int 时报错,网上查下原因是setText整型表明是设值R.id.xxx,当然找不到。解决方法是将int转化为string,用String.valueOf(xxx)
分类:移动开发   时间:2014-05-10 07:21:28    阅读次数:361
linux 双网关双IP设置
server:CentOS5.8 ip:172.16.8.11 Gateway:172.16.8.1ip:10.120.6.78 Gateway:10.120.6.1网卡配置:eth0 point:[root@localhost ~]# cat /etc/sysconfig/network-scri...
分类:系统相关   时间:2014-05-10 06:50:23    阅读次数:536
php读取mssql日期出现中文字符的解决方法
php读取mssql日期出现中文字符的解决方法在php代码开头处加下以下代码ini_set ("mssql.datetimeconvert","0");//关闭mssql默认的日期格式转换
分类:数据库   时间:2014-05-10 06:49:25    阅读次数:290
不用组件的简单分页
set conn=server.CreateObject("adodb.connection")  set rs=server.CreateObject("adodb.recordset")  cnpath="data source=" & server.MapPath("question.mdb")  conn.open "provider=microsoft.jet.oledb.4.0;...
分类:其他好文   时间:2014-05-10 04:59:38    阅读次数:304
用asp打开光驱!
用asp打开光驱!   Set oWMP = CreateObject("WMPlayer.OCX.7")  Set colCDROMs = oWMP.cdromCollection if colCDROMs.Count >= 1 then  For i = 0 to colCDROMs.Count - 1  colCDROMs.Item(i).Eject  Next ' cdr...
分类:Web程序   时间:2014-05-10 04:52:15    阅读次数:309
案例:如何实现网上考试?
下面就是满足你设想的几个主程序,你还可以在实际应用中不断完善和扩充: login.asp  ' 考生验证    name=trim(request("name"))  passwd=trim(request("passwd"))  if name"" then  ' 检查考生是否输入用户名和密码  Set conn = Server.CreateObject("ADODB.Co...
分类:其他好文   时间:2014-05-10 04:25:30    阅读次数:276
9_Shell语言———bash的配置文件
不同的使用者对程序的需求不同,这就决定了要为用户提供配置环境的接口。通常情况下这类配置使用环境的文件是文本文件,常见的有xml,json,soap等。bash的配置文件用来配置bash的使用环境。前文中提过,查看环境变量的命令有:printenv、export、set、env等。bash的环境变量常..
分类:其他好文   时间:2014-05-10 04:16:39    阅读次数:421
配置Mysql Cluster时出错Unable to connect with connect string: nodeid=0,localhost:1186问题的解决
在执行/etc/init.d/ndbd--initial出现下列错误[root@ndbd1~]#/etc/init.d/ndbd--initialUnabletoconnectwithconnectstring:nodeid=0,localhost:1186Retryingevery5seconds.Attemptsleft:121110987654321,failed.解决办法1.查看/etc/my.cnf文件配置[root@ndbd1~]#cat/etc/my.cnf..
分类:数据库   时间:2014-05-10 04:07:58    阅读次数:1778
WSH 直接将查询数据结果生成 EXCEL 表
'EXCELa.VBS '直接将查询数据结果生成 EXCEL 表,稍做修改后即可 '改成ASP文件放在服务器上面向客户 option Explicit dim conn,strConnString Set conn = WScript.CreateObject("ADODB.Connection") on error resume next strConnString ="Provid...
分类:其他好文   时间:2014-05-10 03:43:27    阅读次数:375
CentOS 5.9 编译newlisp
先下载最新的newlisp代码,解压后进入目录创建文件CMakeLists.txt, 内容如下:cmake_minimum_required (VERSION 2.6) include_directories(${CMAKE_SOURCE_DIR}) project(newlisp) set(NEWLISP_SRC newlisp newlisp.c nl-symbol.c nl-math...
分类:其他好文   时间:2014-05-10 03:38:36    阅读次数:374
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!