摘要: #include // for IObjectSafety; in ActiveX SDK //........................................................................ //ISafeObject DECLARE_INTE... 阅读全文
posted @ 2012-12-06 15:53 废弃账号 阅读(149) 评论(0) 推荐(0)
摘要: 1、文件的创建-(IBAction) CreateFile{//对于错误信息NSError *error;// 创建文件管理器NSFileManager *fileMgr = [NSFileManager defaultManager];//指向文件目录NSString *documentsDi... 阅读全文
posted @ 2012-12-06 15:42 废弃账号 阅读(334) 评论(0) 推荐(0)
摘要: 我在CSDN有个新家 阅读全文
posted @ 2012-12-06 15:31 废弃账号 阅读(95) 评论(0) 推荐(0)
摘要: //self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"主页" style:UIBarButtonItemStylePlain target:self action:@selector... 阅读全文
posted @ 2012-12-06 15:31 废弃账号 阅读(121) 评论(0) 推荐(0)
摘要: #define SYSTABBARITEM(TITLE, INAME, TAG) [[UITabBarItem alloc] initWithTitle:TITLE image:[UIImage imageNamed:INAME] tag:TAG] NSMutab... 阅读全文
posted @ 2012-12-06 15:31 废弃账号 阅读(69) 评论(0) 推荐(0)
摘要: - (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib. //定义UIScrollView... 阅读全文
posted @ 2012-12-06 15:31 废弃账号 阅读(149) 评论(0) 推荐(0)
摘要: String nowPath = @"taxi.db"; void SelectStu() { using (SQLiteConnection cn = new SQLiteConnection(@"data source=" + nowPath ... 阅读全文
posted @ 2012-12-06 15:31 废弃账号 阅读(70) 评论(0) 推荐(0)
摘要: 1.同步下载文件 NSString *urlAsString = @"http://files.cnblogs.com/zhuqil/UIWebViewDemo.zip"; NSURL *url = [NSURL URLWithString:urlAsStrin... 阅读全文
posted @ 2012-12-06 15:31 废弃账号 阅读(82) 评论(0) 推荐(0)
摘要: @interface UIProgressHUD : NSObject - (void) show: (BOOL) yesOrNo; - (UIProgressHUD *) initWithWindow: (UIView *) window; @end @interface H... 阅读全文
posted @ 2012-12-06 15:31 废弃账号 阅读(108) 评论(0) 推荐(0)
摘要: - (IBAction)Open:(id)sender { UIActionSheet *menu = [[UIActionSheet alloc] initWithTitle:@"select" delegate:s... 阅读全文
posted @ 2012-12-06 15:31 废弃账号 阅读(79) 评论(0) 推荐(0)
摘要: 1、打开摄像头 - (IBAction)Open:(id)sender { UIImagePickerController *picker = [[UIImagePickerController alloc] init]; if([UIImagePic... 阅读全文
posted @ 2012-12-06 15:31 废弃账号 阅读(240) 评论(0) 推荐(0)
摘要: 1.js脚本(添加到ARCamera上) #pragma strict function Start () {} function Update () {} function ScreenImage(){Application.CaptureScreenshot("Screensho... 阅读全文
posted @ 2012-12-06 15:31 废弃账号 阅读(100) 评论(0) 推荐(0)
摘要: _ns1__FileUpload request; request.fileNameGuid = &std::string(fileName.GetBuffer(0)); CFile cfile; cfile.Open(fileName,CFile::modeRead|CFile::typeBin... 阅读全文
posted @ 2012-12-06 15:31 废弃账号 阅读(99) 评论(0) 推荐(0)
摘要: CFile cfile; cfile.Open(_T("aa.jpg"),CFile::modeRead|CFile::typeBinary); int dwLo=(int)cfile.GetLength(); BYTE *pss=new BYTE[dwLo]; ZeroMemory(pss,dw... 阅读全文
posted @ 2012-12-06 15:31 废弃账号 阅读(209) 评论(0) 推荐(0)
摘要: 1.create 命令wsdl2h -o a.h up.WSDLsoapcpp2.exe -C -x a.h2.添加文件soapTestSoap12Proxy.hsoapTestSoapProxy.hsoapH.hsoapStub.hstdsoap2.hsoapClientLib.cppso... 阅读全文
posted @ 2012-12-06 15:31 废弃账号 阅读(188) 评论(0) 推荐(0)
摘要: - (IBAction)Open:(id)sender { UIAlertView* dialog = [[UIAlertView alloc] initWithTitle:@"Enter Name" message:@"" delegate:se... 阅读全文
posted @ 2012-12-06 15:31 废弃账号 阅读(127) 评论(0) 推荐(0)
摘要: UIAlertView *alert; - (IBAction)Open:(id)sender { alert = [[UIAlertView alloc] initWithTitle:@"msg" message:@"s... 阅读全文
posted @ 2012-12-06 15:31 废弃账号 阅读(98) 评论(0) 推荐(0)
摘要: #include // for IObjectSafety; in ActiveX SDK //........................................................................ //ISafeObject DECLARE_INTE... 阅读全文
posted @ 2012-12-06 15:31 废弃账号 阅读(109) 评论(0) 推荐(0)
摘要: private string mysqlYunfeng = ConfigurationManager.ConnectionStrings["mysqlwxs"].ConnectionString;http://115.com/file/e75kwnc4 阅读全文
posted @ 2012-12-06 15:31 废弃账号 阅读(77) 评论(0) 推荐(0)
摘要: - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { if (!dragEnable) { return; } UITouch *touch = [touches... 阅读全文
posted @ 2012-12-06 15:31 废弃账号 阅读(89) 评论(0) 推荐(0)