摘要:
今天在论坛中看到有人在讨论关于票据打印的问题在dos年代,我们是直接用控制打印机对象的方法进行单字打印。在现在图形界面开发的程序中,仍有很多人在使用这种方法。当然这种方法的好处是显而易见的,打印位置准确,容易控制走纸,而且比其他的打印方式相对能延长打印机寿命,节约打印成本。
使用printer对象控制打印的唯一问题是开发时调整位置需要相当长的时间。
在现在的很多项目中,我们使用的是可视化的编程工具,相应的打印方法又增加了很多。有人采用的是使用exc......
摘要:
shellexecute function
performs an operation on a specified file.
syntax
hinstance shellexecute( hwnd hwnd,
lpctstr lpoperation,
lpctstr lpfile,
lpctstr lpparameters,
lpctstr lpdirectory,
int nshowcmd
);
......
Using MSAgent to Scan the Start Menu
add the following objects to your project: 【相关文章:Servlet中如何捕获Session事】
note this code will ignore duplicate shortcuts. for example i have 4 or 5 shortcuts in my start menu that are named "readme.txt." only the first instance of these will get added to the commands all others will produce an error and will be ignored. 【扩展阅读:java笔试题】
object type
object name
new module
doesn´t matter
new form
frmmain
function
submain() - the project will need to start up here.
microsoft agent control
agent
【扩展信息:JSP利用组件实现文件上传的全攻略】
add the following to a new code module:
...
下一页 摘要:一、基本的包
java.lang包含一些形成语言核心的类,如string、math、integer和thread。
java.awt包含了构成抽象窗口工具包(awt)的类,这个包被用来构建和管理应用程序的图形用户界面。
java.applet包含了可执行applet特殊行为的类。
java.net包含执行与网络相关的操作的类和处理接口及统一资源定位器(urls)的类。
java.io包含处理i/o文件的类。
java.util......