当前位置: 代码迷 >> want的解决方案
 
  • C# GUI程序怎么防止user mistake和 handle error啊

    C#GUI程序如何防止usermistake和handleerror啊??防止usermistake,我第一反应的是给用户提供一个confirmation比如“DOYOUWANTTODELETETHESELECTEDITEM?”来确定他要进行的操作。errorhandling我能想到的就是用try,catch,然后messagebox弹出提示信息高速user出了什么问题。还有一些其他的方法么?我想...

    764
    热度
  • ATL中加载图片资源要如何弄

    ATL中加载图片资源要怎么弄?RTcolor='#e78608'>------解决方案--------------------------------------------------------UseWindowsAPI.SeeFindResource,LoadResource,LockResource.Afteryoucallthesethreeinsequence,youendupwith...

    7411
    热度
  • IE8 下fck出错,该怎么处理

    IE8下fck出错C#codeerrorloading"http//localhost:49565/jiaoxue/fckeditor/fckstyles.xmldoyouwanttoseemoreinfo"请问Ie8不兼容fck么?还是我fck的版本过低之类的因为我电脑中没有安装ie8测试火狐,ie6,7都没问题求教或者能换一个ie8兼容的在线编辑器?color='#e786...

    4689
    热度
  • 新人问一个关于用户登出的有关问题

    新人问一个关于用户登出的问题protectedvoidLogoutBtn_Click(objectsender,EventArgse){Session.Abandon();Server.Transfer("login.aspx");}当用户点击退出,取消他的session,然后回到登陆页.但是现在我想在点击后客户端弹出一个确定框(yesorno),当用户确认后,才跳转,并且取消...

    4699
    热度
  • 下载控件怎么做?

    下载控件如何做??网站上传了一些文件,在数据库保存的是路径,文件保存在物理文件中。现在的问题就是别人只要输入的那个文件的路径,就可以查看,但网站需要的是只有登陆用户采可以查看和下载,就是对那个存放文件的文件夹设置权限,请问该如何设计?谁有下载控件的例子吗?color='#e78608'>------解决方案----------------------------------------------...

    388
    热度
  • |M| 学习URL重写:URL重写的示例地址下载 多谢

    |M|学习URL重写:求一个URL重写的示例地址下载谢谢谢谢color='#e78608'>------解决方案--------------------------------------------------------http://want2know.blog.hexun.com/1880656_dcolor='#e78608'>------解决方案---------------------...

    7575
    热度
  • Android图片缩放 指定尺度

    Android图片缩放指定尺寸//使用Bitmap加Matrix来缩放publicstaticDrawableresizeImage(Bitmapbitmap,intw,inth){BitmapBitmapOrg=bitmap;intwidth=BitmapOrg.getWidth();intheight=BitmapOrg.getHeight();intnewWidth=w;intnewHeig...

    30
    热度
  • iphone的内存储器管理(摘自iphone文档,英语)

    iphone的内存管理(摘自iphone文档,英语)AboutMemoryManagementApplicationmemorymanagementistheprocessofallocatingmemoryduringyourprogram’sruntime,usingit,andfreeingitwhenyouaredonewithit.Awell-writtenprogramusesasli...

    85
    热度
  • iphone上的天蓝色字体

    iphone上的蓝色字体Anyway,youmayknowthis,butincaseyoudidn't(pagingCaptainObvious),inthe/Applications/Utilities/folderonyourMac,thereisaprogramcalledDigitalColorMeter,anditwillgiveyouthecolorvalueforanypixelo...

    76
    热度
  • android 应用程序性能追踪

    android应用程序性能跟踪Sohere'showyoucanoptimize,analyzeyourcurrentapplicationusingTraceView.OpenyourProject,andafteronCreate(),oranywhereyouwanttostartLogtracing,pastethefollowinglines:?/*starttracingto"/sdc...

    64
    热度
  • android 旋转手机的时候,怎么忽略onCreate再次被系统调用

    android旋转手机的时候,如何忽略onCreate再次被系统调用?实现一个程序,主要是不想在手机横竖屏的时候重新onCreate,所以在配置文件中增加了配置选项:android:configChanges="orientation|keyboardHidden"但是在三星的手机上,就是不行。三星GT-N7102从sdk3.2+,当手机屏幕发现旋转,新增加一个screenSize,这个值也会跟着...

    62
    热度
  • 调用android 自带的DownloadProvider遇到的有关问题

    调用android自带的DownloadProvider遇到的问题当我们在网上搜索如何调用DownloadProvider的时候,你一定能找到相关的例子和满意的答案,但当你真正的动手去做的时候,你就会遇到一个很纳闷的问题:我明明写了permission了,为什么还是报出permissiondeny呢?若你的apk是通过Install命令安装到emulator的时候,就会遇到这样的现象,因为Down...

    74
    热度
  • 在android手机下抓包

    在android手机上抓包如果要抓TCP数据包,我们可以使用TCPdump工具,类似于windows/linux下使用的这个工具一样。具体方法是下载tcpdump,还有个地址是http://www.strazzere.com/android/tcpdump,不知道具体版本,也可在附件中下载。详细使用请参考http://www.tcpdump.org/里面的文档你需要root权限,adbrootad...

    16
    热度
  • Android怎么上抓取tcp数据包

    Android如何下抓取tcp数据包如果要抓TCP数据包,我们可以使用TCPdump工具,具体方法是下载tcpdump,还有个地址是http://www.strazzere.com/android/tcpdump,不知道具体版本。详细使用请参考http://www.tcpdump.org/里面的文档你需要root权限,adbpushc:\wherever_you_put\tcpdump/data/...

    34
    热度
  • ubuntu联接android

    ubuntu连接android[转]http://aphyr.com/journals/show/debugging-the-droid-on-ubuntu-karmic$adbdevicesListofdevicesattached????????????nopermissionsAfewthingshavechangedsincetheAndroiddocswerewritten.Ifyouw...

    19
    热度
  • (47)Prince of Persia解决办法

    (47)PrinceofPersiaIwatchedthisfilmlastnight,original.Ilikeit,andthehero.Ilearndafewwordsinit,suchas:Don'tmockme.Youflatteryourself.andbeginswiththeline"Inafarawaylandlonglongago..."color='#FF8000'>---...

    94
    热度
  • Let's taste this sentence-That's my car!解决思路

    Let'stastethissentence---That'smycar!AandBaretalkingaboutabeautifulcarinthebazzar.A:Oh,it'ssobeautiful!B:hoo...,that'smycar!what'sthemeanningof'that'smycar'?color='#FF8000'>------解决方案-------...

    153
    热度
  • android 图片加载解决办法

    android图片加载请教一下,android怎么加载gif图片?color='#e78608'>------解决方案--------------------加载Gif图片要对图片信息进行解帧等操作。具体请参考Android应用开发揭秘中的内容。color='#e78608'>------解决方案--------------------Thisisacommonquestionaskedbynew...

    142
    热度
  • camera和video的默认存储路径是什么?该怎么解决

    camera和video的默认存储路径是什么?请问在eclair中,camera和video的默认存储路径是什么?color='#e78608'>------解决方案--------------------privateBitmapcreateCaptureBitmap(byte[]data){//Thisisreallystupid...wejustwanttoreadtheorientatio...

    151
    热度
  • How to launche powershell script in C

    HowtolaunchepowershellscriptinC#/**ByDylanSUN**/IfyouwanttolaunchapowershellscriptinCSharpapplication,youdon'tnecessarilyneedtoconstructacmdcommandlinetolaunchthescript.Youcouldmakeyourlifeeasierwithf...

    181
    热度