当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: 要让VB.net相应外部托拽来的文件,需处理WM_DROPFILES消息。
 

 

 ·vs.net编辑器在新建工程时弹出    »显示摘要«
    摘要: 一直用得好好的vs.net编辑器,突然有一天在我新建一个工程时,进行到一半时,弹出"automation 服务器不能创建对象",然后就停住了。 我到csdn上以"automation"关键字查阅了c#版的问题,发现有很多朋友都遇上过,而回答的朋友大部分以为提问者问的是ie解析xml文件时的那个错误 (见 http://www.csdn.net/expert/topic/757/75......
 ·离开google的日子    »显示摘要«
    摘要: ......


托拽Explore中的文件到VB.net的窗口

要让vb.net相应外部托拽来的文件,需处理wm_dropfiles消息.

private declare sub dragfinish lib "shell32.dll" (byval hdrop as int32) 【程序编程相关:应用WSDK-实践WebServices

private declare sub dragacceptfiles lib "shell32.dll" (byval hwnd as int32, byval faccept as int32) 【推荐阅读:Henry手记:WinFormDatag

string, byval ch as int32) as int32 【扩展信息:insertintodata.mdb

private declare function dragqueryfile lib "shell32.dll" alias "dragqueryfilea" (byval hdrop as int32, byval uint as int32, byval lpstr as

private const wm_dropfiles = &h233

private const max_length = 255


...   下一页
 ·vb.net创建不规则窗体    »显示摘要«
    摘要: 一般说来,应用程序的窗体都是规则的,即是矩形窗体。有时候为了某种特殊的用途,我们希望改变应用程序窗体的形状,比如做个个性十足的mp3播放器,小时钟等等,这就需要 "定制"我们的应用程序。另外,特殊形状的窗体有时候也能吸引用户的注意力,使得他们格外注意你的程序。 在vb6里面,我们一般通过以下代码来创建不规则窗体。private declare function setwindowr......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE