关于把IE主页篡改而在注册表里没有表现的情况
有一url 把IE主页篡改而在注册表里没有表现的情况,最终在ie的属性里找到,如"C:Program FilesInternet ExplorerIEXPLORE.EXE" "http://********" [@more@]
关于"您试图打开的项目是WEB项目,需要通过指定其"Url"路径来打开
1、在项目文件夹中没有项目名.csproj.webinfo文件[@more@]1的解决办法: 自己建立个文件"项目名.csproj.webinfo" <VisualStudioUNCWeb> <Web URLPath = "http://wbj/WJ/xmwj/xmwj /> </VisualStudioUNCWeb> 里面写以上代码。 另外,IIS还需要给这个目录建立虚拟目录。
API 速查
http://www.webtropy.com/articles/Win32-API-DllImport-art9.asp[@more@]http://www.webtropy.com/articles/Win32-API-DllImport-art9.asp
API 列表2
列表2[@more@]Windows API 1.控件与消息函数 AdjustWindowRect 给定一种窗口样式,计算获得目标客户区矩形所需的窗口大小 AnyPopup 判断屏幕上是否存在任何弹出式窗口 ArrangeIconicWindows 排列一个父窗口的最小化子窗口 AttachThreadInput 连接线程输入函数 BeginDeferWindowPos 启动构建一系列新窗口位置的过程 BringWindowToTop 将指定的窗口带至窗口列表顶部 CascadeWindows 以层叠方式排列窗口 ChildWindowFromPoint 返回父窗口中包含了指定点的第一个子窗口的句柄 ClientToScreen 判断窗口内以客户区坐标表示的一个点的屏幕坐标 Cl
API 列表
函数及说明[@more@]AdjustWindowRect 给定一种窗口样式,计算获得目标客户区矩形所需的窗口大小 AnyPopup 判断屏幕上是否存在任何弹出式窗口 ArrangeIconicWindows 排列一个父窗口的最小化子窗口 AttachThreadInput 连接线程输入函数 BeginDeferWindowPos 启动构建一系列新窗口位置的过程 BringWindowToTop 将指定的窗口带至窗口列表顶部 CascadeWindows 以层叠方式排列窗口 ChildWindowFromPoint 返回父窗口中包含了指定点的第一个子窗口的句柄 ClientToScreen 判断窗口内以客户区坐标表示的一个点的屏幕坐标 CloseWindow 最小化指定的窗
关于GetClientRect 和 GetWindowRect
GetClientRect得到的是客户区的大小,也就是说这样得到的左上角永远是(0,0)GetWindowRect 是窗口相对于整个屏幕的坐标,屏幕左上点为0,0[@more@]The GetClientRect function retrieves the coordinates of a window's client area. The client coordinates specify the upper-left and lower-right corners of the client area. Because client coordinates are relative to the upper-left corner of a window's client area, the coordinates of the upper-left corner are (0,0).The GetWindowRect function retrieves the dimensi
用Visual C#实现P2P应用程序
http://www.51it.org/kaifa/dotnet/c/200508/26753_3.html[@more@]http://www.51it.org/kaifa/dotnet/c/200508/26753_3.html