Re: VB6 to RealBasic
- From: Lewis Gardner <lgardner@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 13 Apr 2008 00:14:01 -0400
Boris Danner wrote:
So with RB you may just ask here, but don't be suprised if a lot of
functions are just built in.
I would be glad to learn from an experienced user a short list of those often used functions which are NOT built in what would abbreviate the learning curve significantly and enhance the chance to change over considerably.
I think you are thinking about this backwards.
"Often used functions" are very different between programs and the programmers that create them.
Most things I have tried to do in RB are significantly easier than in VB since the functionality is already there and usually behaves in a orderly fashion. The old VB bit of declare this and declare that is not needed but is still available if you want (or have to) to go that way.
For example in my programs I always grab the machine and user names on startup so they can appear in the status line of each major window. In VB I used declares to get this information. When I started with RB I did it the hard way and used a declare in #if TargetWin32 and shell commands for #if TargetLinux or TargetMacOS. It didn't take me long to find that System.EnviromentVariable("ComputerName") and System.EnviromentVariable("UserName") will do exactly the same thing with a LOT less effort.
There is a significant difference between the way RB works best compared to VB. To make a list like you desire will likely be less useful than you imagine.
You should take Christian up on his offer to "just ask here" for the functionality you require. His knowledge of how to get things done in RB is amazing...
.
- References:
- VB6 to RealBasic
- From: Boris Danner
- Re: VB6 to RealBasic
- From: Christian Schmitz
- Re: VB6 to RealBasic
- From: Boris Danner
- Re: VB6 to RealBasic
- From: Raoul Watson
- Re: VB6 to RealBasic
- From: Christian Schmitz
- Re: VB6 to RealBasic
- From: Boris Danner
- VB6 to RealBasic
- Prev by Date: Re: Listbox header question
- Next by Date: Re: Listbox header question
- Previous by thread: Re: VB6 to RealBasic
- Next by thread: Re: VB6 to RealBasic
- Index(es):
Relevant Pages
|