Bernard Bout

May the Fox be with you...

The other day I changed my mobile carrier which necessitated a new SIM card. The pone is an iPhone 4.

While checking the usage on my phone co. website I noticed a strange number as the first entry where it said I had made an SMS call and my carrier charged $0.50. While the amount is only 50 cents I was intrigued as to who or what had made this SMS in my name.

The number SMS's was 011447786205094

Reverse look up did not help so I finally turned to Google. I had to remove the international code and country… Continue reading

So I just updated my iPad with the latest firmware - IOS 5.0.1 and read that there is a facility called Wi-Fi sync where you are supposed to be able to sync wirelessly.

Of course the Apple site was of no help so I turned to Google and after much searching and trial, found info on how to enable WiFi sync.

What Apple doesn't tell you is that you have to Reboot your computer after setting this up in iTunes or it will not work. What they also do not tell you is that you MUST have iTunes running on… Continue reading

As many of you may have read, HTML5 is the new rage on the web. Although it is not yet fully approved, most modern browsers have already implemented a version that supports HTML5 including IE9.

HTML5 gives us the ability to do things in our browser that was not possible or was very complicated (many lines of code) with the older HTML format specification.

For instance to embed a video in HTML5 all that is needed now is these lines:

<video width="320" height="240" controls="controls">
<source src="http://www.w3schools.com/html5/movie.mp4" type="video/mp4" />
<source src="http://www.w3schools.com/html5/movie.ogg" type="video/ogg" />
Your browser does not support the video tag.… Continue reading

I came across this interesting html5 clock done using the canvas element and since the canvas is quite similar to the gdi+x imgcanvas, i decided to create it using gdi+x.

To change certain properties, open the favourites tab in your property editor and make those changes.

If you require a different size, then just resize the class container and run the form.

Here is a sample form (included) showing different sizes and with some properties changed.

It was quite tough to get this to work since gdi+x uses a funny system
for drawing pies and because of the way i… Continue reading

i have finally got around to posting the videos i took of the swfox 2010 opening session and the keynote speech by craig boyd.

he is unique in his delivery and his passion is evident.

here are the links :
http://www.youtube.com/watch?v=EbgP95rI7AQ
http://www.youtube.com/watch?v=flNvwHIy1FA
http://www.youtube.com/watch?v=85QKbtxtIyA
http://www.youtube.com/watch?v=mM2O0Z3DbzU
http://www.youtube.com/watch?v=JmHb37KxB6Q
http://www.youtube.com/watch?v=knolA3Xgptg

 

hope you enjoy this series.

i was really surprised to receive a communication a while back frm the organisers of this conference, rick , doug and tamar. for those reading this post, they need no further introduction. if you work with fox you have to know them. speakers , authors and generally great people.

i was being invted to attend swfox as a ceil silver ambassador. if you don't know what that is then please look here:

http://www.swfox.net/ambassador.aspx

i was thrilled to bits. suffice to say i was pleasantly surprised at the level of organisation and professionalism that these guys displayed, from start to finish.… Continue reading

I came across this cool code recently and after investigating it further, decided to throw together a vfp frontend for generating the file needed for this.

Basically in windows xp you can have an activedesktop where you can display any html content. so if you have a page of html to display, you can change the display properties of the xp desktop to display this page.

This simple application i created, asks for a video file and generates a html page that you can then set as your activedesktop so that you now get a video, with sound playing. in… Continue reading

i published some ultra simple buttons a while back that were quite lightweight
these had only text and the text was centrally aligned.

since then i have had requests to include the ability to add an icon and so these buttons have been enhanced to include icons as well as text alignment.

two new properties have been added to the favourites tab to allow this:

1. new property - textalignment

0 - middle (default)
1 - left
2
- right

2. new property - buttonicon

if set to an image
(bmp, gif, png,jpg) it will display a 24x24 pixel image… Continue reading

not another set of buttons you might say. actually i developed these buttons for a pos app a while back and finally got round to posting them.

the buttons are simple to use with all properties you need to set in the favourites tab.

ofontname - the name of the font to use
lshowbell - this gives a bell shape to the gradient. basically it changes the style of the button. see the image below.

nbuttoncolour1
nbuttoncolour2 - the 2 colours that will be used for the button when
nbuttontype = 4. use the colour picker to change these.

nbuttontype… Continue reading

in one of my previous posts i described a lightbox class that was activex friendly.
the old post is here: vfp lightbox class - now activex friendly

unfortunately because of the logic used in the class, for large "busy" forms with a large number of objects, it caused a couple of seconds delay before the lightbox was displayed and even then on slower computers the screen update was noticeably slow.

so i had another look at the logic of the previous version and threw away most of the code. the result is a lean, mean lightbox that is very snappy… Continue reading