Category Archives: VB.Net

Here’s How to Do an Inline IF statement in VB.NET

What is an “IF” Statement? As you may already be aware, the “IF” statement is a conditional statement in any coding language, which usually is wrapped by the “IF, THEN” and “END IF” keywords/statements. The code between these two lines gets executed if the condition

VBA vs. VB.Net — What’s the Difference?

VBA is the programming language behind Microsoft Office.  It is derived from a programming language called Basic. VB (Visual Basic) is also derived from Basic. For nearly all programming purposes, they are the same language. VB can either refer to straight Visual Basic (the last version

No Thumbnail

VB.Net Open Google Earth (Google Earth API)

This article explains how you can use VB.Net to open google earth. Note: The google earth API will only be available if you have Google Earth installed on your computer. The first step would be to add reference to the Google Earth 1.0 Type Library. Note the version might

No Thumbnail

VB.Net Open KML File (Google API)

This article explains how you can use VB.Net to open a KML File. Note: The google earth API will only be available if you have Google Earth installed on your computer. The first step would be to add reference to the Google Earth 1.0 Type Library. Note the version might

No Thumbnail

VB.Net Open Tekla Structure Model (Tekla Open API)

This article explains how to open a Tekla Structure from VB.Net. – Step 1 The first step would be to add reference to the Tekla.Structures.Model.dll Assembly: The assembly can be found in the path “C:Program FilesTekla Structures20.0ntbinplugins”. – Step 2: Any code written for tekla requires

No Thumbnail

VB.NET Get KML File Properties (Google Earth API)

This article explains how to get the different properties from a KML file using VB.Net. Properties such as: Longitude Latitude Altitude Range … – Step 1: The first step would be to add reference to the Microsoft XML library. I have Microsoft XML V6.0 installed

No Thumbnail

VB.Net Set Camera, Google Earth API

This article explains how you can use VB.Net to automate Google Earth and set the camera to the location you want. It will be assumed there is KML file located in the path “D:StuffBusinessTempLocation.KML”. The KML file contains the required data for setting the camera position

No Thumbnail

Insert Concrete Beam Using VB.Net (Tekla Open API)

This article explains how to insert a concrete beam in a tekla model using the Tekla Open API in VB.Net. Previously in the article Insert Concrete Column Using VB.Net (Tekla Open Api) I’ve explained how to add columns to a tekla model. Adding beams is exactly the