当前位置:首页 » 服务器技术
开发技术指南» 文章正文
    引言: Running applications from Delphi
 

 

    摘要:实例讲解.net中资源文件的创建与使用 一、资源文件 资源文件顾名思义就是存放资源的文件。资源文件在程序设计中有着自身独特的优势,他独立于源程序,这样资源文件就可以被多个程序使用。同时在程序设计的时候,有时出于安全或者其他方面因素的考虑,把重要东西存放在资源文件中,也可以达到保密、安全的效果。那么visual c#所使用的资源文件中到底存放哪些东西呢?在用visual c#创建资源文件大致可以存放三种类型的数据资源,分别是字节数组、各种对象和字符......
 ·jbuilder9开发实用技巧    »显示摘要«
    摘要:1.同步输出目录   在java开发过程中,有时候我们要创建一些简单的类来测试某些功能,测试完成后就从磁盘删除该类的源文件,因为我们不想让该类出现在最终的产品中。但是,虽然源文件已经被删除,编译好的class文件仍可能留在磁盘上,当有其他的类依赖于该类,就可能导致开发环境的不稳定。   在jbuilder中,我们可以设置一个编译选项来同步(synchronize)java的源文件和对应的类,这样,一旦java源文件被删除,对应的class文件也将被删除。按......


Running applications from DelphiTM: Using ShellExecute (Part 1) {转贴}

running applications from delphitm: using shellexecute (part 1)

【相关文章:[原创]彻底解决Struts分页显示

level: newbie-hacker 【扩展阅读:Linux学习笔记-shell命令[转帖

【扩展信息:PHP 和Apache 结合重写URL以

author: the baker

date: 2002-04-19

 

running or opening external programs or files, from delphitm applications, is often a necessary requirement. this article covers the shellexecute windows api function, revealing techniques for running external applications from your delphi applications.

running applications from delphi

there are a number of reasons why you might be interested in running external applications from your delphi application. often programs are segmented into a number of logical divisions to represent different components of a larger system. some sub-system components might include:

main application

setup/installer application

system application (specifying system wide options)

application server application

reporting application

an external third party application

as can be seen, there are a number of reasons why you might need to call an external application. let´s discuss how we can do this with the shellexecute command.

shellexecute winapi

the shellexecute api allows for the execution (or "running") of external applications. it also has a number of other uses, however these all involve performing operations on external files. the syntax for the shellexecute winapi function is:

hinstance shellexecute(hwnd hwnd,

     lpctstr lpoperation,


...   下一页
 ·swing设计joptionpane    »显示摘要«
    摘要:swing中提供了joptionpane类来实现类似windows平台下的messagebox的功能,同样在java中也有,利用joptionpane类中的各个static方法来生成各种标准的对话框,实现显示出信息、提出问题、警告、用户输入参数等功能。这些对话框都是模式对话框。 confirmdialog --- 确认对话框,提出问题,然后由用户自己来确认(按"yes"或"no"按钮)  inputdialog --......
» 本期热门文章:

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