Learning VB.net (1 Viewer)

GBalcom

Much to learn!
Local time
Today, 09:29
Joined
Jun 7, 2012
Messages
459
I am an access VBA programmer, and have begun trying to learn VB.net and I have a few questions I'm hoping someone can answer for me:

1. I've done a couple tutorials so far, and noticed that at least on the tutorials, when they create a variable, the do not define what type or object that it is. Is this an accepted practice? does it matter in VB.Net? as an example:

Dim int as integer (VBA) seems to be Dim int (VB.NET)

2. I've seen no error trapping in the tutorials so far, is this an unneccesary step in VB.NET (I find that hard to believe), or is it handled in some other way?

3. Deployment tools- I'm using Visual Studio express (2010 and 2012). Are the internal tools enough to make a seamless robust installation, or is there something else I should consider? My final install will definately include a database, either an access (.accdb) or SQL.

Thanks for any insight,
Gary
 

gemma-the-husky

Super Moderator
Staff member
Local time
Today, 17:29
Joined
Sep 12, 2006
Messages
15,634
i am pretty sure you type variables in the same way as in vba

just dim myint is a variant (or even illegal), unless you specifiy a data type
 

Users who are viewing this thread

Top Bottom