Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

VB È¡µÃÖ¸¶¨exeÎļþ°æ±¾ºÅ

¡¾º¯Êý¡¿  
  GetFileVersionInfo  
   
  ¡¾²Ù×÷ϵͳ¡¿  
  Win9X:Yes  
  WinNT:Yes  
   
  ¡¾ÉùÃ÷¡¿  
  GetFileVersionInfo   Lib   "version.dll"     Alias   "GetFileVersionInfoA"   (ByVal   lptstrFilename   As   String,   ByVal   dwHandle   As   Long,   ByVal   dwLen   As   Long,   lpData   As   Any)   As   Long  
   
  ¡¾ËµÃ÷¡¿  
   
      ´ÓÖ§³Ö°æ±¾±ê¼ÇµÄÒ»¸öÄ£¿éÀï»ñÈ¡Îļþ°æ±¾ÐÅÏ¢    
   
  ¡¾·µ»ØÖµ¡¿  
   
      Long£¬·ÇÁã±íʾ³É¹¦£¬Áã±íʾʧ°Ü¡£»áÉèÖÃGetLastError    
   
  ¡¾ÆäËü¡¿  
   
      Çë¿´vbµÄapiÎı¾²é¿´Æ÷ÖеÄÉùÃ÷£ºDeclare   Function  
      GetFileVersionInfo   Lib   "version.dll"   Alias   "GetFileVersionInfoA"  
      (ByVal   lptstrFilename   As   String,   ByVal   dwHandle   As   Long,   ByVal   dwLen   As   Long,   lpData   As  
      Any)   As   Long  
   
  ¡¾²ÎÊý±í¡¿  
      lptstrFilename   -     String£¬Óû´ÓÖÐÔØÈë°æ±¾ÐÅÏ¢µÄÒ»¸öÎļþµÄÃû×Ö  
   
      dwHandle   -------     Long£¬win32ÖÐδÓà  
   
      dwLen   ----------     Long£¬ÓÉlpData²ÎÊýÖ¸¶¨µÄ×Ö½ÚÊý×é»ò»º³åÇøµÄ´óС¡£ÓÃGetFileVersionInfoSizeº¯ÊýÅжÏÒªÇóµÄ»º³åÇø³¤¶ÈÓжà´ó  
   
      lpData   ---------     Byte£¬Ö¸¶¨Ò»¸ö×Ö½Ú»º³åÇøµÄµÚÒ»¸ö×Ö½Ú¡£¸Ã»º³åÇøÓÃÓÚ×°ÔØÎļþµÄ°æ±¾ÐÅÏ¢   
    
    


Ïà¹ØÎĵµ£º

.netÖÐÓÃDropDownListÑ¡ÔñÈÕÆÚ£¨vb´úÂ룩

¿´Á˱ðÈËдµÄC#µÄ ×Ô¼º×ªÁËһϠȻºóºóÖØиÄÁË¸Ä Ð´³ÉÁËÕâ¸ö
ÁíÍ⻹ÓÐÒ»¸öÎÒдµÄÑéÖ¤ÈÕÆÚÊÇ·ñºÏ·¨µÄ´úÂë ÔÚºóÃæ ¶¼ÊÇvbµÄ c#Ö»»á¿´²»»áд
  'ÅжÏÈòÄê=======================
Private Function CheckLeap(ByVal year As Integer) As Boolean
If (year Mod 4 = 0) AndAlso (year Mod 100 <> ......

ÖØÊ°VBÖ®Ò»£¬ÈÕÖ¾±à

ÖØÊ°VBÖ®Ò»£¬ÈÕÖ¾±à
 
PMP  ¹Ø¾¢ËÉ
 
    ¹íʹÉñ²î£¬09Äê12ÔÂÈëÖ°µÄ¹«Ë¾ÈÔʹÓÃVB¿ª·¢Èí¼þ£¬ËäÈ»²¢·Çרְ¿ª·¢£¬µ«Ò²²»µÃ²»ÔÚʸô4ÄêÖ®ºó£¬ÖØÐÂʹÓÃVB½øÐпª·¢¡£
    Ê×ÏÈÊÇΪ×Ô¶¯»¯²âÊÔÈí¼þÔö¼ÓÈÕÖ¾¹¦ÄÜ£¬½«Ã¿ÌìµÄÊý¾Ý¼Ç¼µ½Ò»¸ölogÎļþ¡£ÎÒΪÁË·½±ãʹÓÃÁËFSO¶ÔÏó£¬ ......

VBÖеÄcommand

ÔÚ¿ª·¢IP-MACɨÃè¼àÊÓÆ÷ʱ£¬ÉèÖÃÁË¿ª»ú×Ô¶¯ÔËÐУ¬µ«Êǵ±WINDOWSÆô¶¯ºó£¬³ÌÐòÔËÐкóÈ´´ò¿ª´°ÌåÁË£¬²»ÊÇ×îС»¯ÔËÐеġ£ÕâÔõô°ìÄØ£¿ÓÚÊÇÏëµ½¼ÓÒ»¸ö²ÎÊý¸ø³ÌÐòÆô¶¯Ê±£¬µ«²»ÖªµÀÔõôʵÏÖ£¬½á¹û·¢ÏÖVBÖÐÓÐcommand£¬ÊÇ¿ÉÒÔ½ÓÊܲÎÊýµÄ¡£Ö±½Ó£ºAAA.EXE xxx,
ÔÚ³ÌÐòÖÐÓÃÒ»¸ö±äÁ¿µÃµ½Õâ¸ö²ÎÊý£¬ÄǾͿÉÒÔÁË¡£×ö·¨£º
1¡¢ÔÚ×¢²á±í×ÔÆô¶ ......

Developer Support Languages VC++, C# and VB.NET


Welcome to Microsoft Developer Support, Languages team blog! You will find a lot of language related troubleshooting resources here.
Troubleshooting PInvoke Related Issues 
I am back with some more PInvoke Stuff.  Recently I was working on a PInvoke issue which I found interesting ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ