Results 1 to 5 of 5

Thread: VB.Net for equipment automation

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2015
    Posts
    6

    VB.Net for equipment automation

    Hi everyone,

    I have been given a new project at work. I have to automate some equipment. Currently, I am learning to automate a parameter analyzer, the Agilent B1505A. I have found some examples in manuals on how to use VB 6.0 to program the analyzer. However, I am really new to this, and I have only ever used VBA for excel macros.

    In the programming basics of the manual, it lists the steps below which I have a few questions about:

    1) Connect instrument to computer via GPIB (DONE)
    2) Launch Visual Basic and create a new project. (I downloaded the Express 2013 for Windows Desktop and open a new console application, is that the correct one to download open?)
    3) Import the following file to the project: agb1500.bas and visa32.bas

    I was able to find the visa32.bas file. If I can't find the other, is it possible to find missing .bas files somewhere else online? How do I import them?

    4) Open a form. (What is a form? Is this where the main subroutine should be written)

    Thanks again
    Last edited by dday9; Jan 23rd, 2015 at 03:11 PM. Reason: Editted title to show .Net

  2. #2
    PowerPoster SamOscarBrown's Avatar
    Join Date
    Aug 2012
    Location
    NC, USA
    Posts
    7,442

    Re: VB 6.0 for equipment automation

    As you downloaded (and plan to use) Express 2013, you will NOT be using a VB6.o product. Visual Basic 2013 Express falls under the .NET suite of MS development tools. This forum has a separate area in which folks deal with .NET development (the majority in this VB6 and Earlier section do not---although some do).
    I'll ask a moderator to repost this Thread in that forum.

  3. #3

    Thread Starter
    New Member
    Join Date
    Jan 2015
    Posts
    6

    Re: VB 6.0 for equipment automation

    Quote Originally Posted by SamOscarBrown View Post
    As you downloaded (and plan to use) Express 2013, you will NOT be using a VB6.o product. Visual Basic 2013 Express falls under the .NET suite of MS development tools. This forum has a separate area in which folks deal with .NET development (the majority in this VB6 and Earlier section do not---although some do).
    I'll ask a moderator to repost this Thread in that forum.
    Oh, I didn't realize that. Thank you for letting me know. Is there a free version of VB 6.0 that I could download? All I see on the Visual Studio website are links service packs and plug-ins, but maybe I am looking in the wrong places.

  4. #4
    Super Moderator dday9's Avatar
    Join Date
    Mar 2011
    Location
    South Louisiana
    Posts
    9,677

    Re: VB.Net for equipment automation

    Is there a free version of VB 6.0 that I could download?
    There are no legal copies of VB6. You could purchase it off of eBay, but for a price. This is because VB6 was replaced over a decade ago.

  5. #5

    Thread Starter
    New Member
    Join Date
    Jan 2015
    Posts
    6

    Re: VB.Net for equipment automation

    Oh okay, good to know! I have started reading a newer manual with .NET examples. I will certainly have some questions soon. I will post this thread as solved and start a new thread later.

    Thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width