随笔分类 -  VB.net

摘要:获取配置文件所在路径System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase)读Public Function getServers() As String Dim xmldoc As XmlDocument = New XmlDocument Dim p... 阅读全文
posted @ 2009-07-14 15:51 TNTZWC 阅读(979) 评论(0) 推荐(0)
摘要:vb6使用方法'声明Private Declare Function sndPlaySound Lib "winmm.dll" Alias "sndPlaySoundA" (ByVal lpszSoundName As String, ByVal uFlags As Long) As LongConst SND_ASYNC = &H1 '异步播放Const SND_SYNC = &... 阅读全文
posted @ 2009-05-19 16:21 TNTZWC 阅读(322) 评论(0) 推荐(0)