在有些应用中需要用到背景音乐和音效,那在程序中是这么实现的。1.首先加载背景音乐需要用到AVFoundation框架2.音乐资源都是在包里的,所以需要获得包路径,涉及方法- 
(id)initWithContentsOfURL:(NSURL *)url error:(NSError **)outErr...
                            
                            
                                分类:
其他好文   时间:
2014-05-10 08:26:10   
                                阅读次数:
275
                             
                    
                        
                            
                            
                                转载至 : http://www.blogjava.net/huamengxing/archive/2009/10/21/299153.htmlStruts2架构图有视频讲解百度一下就可以找到了 
我是在 私塾在线看到的 (因为这里放链接处error所以就没上连接了) 请求首先通过Filter c.....
                            
                            
                                分类:
其他好文   时间:
2014-05-10 07:37:57   
                                阅读次数:
470
                             
                    
                        
                            
                            
                                VS2010 C++ win32 DLL 工程, 添加 rc 文件, 编辑 String 
Table。默认情况下英文版本的 rc 文件能够顺序编译通过,为了让工程支持多语言,将字符串修改为其他语言时,编译就会出错error RC2135: file 
not found.解决方案参考:[经验之谈]VS...
                            
                            
                                分类:
其他好文   时间:
2014-05-10 06:12:44   
                                阅读次数:
275
                             
                    
                        
                            
                            
                                判断文章中文字符数量
dim WINNT_CHINESE 
WINNT_CHINESE = (len("论坛")=2)
function strLength(str) 
ON ERROR RESUME NEXT 
if WINNT_CHINESE then 
dim l,t,c 
dim i 
l=len(str) 
t=l 
for i=1 to l 
c=asc(mid(...
                            
                            
                                分类:
其他好文   时间:
2014-05-10 04:30:47   
                                阅读次数:
266
                             
                    
                        
                            
                            
                                需要每隔一段时间选取最老的商户更新时间戳: 
update DP_Shop set DP_Shop.LastDate = now() where DP_Shop.ShopId in (select ShopId from DP_Shop order by LastDate limit 5); 
ERROR 1235 (42000): This version of MySQL doesn't ...
                            
                            
                                分类:
数据库   时间:
2014-05-10 04:22:58   
                                阅读次数:
423
                             
                    
                        
                            
                            
                                将IP表存入SQL里的程序
写得比较粗糙,还有一点错误,不过能达到效果,请大家测试 
create.asp 
----------------------------------------------------------------------- 
'Option Explicit 
Server.Scripttimeout = 1000 
On Error Resume N...
                            
                            
                                分类:
数据库   时间:
2014-05-10 04:22:32   
                                阅读次数:
563
                             
                    
                        
                            
                            
                                configure: error: APR not found.  Please read the documentation.
configure: error: APR-util not found.  Please read the documentation....
                            
                            
                                分类:
其他好文   时间:
2014-05-10 04:20:35   
                                阅读次数:
316
                             
                    
                        
                            
                            
                                系统配置的yum源是163的镜像站,本来想用lsb_release命令查看一下系统的版本等信息,结果显示没有此命令,那就安装其相关软件包吧,用yum-yinstallredhat-lsb相依属性列出了40个软件包,本来没想安装这么多,愣了个神还没有按y键呢系统自己就莫名其妙又继续了,继续就继续吧,..
                            
                            
                                分类:
其他好文   时间:
2014-05-10 04:01:38   
                                阅读次数:
649
                             
                    
                        
                            
                            
                                '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
                             
                    
                        
                            
                            
                                简单说下实现苹果通知推送服务(APNs)客户端的一些要注意的地方:
使用长连接;sanbox服务器是没用的,调试时直接用“gateway.push.apple.com”域名;对于错误的Notification,苹果会回应一个Error response,里面有个identifier,在这个identifier之后的Notification全都失败;
因此发送者要缓存已经发送的Not...
                            
                            
                                分类:
移动开发   时间:
2014-05-10 03:33:21   
                                阅读次数:
473