上一页 1 ··· 15 16 17 18 19
摘要: C#截屏2011-07-06 23:02using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using System.Diagnostics;using System.Runtime.InteropServices ;using System.IO;using System.Media;namespace BaiheTest{ pub 阅读全文
posted @ 2011-12-27 12:00 晴天有时下鱼 阅读(328) 评论(0) 推荐(0)
摘要: C# Flash 交互程序开发可以尝试以下关键字进行搜索查找其他资料 关键字(C#, FLASH, winform,flash嵌入C# ,FLASH 开发UI界面 ) 要在c# winform程序里嵌入FLASH,其实就是直接引用Flash的ocx控件。 那你就需要使用“COM 组件” Shockwave Flash Object。不过这个"Flash.ocx"控件不能直接在“COM 组件”窗口中找到.。 需要我们手动添加,选择菜单中的“工具”--“自定义工具箱”,打开“自定义工具箱”窗口,在“COM 组件”中点击“浏览”键,然后选择“c:\\WINNT(WINDOWS)\ 阅读全文
posted @ 2011-12-27 11:57 晴天有时下鱼 阅读(238) 评论(0) 推荐(0)
摘要: C#制作鼠标可以穿透的窗体2011-11-11 2:54转载自 skyeah最终编辑 skyeah把窗体的FormBorderStyle设为FormBorderStyle.None using System.Runtime.InteropServices; private const uint WS_EX_LAYERED = 0x80000; private const int WS_EX_TRANSPARENT = 0x20; private const int GWL_STYLE = (-16); private const int GWL_EXSTYLE = (-20); pri... 阅读全文
posted @ 2011-12-27 11:56 晴天有时下鱼 阅读(293) 评论(0) 推荐(0)
摘要: WPF中UI线程更新2011-11-11 16:11WPF中UI线程队列由Dispatcher来管理和调度,所以当用户线程中更新UI时,必须通过Dispatche来调度,下面这个小例子将给用户展示如何在用户线程中更新当前的时间.前台的XAML代码如下:<Windowx:Class="ThreadInvoke.Window1"xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"xmlns:x="http://schemas.microsoft.com/winfx/ 阅读全文
posted @ 2011-12-27 11:55 晴天有时下鱼 阅读(290) 评论(0) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using System.Runtime.InteropServices;namespace wangwangmsg{ public partial class Form1 : Form, IMessageFilter { public Form1() { InitializeCom 阅读全文
posted @ 2011-12-27 11:53 晴天有时下鱼 阅读(329) 评论(0) 推荐(0)
摘要: socket实现大型文件传输分类: VC/MFC 多线程 网络编程 2011-12-18 17:03 8795人阅读 评论(52) 收藏 举报 最近需要做网络传输的项目,需要实现较大文件的传输。在网上收集了不少资料,但是各有各的做法,尤其是关于文件自动接收这一块不太清楚。 经过图书馆查阅后还是找到了一种解决办法,虽然做的不太专业,但是思路比较精简、清晰,也希望能给大家尤其是刚学习socket套接字的人一些启示。 对于套接字socket我其实也不太懂,并且一般资料都可以查找到,所以不交易累赘了,直接说如何实现文件的传输吧。 对于发送文件,有三步:发送文件长度,... 阅读全文
posted @ 2011-12-26 16:34 晴天有时下鱼 阅读(566) 评论(0) 推荐(0)
摘要: http://ufo-crackerx.blog.163.com/ 阅读全文
posted @ 2011-12-26 12:45 晴天有时下鱼 阅读(207) 评论(0) 推荐(0)
摘要: 该操作未能执行,因为 OLE DB 提供程序SQLOLEDB无法启动分布式事务适用环境操作系统:windows 2003数据库:sql server 2000/sql server 2005使用链接服务器进行远程数据库访问的情况一、问题现象在执行分布式事务时,在sql server 2005下收到如下错误:消息 7391,级别 16,状态 2,过程 xxxxx,第 16 行无法执行该操作,因为链接服务器 "xxxxx" 的 OLE DB 访问接口 "SQLNCLI" 无法启动分布式事务。在sql server 2000下收到如下错误:该操作未能执行,因为 阅读全文
posted @ 2011-12-23 16:15 晴天有时下鱼 阅读(349) 评论(0) 推荐(0)
摘要: windows服务调用窗体(C#)(2010-04-25 22:33:44)转载▼分类: 各类经验我在做一个服务,需要调用窗体程序,很郁闷,调出来之后进程显示,不显示窗体,而且用户为system,于是百度谷歌(在天笑的博客中发现) 贴在这里以备日后所用。 这个用到了系统组件,帖代码[System.Runtime.InteropServices.StructLayout(LayoutKind.Sequential)]publicclassSECURITY_ATTRIBUTES{publicintnLength;publicstringlpSecurityDescriptor;publicbool 阅读全文
posted @ 2011-12-07 10:17 晴天有时下鱼 阅读(1108) 评论(0) 推荐(0)
上一页 1 ··· 15 16 17 18 19