linux社区爱心援助Linux认证系列教程业界动态站务新闻公司招聘网络学院网址大全LPI专题CISCO专题
设为首页
加入收藏
管理团队
JSP  
JAVA  
PERL  
 您的位置:首页 > 开发语言 > Delphi >
栏目导栏
  php
  JSP
  ASP
  asp.net
  JAVA
  c/c++/c#
  perl
  JavaScript
  Basic
  Delphi
资料搜索
热门文章
·HexToStr函数和StrToHex函数
·Delphi中的进制转换
·delphi轻松设置无边框透明窗体
·delphi第三方控件安装(Ehlib)
·DELPHI组件安装全攻略
·delphi动态创建控件
·开发工具比较Visual C++ VS De
·delphi完整身份证效验程序实例
·delphi中的Format函数详解
·delphi编程获取打印机的打印任
·如何判断文本文件的编码格式
·深入研究Variant数组
·用delphi编写网络游戏的外挂
·Delphi技巧-用户自定义数据类型
·delphi设置控件透明
最新文章
·在应用程序中跟踪MOUSE的坐标
·压缩和修复MS Access 2000文件
·DELPHI 6.0 动画制做
·怎样在Delphi中调用LastError信
·怎样得到主域服务器名称
·怎样利用递归实现删除某一目录
·读出主键下所有项
·如何制作照片底片效果的图像(
·获得Modem的状态
·WebBrowser屏幕滚动的实现,设
·有关字符串处理的小技巧
·Delphi建立键盘鼠标动作纪录与
·Delphi中布尔类型辨析
·DELPHI程序注册码设计
·图形的不规则的Copy
Google
 
不使用任何控件的录音程序
[ 作者:  加入时间:2007-12-03 14:45:22  来自:Linux联盟收集整理 ]
unit Unit1;g2PLinux联盟
g2PLinux联盟
interfaceg2PLinux联盟
g2PLinux联盟
usesg2PLinux联盟
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,g2PLinux联盟
Dialogs,mmsystem, StdCtrls;g2PLinux联盟
g2PLinux联盟
typeg2PLinux联盟
TForm1 = class(TForm)g2PLinux联盟
Button1: TButton;g2PLinux联盟
Button2: TButton;g2PLinux联盟
Button4: TButton;g2PLinux联盟
SaveDialog1: TSaveDialog;g2PLinux联盟
procedure Button1Click(Sender: TObject);g2PLinux联盟
procedure Button2Click(Sender: TObject);g2PLinux联盟
procedure Button3Click(Sender: TObject);g2PLinux联盟
procedure Button4Click(Sender: TObject);g2PLinux联盟
privateg2PLinux联盟
{ Private declarations }g2PLinux联盟
publicg2PLinux联盟
{ Public declarations }g2PLinux联盟
end;g2PLinux联盟
g2PLinux联盟
varg2PLinux联盟
Form1: TForm1;g2PLinux联盟
g2PLinux联盟
implementationg2PLinux联盟
g2PLinux联盟
{$R *.dfm}g2PLinux联盟
g2PLinux联盟
procedure TForm1.Button1Click(Sender: TObject);g2PLinux联盟
beging2PLinux联盟
  mciSendString('close p1',0,0,0);g2PLinux联盟
  mciSendStringA('open new type WAVEAudio alias p1',0,0,0);g2PLinux联盟
  mciSendString('record p1',0,0,0);g2PLinux联盟
end;g2PLinux联盟
g2PLinux联盟
procedure TForm1.Button2Click(Sender: TObject);g2PLinux联盟
beging2PLinux联盟
  mciSendString('stop p1',0,0,0);g2PLinux联盟
end;g2PLinux联盟
g2PLinux联盟
procedure TForm1.Button3Click(Sender: TObject);g2PLinux联盟
beging2PLinux联盟
  mciSendString('play p1',0,0,0);g2PLinux联盟
end;g2PLinux联盟
g2PLinux联盟
procedure TForm1.Button4Click(Sender: TObject);g2PLinux联盟
var s:string;g2PLinux联盟
beging2PLinux联盟
  if SaveDialog1.Execute theng2PLinux联盟
    s:='save p1 '+SaveDialog1.filename;g2PLinux联盟
  mciSendString(pchar(s),0,0,0);g2PLinux联盟
end;g2PLinux联盟
g2PLinux联盟
end. Linux联盟收集整理 ,转贴请标明原始链接,如有任何疑问欢迎来本站Linux论坛讨论
评论】【加入收藏夹】【 】【打印】【关闭
※ 相关链接
 ·ASP.NET动态创建控件之绝境求生  (2007-11-30 13:30:25)
 ·服务器控件中js脚本注册方法  (2007-11-30 13:07:09)
 ·ASP.NET 2.0中使用HiddenField控件  (2007-11-28 13:44:53)
 ·在Repeater控件中创建可隐藏区域  (2007-11-28 13:44:25)
 ·ASP.NET 2.0 服务器控件之复合控件事件  (2007-11-27 17:33:02)
 ·使用c#+(datagrid控件)编辑xml文件  (2007-11-27 17:29:26)
 ·使用 ASP+ DataGrid 控件来创建主视图/详细资料视图  (2007-11-27 17:20:49)
 ·给datagrid控件建立稳固的双向排序(asp.net)  (2007-11-27 16:58:03)
 ·为DataGrid添加CheckBox控件  (2007-11-26 16:29:26)
 ·DataGrid控件通用打印类  (2007-11-26 16:28:56)