Understanding VB .NET Code Part 2

1. Backcolor

VB.Net: Drawing.Color.White

VBA: http://mc-computing.com/languages/Colors.htm

2. Calling Form Actions

VB.NET: function_click(Nothing, Nothing)

VBA: function_click:()

3. ComboBox

VB.NET: ByVal cbo As System.Windows.Forms.ComboBox;



VBA: cbo As ComboBox



Reference: http://msdn.microsoft.com/en-us/library/system.windows.forms.combobox.aspx

4. OpenSchema

VB.NET: RecordSet = Conn.OpenSchema(ADODB.SchemaEnum.adSchemaTables, New Object() {Nothing, Nothing, tableToFind, “table”})

VBA: Set RecordSet = Conn.OpenSchema(adSchemaTables, Array(Empty, Empty, tableToFind, “TABLE”))

Post a comment or leave a trackback: Trackback URL.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: