Re: VB6 to RealBasic



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...
.



Relevant Pages

  • Re: Global Variable or Not
    ... Will the above not declare a different instance of Class A so wont be able ... I usually do this in a way that guarantees that if the update fails, ... > Believing a program will never crash, or a computer will never crash, is not a good ... >>contents of this vector, that has been built up over the day, and produces ...
    (microsoft.public.vc.mfc)
  • Re: Basic ASP.NET application scope question
    ... For example if you declare your class as shared or if you create the class ... code itself each page is a separate class and the object will be threadsafe. ... built. ... I should avoid putting lots of things into the session. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Rotax vs. Jabiru
    ... >> combat just this issue... ... > Can a SP built, ... > I declare it to fly ...138 mph continuous max power, ... establish these numbers and enter them in your POH for phase II flying. ...
    (rec.aviation.homebuilt)
  • Encrypt function...
    ... Declare @enc_password as varbinary ... INSERT INTO [profiles] ... I am using the built in encrypt ...
    (microsoft.public.sqlserver.programming)