当前位置:首页
开发技术指南» 文章正文
    引言:
 

 

    摘要: 请问怎样把bmp格式变成ico格式,100分! ......
    摘要: 我的程序中的控件只有 winsock 和 一个 vbkeyboard.dll 编译以后,在别的机器上不能运行哦,我把vbkeyboard.dll放在了程序的当前的目录,但是,winsock放在当前的目录去不能运行.必须放在windows\system下,如果打包的话,作的包有几m~~~~!!!! 这也大的太离谱了,听说用一个叫做set factory的东东可以做这种安装程序,请问有没有人知......


如何使窗体不遮住任务栏

我的代码如下:  
  Private   Sub   Form_Load()  
          With   Me  
                  .Left   =   0  
                  .   =   0  
                  .Height   =   Screen.Height  
                  .Width   =   Screen.Width  
          End   With  
  End   Sub  
  通过以上代码,本机可以显示任务栏,但是拿到别的机器上窗体却把任务栏也遮住了,请教如何修改?

NO.1   作者: zsgzsgzsg

取得屏幕可利用区域  
  声明  
  Private   Const   SPI_GETWORKAREA   =   48  
  Private   Declare   Function   SystemParametersInfo&   Lib   "User32"   Alias   "SystemParametersInfoA"   (ByVal   uAction   As   Long,ByVal   uParam   As   Long,   lpvParam   As   Any,   ByVal   fuWinIni   As   Long)  
  Private   Type   RECT  
    Left   As   Long  
       As   Long  
    Right   As   Long  
    Bottom   As   Long  
  End   Type  
   
  取得屏幕可利用区域,然后放置窗体。  
  Dim   ScreenWidth&,   ScreenHeight&,   ScreenLeft&,   Screen&  
  Dim   DesktopArea   As   RECT  
  Call   SystemParametersInfo   (SPI_GETWORKAREA,   0,   DesktopArea,   0)  
  ScreenHeight   =   (DesktopArea.Bottom   -   DesktopArea.)   *   Screen.TwipsPerPixelY  
  ScreenWidth   =   (DesktopArea.Right   -   DesktopArea.Left)   *   Screen.TwipsPerPixelX  
  ScreenLeft   =   DesktopArea.Left   *   Screen.TwipsPerPixelX  
  Screen   =   DesktopArea.   *   Screen.TwipsPerPixelY  
  Me.Move   ScreenLeft,Screen,ScreenWidth,ScreenHeight    
   
   
 


 ·高手帮看看2    »显示摘要«
    摘要: 在提交个人信息的时候,生日那一项年为文本框,月和日都为下拉选择,但数据库只有一个birthday,类型时段时间,即yyyy-mm-dd,应如何将提交上来的年月日转换成数据库的格式。 抑或给出其他解决办法。请知无不言,言无不尽!! ......
» 本期热门文章:

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