A french/american blog with some hungarian spices…
Archive for November, 2007
Offline until 12/05
Nov 21st

It’s vacation time !!!…
We are on our way to explore South America…
We will be visiting Peru, with Lima, Cuzco and Machu Picchu.
And we will finish with one week in patagonia…
Demonstrate a unix command usage from powerpoint
Nov 15th
Here is the reason why I tried to demo a website from powerpoint… I needed to demonstrate how to use a new Unix application, but I wanted to do that from my powerpoint presentation. After some time spent on google, I didn’t find any way to integrate a ‘unix terminal’ component in a power point slide.
So my solution was to use the embedded browser and use Ajaxterm to connect to a remote linux host… This works… but there is a limitation as it’s not possible to use PageUp, PageDown to go up and down in your terminal… In order to fix that, you can start ‘screen’ on your unix host, and then you can navigate in your terminal using Ctrl+b, Ctrl+f.
I believe that there is a cleaner to connect to a unix host from powerpoint… but I didn’t find it. If you know other solution… please share
Some links to finish, I didn’t try anyterm but it looks cool too…
How to demo/browse a website using powerpoint?
Nov 14th
Problem: You are giving a powerpoint presentation, and during this presentation you need to show/browse a website. The solution that most of the persons will chose will be to hit “alt+tab” to switch the focus to their browser… Yes that does the trick… But you may want to show the website from your powerpoint to keep your audience captivated. I personally think that people has a tendency to get distracted when you switch away from your fullscreen powerpoint.
My solution is to integrate a “Microsoft Web browser” component on your slide, so you can use it to browse a website. Start by adding the component as shown in this screen shot.
Then you can put several buttons on your slide to control your embedded browser. It should look like on this screenshot.
Finally you will have to add some Visual Basic code to your button’s callbacks. Something like:
Private Sub FontDecrease_Click() Dim Z As Variant WebBrowser1.ExecWB OLECMDID_ZOOM, OLECMDEXECOPT_DONTPROMPTUSER, Null, Z If Z > 0 Then Z = Z - 1 Else Z = 0 End If WebBrowser1.ExecWB OLECMDID_ZOOM, OLECMDEXECOPT_DONTPROMPTUSER, Z, Null End Sub Private Sub FontIncrease_Click() Dim Z As Variant WebBrowser1.ExecWB OLECMDID_ZOOM, OLECMDEXECOPT_DONTPROMPTUSER, Null, Z If Z < 4 Then Z = Z + 1 Else Z = 4 End If WebBrowser1.ExecWB OLECMDID_ZOOM, OLECMDEXECOPT_DONTPROMPTUSER, Z, Null End Sub Private Sub StartDemo_Click() WebBrowser1.Navigate ("http://samuel.happycoders.org/") End Sub
Download this code: test-www-ppt.pas
And here is the result:
Download the example
In the next post I will explain why I wanted to do that… I have a really geeky reason
My second earthquake … 3.7
Nov 1st
and 2! It’s fun the first time… the second time it’s starting to be a little bit scary