PPT Macro for Formatting multiple slides

Dear All,Many times we come across situation in which we need to format 100's of slides withing specified amount of time, and doing it manually is really not a smart way thats where macro comes in picture.Below is sample macro I have written for formatting active slides :I hope you know how to run macros ;) else you can always take help from Google!!!!!!Dim myvar As SlideDim myvar1 As ShapeFor Each myvar In ActivePresentation.SlidesFor Each myvar1 In myvar.ShapesWith myvar1.Left = 50.Top = 71.LockAspectRatio...

Dynamic Column width in BI Publisher

Dynamic Column width in BI Publisher This has been a complex task to assign width of column dynamically in BI Publisher. This means number of columns is not fixed and they will come dynamically from XML and we want width of the columns to be distributed equally or in some ratio. Combined width of all columns assigned dynamically will be taken up from the width that we assign to that particular column. If there is only single column coming from XML then it will take up all width. If there...

Sending mail with attachment in JAVA

Sending mail with attachment in JAVA The JavaMail API is a set of abstract APIs that model a mail system. The API provides a platform independent and protocol independent framework to build Java technology based email client applications. The JavaMail API provides facilities for reading and sending email. The package defines classes that are specific to mail systems based on internet standards such as MIME, SMTP, POP3, and IMAP. Jar files required: 1. mail.jar that you can download...

How to take ScreenShot in iOS ?

How to take ScreenShot in iOS ? Sometimes requirement arises in iPhone/iPad app that how we get screenshot of a particular UI part. So this captured screenshot can be sent as attachment to authorities via mail or can be written on to photo library. MyImage Subclass of UIImageWe have to make subclass of UIImage that is MyImage and we are going to implement some extra methods inside it to get screen shot of a particular UI part. so customized MyImage Class code is given below. MyImage.h...

Send Email on Startup and Shutdown Process on Linux Server

Send Email on Startup and Shutdown Process on Linux Server It is always nice to have notification when a server reboots, especially when you are on vacation, away from the office, or just hanging around! In order to send an email on reboot, we can easily create a cron job to run on reboot. This means for a single reboot the Administrator will receive two emails. This solution will not send out an email if the system loses power, however an email will still be sent on reboot. This should...

Control File in DBMS

Control File in DBMS The Control File of the database is a binary file that contains database information such as the database name, data about the database log files and data files, timestamp of database creation, tablespace name, checkpoint information and backup information. Database can't open without a Control file.Getting information of current control file in use: SQL>SHOW PARAMETER control_files;SQL>SELECT * FROM v$controlfile;SQL>SELECT * FROM v$controlfile_record_section;...

Moving ORADATADirectory to another location in Oracle DataBase

Moving ORADATADirectory to another location in Oracle DataBase Database files are stored in ORACLE_BASE\oradata\DB_NAME\ If you want to move the oradata directory to another location or directory then the minimum required steps are as follow Step 1: Creation of tracecopy of the Control fileSQL>ALTER DATABASE BACKUP CONTROLFILE TO TRACE;The Default location of tracecopy is USER DUMP destination. If you want to find the USER DUMP Destination then use the following statementSQL> SHOW...

Virtualization

virtualization: In computing, virtualization means to create a virtual version of a device or resource, such as a server, storage device, network or even an operating system where the framework divides the resource into one or more execution environments. Even something as simple as partitioning a hard drive is considered virtualization because you take one drive and partition it to create two separate hard drives. Devices, applications and human users are able to interact with the virtual...