转至繁体中文版     | 网站首页 | 图文教程 | 资源下载 | 站长博客 | 图片素材 | 武汉seo | 武汉网站优化 | 
最新公告:     敏韬网|教学资源学习资料永久免费分享站!  [mintao  2008年9月2日]        
您现在的位置: 学习笔记 >> 图文教程 >> 软件开发 >> VB.NET程序 >> 正文
VB API函数大全         ★★★★

VB API函数大全

作者:闵涛 文章来源:闵涛的学习笔记 点击数:4115 更新时间:2009/4/23 15:43:09
etSystemTime API设置系统时间
Set double click time of mouse using SetDoubleClickTime API 使用SetDoubleClickTime API,设置鼠标的双击间隔速度
Get double click time of mouse using GetDoubleClickTime API 使用GetDoubleClickTime API,得到鼠标的双击间隔速度
Delete a File using DeleteFile API 使用DeleteFile API,删除文件
Get Volume Information of disk drive using GetVolumeInformation API 使用GetVolumeInformation API得到磁盘驱动器的卷标信息
To check whether particular drive is present or not using GetLogicalDrives API 使用GetLogicalDrives API检查驱动器
Get the amount of physical and virtual memory free,used using GlobalMemoryStatus API 使用GlobalMemoryStatus API得到空闲物理和虚拟内存数。
Get current resolution,number of colors and bits/pixels using GetDeviceCaps API 使用GetDeviceCaps API得到当前分辨率,颜色数,和象素。
Check whether sound card is installed or not using waveOutGetNumDevs API 使用waveOutGetNumDevs API,检查声卡是否安装
Check whether network is installed or not using GetSystemMetrics API 使用GetSystemMetrics API,检查网络是否安装
Check whether mouse is installed or not using GetSystemMetrics API 使用GetSystemMetrics API,检查鼠标是否安装
Get default Icon Width using GetSystemMetrics API 使用GetSystemMetrics API得到缺省图标的宽度
Get current resolution using GetSystemMetrics API 使用GetSystemMetrics API,得到当前的分辨率。
Check how your windows booted using GetSystemMetrics API 使用GetSystemMetrics API,检查你的windows启动模式
Returns the height and width in pixels of a string based on the current font characteristics 用象素单位返回当前特征字串的高和宽。
Extract,Draw and Destroy Icon using ExtractIcon,DrawIcon and DestroyIcon API 使用ExtractIcon,DrawIcon 和 DestroyIcon API提取,画和销毁图标。
Get details about your OS using GetVersionEx API 使用GetVersionEx API得到你的操作系统的详细信息
Writing a string data into WIN.INI using WriteProfileString API 使用WriteProfileString API写字符数据到win.ini
Get a string data from WIN.INI using GetProfileString API 使用GetProfileString API从win.ini得到字符数据
Get a integer data from WIN.INI using GetProfileInt API 使用GetProfileInt API从win.ini,得到一个整型数据
Write a string data to an INI file using WritePrivateProfileString API 使用WritePrivateProfileString API写一个字符数据到一个ini文件
Write a section of data to an INI file using WritePrivateProfileSection API 使用WritePrivateProfileSection API写部分数据到一个ini文件
Get an integer data from an INI file using GetPrivateProfileInt API 使用GetPrivateProfileInt API从INI文件得到整型数据
Get a string data from an INI file using GetPrivateProfileString API 使用GetPrivateProfileString API从ini文件得到字符数据
Get the length of a string using 得到使用的字符串的长度
Copy a string to another variable using lstrcpy API 使用lstrcpy API拷贝字串到别的类型变量
Copy n-1 number of characters from source string to the target string using lstrcpyn API 使用lstrcpyn API从源字串copy n-1特征字符数到目标字串。
Display Shutdown dialog screen using ExitWindowsDialog API 使用ExitWindowsDialog API显示关闭屏障对话框
Display shutdown dialog screen using SHShutDownDialog API 使用SHShutDownDialog API显示关闭屏障对话框。
Display the restart or shutdown dialog using RestartDialog API 使用RestartDialog API显示重启或关闭对话框
Display shutdown or restart dialog using SHRestartSystemMB API 使用SHRestartSystemMB API显示关闭或重启对话框
Display the run dialog using SHRunDialog API 使用SHRunDialog API显示运行对话框
Display Format drive dialog using SHFormatDrive API 使用SHFormatDrive API,显示格式化对话框
Display change icon dialog using SHChangeIconDialog API 使用SHChangeIconDialog API,显示改变图标对话框
Display pick icon dialog using PickIconDlg API 使用PickIconDlg API显示挑选图标对话框
Get Shell Folders locations using SHGetSpecialFolderLocation API 使用SHGetSpecialFolderLocation API得到Shell文件夹位置
Flash a window using FlashWindow API 使用FlashWindow API,闪动窗口
Get classname for some controls using GetClassName API 使用GetClassName API得到一些控件的类名
Get Current Process and Current ProcessID using GetCurrentProcess and GetCurrentProcessId API 使用GetCurrentProcess and GetCurrentProcessId API得到当前Process和ProcessID。
Get Current Thread and Current Thread ID using GetCurrentThread and GetCurrentThreadId API 使用GetCurrentThread and GetCurrentThreadId API得到当前Thread和Thread ID
Get Cursor Position using GetCursorPos API 使用GetCursorPos API得到鼠标位置。
Get foreground window using GetForegroundWindow API. Very useful to develop security programs and system logger programs 使用GetForegroundWindow API得到最前的窗口,对于开发安全程序和系统程序很有用
Find a window knowing it''''s caption using FindWindow API 使用FindWindow API,查找窗口并获知它的标提
Get Background color of a device context using GetBkColor API 使用GetBkColor API得到设备上下文使用的背景颜色
Get the caption of control which captures mouse event using GetCapture API 使用GetCapture API捕获鼠标事件。得到控件标题
Get system colors using GetSysColor API 使用GetSysColor API得到系统颜色
Set system colors using SetSysColors API 使用SetSysColors API设置系统颜色
Create a Elliptic Form using CreateEllipticRgn and SetWindowRgn API 使用CreateEllipticRgn and SetWindowRgn API创建椭圆形窗体
Create a Rectangular Form using CreateRectRgn and SetWindowRgn API 使用CreateRectRgn and SetWindowRgn API创建矩形窗体
Create a Round Rectangular Form using CreateRoundRectRgn and SetWindowRgn API 使用CreateRoundRectRgn and SetWindowRgn API,创建圆矩形窗体
Get File information by it''''s Handle using GetFileInformationByHandle API 使用GetFileInformationByHandle API通过它的句柄,得到文件信息
Get filetime using GetFileTime API 使用GetFileTime API得到文件时间
Set filetime using SetFileTime API 使用SetFileTime API设置文件时间
Set the File modified time to Current System Time using GetSystemTimeAsFileTime API 使用 GetSystemTimeAsFileTime API设置文件修改时间到当前系统时间
Get window position points using GetWindowRect API 使用GetWindowRect API得到窗口位置
Get Foreground Window Thread and Process ID using GetWindowThreadProcessId API 使用GetWindowThreadProcessId API得到前端窗体线程和进程的ID
Get current directory using GetCurrentDirectory API 使用GetCurrentDirectory API得到当前的目录。
Set Current directory using SetCurrentDirectory API 使用SetCurrentDirectory API设置当前的目录
Get handle of the window at mouse cursor position using WindowFromPoint API 使用WindowFromPoint API得到鼠标指向窗体的句柄。
Get a list of Open Window Names using GetDesktopWindow,GetWindow and GetWindowText API 使用GetDesktopWindow,GetWindow and GetWindowText API得到打开的窗口列表,
Creates a icon in your System tray which minimizes all your applications when you double click it(icon in SysTray). 当你双击它最小化你的应用程序时,创建你的系统拖盘。
Display a message box using MessageBox API 使用MessageBox API显示一个消息框
Display Message Box using MessageBoxIndirect API 使用MessageBoxIndirect API显示一个消息框
Open the start menu using mouse_event API 使用mouse_event API打开开始菜单
Function CurrentTime. Returns the COMPLETE system time, including milliseconds (something VB''''s date/time func doesn''''t do). CurrentTime函数,返回完整的系统时间,包括毫秒
An example for MulDiv API 一个使用MulDiv API的例子
Type some words in notepad without human intervention using keybd_event API 使用keybd_event API,不需人干预,打些单词到写字板里,
Move a window to a specified point using MoveWindow API 使用MoveWindow API移动一个窗口到指定的点。
Get Drive Type using GetDriveType API 使用GetDriveType API得到驱动器类型
Set your Window on top of all forms using SetWindowPos API 使用SetWindowPos API把你的程序窗口在所有窗口中设置为最顶端。
Get File information is using SHGetFileInfo API 使用SHGetFileInfo API得到文件信息
Draw an Arc using Arc API 画弧线,使用Arc API
Draw a chord using Chord API 画一个闭合弦使用Chord API
Draw a line from a point to specified point using LineTo API 画一个线条从一个点到另一个指定点。使用LineTo API
Draw a pie using Pie API 使用Pie API画饼图
Get the window which has got focus using GetFocus API 使用GetFocus API判断那个窗体得到焦点
Get the Entire command line passed using GetCommandLine API 得到完整的命令行
Capture desktop using GetDesktopWindow and BitBlt API 捕获桌面使用GetDesktopWindow and BitBlt API
Capture the window under mouse into the form using GetDC,BitBlt,GetCursorPos and WindowFromPoint API 使用GetDC,BitBlt,GetCursorPos and WindowFromPoint API捕获鼠标下面的窗口到一个窗体中
A simple code to catch any keypress and store it in a file named "file.txt" It runs in the background. 一个简单的代码,捕获键盘消息并且保存到文件名“file.txt”,它是运行在后台的。
This code finds a window and sends message to the window. 这个代码是找到一个窗口并发送消息给窗口
This code brings a file from remote server to the client without asking the "Save to disk" dialog box. 这个代码从远程主机保存文件到客户机,不出现“Save to disk”对话框。
Controlling carat blinking speed using API 使用API控制克拉闪亮的速度
This code puts your project icon in the system tray. 放工程图标到系统拖盘中。
Code to Check the Mode in which Windows is Loaded 检查windows的引导模式
Sets the time on the local machine. 设定本地机的时间
The following Code Helps To refresh Desktop using a different approach 这个代码使用一种不同的途径来更新桌面
This code initiates the screen saver of the system. 启动计算机系统的屏幕保护
Allows you to paint the system stock icons onto your form 在窗体上绘制系统托盘图标
Finds Hard-Drive Capacity. Will work with any size of drive. 发现硬盘的容量,在任何大小的驱动器上都可正常工作
Finds all Drives Free Space and Capacity 找出所有驱动器空闲的空间和容量
This code is useful when you are getting your logon user with domain name 这个代码很有用,当你正在获取你的登录帐号时
Did you ever wanted to create your own dll with api function export 用API函数创建自己的DLL
This code will grab any window text box text from any aplication running on windows 32 bit 这个代码可以从任意的windows32位应用程序中获取文本框中的文本
Code to Get the Number of Function Keys in the KeyBoard 得到键盘键数的代码
This code gives the length of alphabets and numbers in pixels 这个代码给出了字母表的长度
This simple program loads or removes any FONT from a specified path & file name 从指定的路径和文件名中载入或删除字体
Get Cached Passwords from the PWL File 在PWL文件中得到其保存的密码
Yet Another CenterForm

上一页  [1] [2] [3]  下一页


[VB.NET程序]GSM短信模块库函数,可以用VB,VC,调用简单实用  [办公软件]PowerPoint做交互课件之弃用VBA
[办公软件]VBA获取U盘、主板、CPU序列号和网卡MAC地址  [办公软件]VBA设置文件属性及加密源代码示例
[办公软件]VBA中初始化ADO连接的几种方法  [网络安全]“VB破坏者变种N”病毒摘要
[Web开发]ASP.NET上传文件到数据库VB版  [办公软件]在Excel中利用VBA实现多表单元格数据的读取与赋值…
[办公软件]使用Vba读取已关闭的Excel工作薄数据到当前工作表…  [办公软件]Excel编程基础之VBA文件操作详解
教程录入:mintao    责任编辑:mintao 
  • 上一篇教程:

  • 下一篇教程:
  • 【字体: 】【发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口
      注:本站部分文章源于互联网,版权归原作者所有!如有侵权,请原作者与本站联系,本站将立即删除! 本站文章除特别注明外均可转载,但需注明出处! [MinTao学以致用网]
      网友评论:(只显示最新10条。评论内容只代表网友观点,与本站立场无关!)

    同类栏目
    · C语言系列  · VB.NET程序
    · JAVA开发  · Delphi程序
    · 脚本语言
    更多内容
    热门推荐 更多内容
  • 没有教程
  • 赞助链接
    更多内容
    闵涛博文 更多关于武汉SEO的内容
    500 - 内部服务器错误。

    500 - 内部服务器错误。

    您查找的资源存在问题,因而无法显示。

    | 设为首页 |加入收藏 | 联系站长 | 友情链接 | 版权申明 | 广告服务
    MinTao学以致用网

    Copyright @ 2007-2012 敏韬网(敏而好学,文韬武略--MinTao.Net)(学习笔记) Inc All Rights Reserved.
    闵涛 投放广告、内容合作请Q我! E_mail:admin@mintao.net(欢迎提供学习资源)

    站长:MinTao ICP备案号:鄂ICP备11006601号-18

    闵涛站盟:医药大全-武穴网A打造BCD……
    咸宁网络警察报警平台