Special

Clearance Sale!

We've been publishing for over five years now and it's time to clear out our inventory of back issues, so we're slashing prices!

RBD Magazines

Check out this amazing clearance sale of all our past issues. Missing some issues? This is a great time to complete your RBD collection. Save up to 40% off the regular price of our printed back issue packages. These prices are only good until the end of the year May 2008 and supplies are limited, so place your order today.

Article Preview


Buy Now

Print:
PDF:

Visual Basic and REALbasic

Converting Code

A small porting job

Issue: 3.2 (November/December 2004)
Author: Owen Yamauchi
Author Bio: Owen Yamauchi is a freelance programmer who has been programming REALbasic since version F4. He is the Lead Programmer for Domain Softworx, a company that produces developer tools for REALbasic.
Article Description: No description available.
Article Length (in bytes): 8,557
Starting Page Number: 36
RBD Number: 3217
Resource File(s):

Download Icon 3217.sit Updated: Friday, November 19, 2004 at 9:20 AM

Related Web Link(s):

http://www.domainsoftworx.com/index.html#drawingcanvas

Known Limitations: None

Excerpt of article text...

In the past few columns, I've been getting Visual Basic (VB) developers acquainted with REALbasic (RB) by showing the differences between the two development environments. Hopefully, VB developers have gotten comfortable with RB and have already discovered a few neat things about RB that VB lacks. In this column, I'll show you a few more neat things about RB that VB lacks, as well as introduce you to the process of converting VB code to RB.

Networking

Networking in VB is a nightmare. You have to deal with Winsock, or, for web browsing, you can use the ActiveX control. However, what if you want to make a custom web browser? Or a custom email program? You need Winsock, which is not notable for its ease of use.

In RB, you don't need to deal with anything at the system level. RB includes an object called a Socket, which deals with sending and receiving packets. In RB 5.0 and later, things get even better, with prefab Sockets like HTTPSocket, POP3Socket, SMTPSocket, and secure versions of each. They have the commands for their respective protocols built in, so you don't even need to worry about that. This means you could easily make a custom web browser or email program within a day!

...End of Excerpt. Please purchase the magazine to read the full article.

Article copyrighted by REALbasic Developer magazine. All rights reserved.


 


|

 


Weblog Commenting and Trackback by HaloScan.com