Showing posts with label internet. Show all posts
Showing posts with label internet. Show all posts

Friday, October 3, 2008

ASP.NET/Visual Basic: Creating a simple web application

This presentation shows how to create and test a simple ASP.NET web application using Visual Basic. This example applies also to Visual C# and Visual J#.

Presentation type: Flash SWF
Software needed to apply: Microsoft Visual Studio 2005

Open the presentation here.

Thursday, October 2, 2008

Customising gradient colors in Flash CS3

You can apply and customise your own gradient colors for shapes. Here is a little presentation how you can do that in Flash CS3.

Presentation type: Flash SWF
Software needed to apply: Adobe Flash CS3

Open the presentation here.

Wednesday, October 1, 2008

New shape drawing features in Flash CS3

Drawing basic shapes in Flash CS3 provides some new features. Here is a little presentation how to draw different kinds of rectangles and ovals.

Presentation type: Flash SWF
Software needed to apply: Adobe Flash CS3

Open the presentation here.

Monday, September 29, 2008

ASP.NET/C#: Creating a web service

In this presentation you will see how to create a simple web service with Visual Studio 2005. Used language is C#, but this can be done also with Visual Basic. You will also see how to test the web service before publishing it or creating a client app to use it.

Presentation type: Flash SWF
Software needed to apply: Microsoft Visual Studio 2005

Open the presentation here.

ASP.NET/C#: Using Google Maps to find a location

You can use Google Maps service to find a location, for example a street address. In this example you will see how to create a web page with a text field and a button to find a location based on a street address. In this presentation you will see how to create a small ASP.NET application to use Google Maps to show the entered location on the map.

Presentation type: Flash SWF
Software needed to apply: Microsoft Visual Studio 2005

Open the presentation here.

Saturday, September 27, 2008

PHP: Using Google Maps to find a location

You can use Google Maps service to find a location, for example a street address. In this example we create a web page with a text field and a button to find a location based on a street address. We create a small PHP program to use Google Maps to show the entered location on the map. See the example running here.

Create a new HTML/PHP file using your text editor. Place a form on the page as in listing 1. On the form there will be a text field and a button.

Listing 1. The form code. Click on the picture to see it in it's original size.



Next, add a PHP script block in the very top of the document. Nothing - even an empty row or a space - cannot be before the block. See listing 2.

Listing 2. The PHP script block and code. Click on the picture to see it in it's original size.



Save the file under your web server directory with .php extension by the name find.php (or equivalent to the PHP file name in your form's action attribute). Open the page in your browser using http. Enter a location in the address field, for example Mannerheimintie 1, 00100 Helsinki, and hit the find button. The location should now be opened on the Google Maps.

JavaScript: Using Google Maps to find a location

You can use Google Maps service to find a location, for example a street address. In this example we create a web page with a text field and a button to find a location based on a street address. We create a small JavaScript program to use Google Maps in a new window to show the entered location on the map. See the example running here.

Create a new HTML file using your text editor. Place a form on the page as in listing 1. On the form there will be a text field and a button.

Listing 1. The form code. Click on the picture to see it in it's original size.



Next, add a script block in the header section of the document. See listing 2.

Listing 2. The JavaScipt block and code. Click on the picture to see it in it's original size.



Save the file. Open the page in your browser. Enter a location in the address field, for example Mannerheimintie 1, 00100 Helsinki, and hit the find button. The location should now be opened in a new window on the Google Maps.