当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: unit MapiControl; interface
 

 

 ·如何在delphi中使用资源文件    »显示摘要«
    摘要:作者: 潘汉杰 资源也是数据,它相当于我们熟悉的只读数据。在应用程序的可执行代码中,它是单独存储的,当其被调用时才载入程序,在程序执行完后又退出。delphi中的资源有很多类型,适用于不同的地方,大致有以下几类: ●图标资源:是一种小型位图,用户常常用不同的图标代替不同的应用程序。 ●光标资源:也是小型的位图,不过它适用的颜色不多。delphi已经给光标指定了一个光标图案集,就是我们操作......
 ·delphi中设置默认打印机    »显示摘要«
    摘要:type tform1 = class(tform) button1: tbutton; combobox1: tcombobox; procedure button1click(sender: tobject); procedure formcreate(sender: tobject); private { private declarations } publ......


如何使用MAPI发送E-MAIL
unit mapicontrol;

【程序编程相关:Delphi中调用NetscapeNav

【推荐阅读:程序调用控制面板设置

interface 【扩展信息:编写个人Internet上网计费软件

uses

windows, messages, sysutils, classes, graphics, controls, forms, dialogs;

type

{ introducing a new type of event to get the errorcode }

tmapierrevent = procedure(sender: tobject; errcode: integer) of object;

tmapicontrol = class(tcomponent)

constructor create(aowner: tcomponent); override;

destructor destroy; override;

private

{ private-deklarationen }

fsubject: string;

fmailtext: string;

ffromname: string;

ffromadress: string;

ftoadr: tstrings;

fccadr: tstrings;

fbccadr: tstrings;

fattachedfilename: tstrings;

fdisplayfilename: tstrings;

fshowdialog: boolean;

fuseapphandle: boolean;

{ error events: }

fonuserabort: tnotifyevent;

fonmapierror: tmapierrevent;

fonsuccess: tnotifyevent;

{ +> changes by eugene mayevski [mailto:mayevski@eldos.org]}

procedure settoaddr(newvalue : tstrings);

procedure setccaddr(newvalue : tstrings);

procedure setbccaddr(newvalue : tstrings);

procedure setattachedfilename(newvalue : tstrings);

{ +< changes }

protected

{ protected-deklarationen }

public

{ public-deklarationen }

applicationhandle: thandle;

procedure sendmail();

procedure reset();


...   下一页
 ·delphi开发用doa运行存储过程    »显示摘要«
    摘要:陶占红   用delphi开发c/s结构的oracle数据库软件时,为提高效率,通常将大批量的数据处理交给后台存储过程来完成。由于delphi需通过bde才能操作和处理各种数据库文件,这样不仅效率低,而且存在一定局限性,所以考虑采用第三方工具doa来提高交互效率,方便前后台信息的传递。   doa(即direct oracle access的缩写)是荷兰allround automatio......
» 本期热门文章:

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