I have written many posts previously on Timers in Oracle Forms like how to change images randomly with timers and how to display a clock using timer, but in this post I am simply describing to how to create a timer, stop a timer, re-start a timer and…
Creating Timer in Oracle D2k / Forms 6i and Displaying a Clock This is about timer in D2k An external clock can be constructed using timers. Timers correspond to internal clocks, which have a specific time period. When the specified duration expires,…
Suppose you want to change multiple images after a specified time in home screen of your oracle forms application. Follow these simple steps to create image presentation with create_timer: (1) Place an image item on canvas and set the appropriate siz…
Below is the example plsql unit to validate login credentials and after successful validation open a new form by passing some parameters to it, in Oracle forms 10g.Create a form for custom login. Create text items for username and password etc. and a…
Below is the example to create an excel file in Oracle Forms.Pass the Sql query string to the below procedure to generate an Excel file using Ole2 package.PROCEDURE Create_Excel_File (CSQL Varchar2)Is   source_cursor    Integer;   l_colCnt         Nu…
You can test or tune your program unit performance in Oracle forms with Ora_Prof package.Suppose you have created to procedure to perform a single task with different logic and you want to check exactly which procedure is performing well. See the bel…
定时器是系统常用的组件之一,程序员可以根据自己的需求定制一个定时器类型,也可以使用.net内建的定时器类型.在.net中一共为程序员提供了3种定时器: System.Windows.Forms.Timer类型 System.Threading.Timer类型 System.Timers.Timer类型 一.System.Windows.Forms.Timer 从这个定时器的命名空间可以看出,.net设计这个定时器的目的是为了方便程序员在Window Form中使用的定时器.当一个System.W…
工作中有时需要启动和停止windows service,有时候会出现服务处于stopping或者starting的状态,但是,在services界面中,start service/stop service已经处于灰色不可操作状态,用命令行的形式net start/stop servicename也无济于事.停止服务的方法就是关掉这个进程,但是很多时候无法确定是哪个进程与之相关.在命令行中我们可以使用sc queryex servicename这个命令来获得该服务的相关信息. For exampl…
工作中有时需要启动和停止windows service,有时候会出现服务处于stopping或者starting的状态,但是,在services界面中,start service/stop service已经处于灰色不可操作状态,用命令行的形式net start/stop servicename也无济于事.停止服务的方法就是关掉这个进程,但是很多时候无法确定是哪个进程与之相关.在命令行中我们可以使用sc queryex servicename这个命令来获得该服务的相关信息. For exampl…
Boost.Timer provides clocks to measure code performance. At first, it may seem like this library competes with Boost.Chrono. However, while Boost.Chrono provides clocks to measure arbitrary periods, Boost.Timer measures the time it takes to execute c…