Intellicad Visual Basic Application

Slides:



Advertisements
Similar presentations
An Introduction to Visual Basic Terms & Concepts.
Advertisements

VISUAL BASIC Visual Basic is derived from the Basic language (Beginner’s All-Purpose Symbolic Instruction Code) Visual Basic uses an event-driven programming.
Introduction to Visual Basic.NET Uploaded By: M.Sheraz anjum.
Using VB with MS Applications R. Juhl, Delta College.
Customisation The GUI in most GIS applications is sufficient for most needs. However, situations arise where you want either to: –Modify the interface,
1 Chapter 12 Working With Access 2000 on the Internet.
CVEV 118/698 Visual Basic Lecture 1 Prof. Mounir Mabsout Expert 1: Elsa Sulukdjian Expert 2: Walid El Asmar.
Visual Basic Project 1 IDS 306 Spring 1999 V. Murphy.
Visual Basic for Applications Class III. User Forms  We place controls on User Forms to get input from the user.  Common controls include text boxes,
Introduction to computers & Visual Basic School of Business Eastern Illinois University © Abdou Illia, Spring 2003 (Week 3, Monday 1/27/2003)
Using the Visual Basic Editor Visual Basic for Applications 1.
Slide 1 ICS 012 Visual Programming I Ahmed Esmat Second.
Introduction to Visual Basic What it is, and a simple program Mike Thelwall University of Wolverhampton, UK.
To type the VB code behind the command button (named cmdPush), Double-Click on the Push Me (caption) command button As a result the Visual Basic Code Window.
Introduction to Visual Basic Chulantha Kulasekere.
Microsoft © Access 2000 Types of Forms Forms & Real Estate Conclusion Questions Why use a Form What is a Form Data behind a Form Controls on a Form Code.
Microsoft Visual Basic 2005 ENRICHMENT CHAPTER Visual Studio Tools for Office.
Microsoft Visual Basic 2005 CHAPTER 8 Using Procedures and Exception Handling.
Visual Basic Fundamental Concepts. Integrated Development Enviroment Generates startup form for new project on which to place controls. Features toolbox.
Visual Basic 2008 Express Edition The IDE. Visual Basic 2008 Express The Start Page Recent Projects Open an existing project Create a New Project.
Introduction to Visual Basic (VB)
Unit 20: Event Driven Programming
Microsoft Visual Basic 2012 Using Procedures and Exception Handling CHAPTER SEVEN.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Extended Prelude to Programming Concepts & Design, 3/e by Stewart Venit and.
Intellicad Visual Basic Application Marian Kate Santos Programming Paradigm.
Automating Tasks with Visual Basic. Introduction  When can’t find a readymade macro action that does the job you want, you can use Visual Basic code.
Microsoft Visual Basic 2008 CHAPTER 8 Using Procedures and Exception Handling.
® Microsoft Access 2010 Tutorial 11 Using and Writing Visual Basic for Applications Code.
An Introduction to Visual Basic
1 Workshop 4 (B): Visual Basic Test Project Mahidol University June 13, 2008 Paul Evenson University of Delaware Bartol Research Institute.
Appendices A - F A-F Exploring Microsoft Visual Basic 6.0 Copyright © 1999 Prentice-Hall, Inc. By Carlotta Eaton.
Integrated Development Environment (IDE)
Copyright © 2001 by Wiley. All rights reserved. Chapter 2: Using Visual Basic to Create a First Project Getting Started with VB Development Environment.
Irwin/McGraw-Hill Copyright© 2000 by the McGraw-Hill Companies, Inc. PowerPoint® Presentation to accompany prepared by James T. Perry University of San.
Chapter One An Introduction to Visual Basic 2010 Programming with Microsoft Visual Basic th Edition.
§Visual - A method used to create GUI applications. §BASIC - Beginner’s All - purpose Symbolic Instruction Code developed by John Kemeny. §VB- Evolved.
Irwin/McGraw-Hill Copyright© 2000 by the McGraw-Hill Companies, Inc. PowerPoint® Presentation to accompany prepared by James T. Perry University of San.
CHAPTER TWO INTRODUCTION TO VISUAL BASIC © Prepared By: Razif Razali 1.
Chapter Two Creating a First Project in Visual Basic.
CC111 Lec7 : Visual Basic 1 Visual Basic(1) Lecture 7.
MS Visual Basic 6 Walter Milner. VB 6 0 Introduction –background to VB, A hello World program 1 Core language 1 –Projects, data types, variables, forms,
Copyright © 2010 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Programming Logic & Design Second Edition by Tony Gaddis.
Visual Basic for Application - Microsoft Access 2003 Programming applications using Objects.
CMPF114 Computer Literacy Chapter 3 The Visual Basic Environment 1.
COMPUTER III. Fundamental Concepts of Programming Control Structures Sequence Selection Iteration Flowchart Construction Introduction to Visual Basic.
COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.
The Advantage Series ©2005 The McGraw-Hill Companies, Inc. All rights reserved Chapter 12 Introducing Visual Basic for Applications Microsoft Office Excel.
VISUAL BASIC 6.0 Designed by Mrinal Kanti Nath.
Chapter 8: More About OOP and GUIs
Visual Basic Code & No.: CS 218
Introduction to Computer CC111
Chapter Topics 15.1 Graphical User Interfaces
Chapter 8: Writing Graphical User Interfaces
3.01 Apply Controls Associated With Visual Studio Form
Unit 20: Event Driven Programming
1. Introduction to Visual Basic
Microsoft Access Illustrated
Using Procedures and Exception Handling
Excel VBA Day 3 of 3 Tom Vorves.
An Introduction to Visual Basic
Objectives Learn about Function procedures (functions), Sub procedures (subroutines), and modules Review and modify an existing subroutine in an event.
UserForm.
Visual Basic.
Визуалды бағдарламалау ортасы.
CS285 Introduction - Visual Basic
Custom Forms with VBA in Excel In-Class Exercise #11
Chapter 4 Enhancing the Graphical User Interface
Tutorial 11 Using and Writing Visual Basic for Applications Code
Visual Basic for Applications: Introduction
Running Your Visual Basic Program
Presentation transcript:

Intellicad Visual Basic Application Marian Kate Santos Programming Paradigm

History of Intellicad created by Boomerang Technology Inc., a privately held developer of Autodesk AutoCAD-compatible software acquired by Visio in March 1997 late in 1999 Visio set up the IntelliCAD Technology Consortium there are now several developers shipping commercial versions of IntelliCAD 2000: Brisnet CADopia StrucPlus

Why use IntelliCAD? Unrivaled DWG file format compatibility Affordability Easy to use LISP and VBA Development

Visual Basic Concepts VB is a Visual programming language 3 steps in constructing a program: Build the User Interface Customize the properties of the interface Attach Program Code VB is Event Driven. VB is also an Object-Oriented programming language.

VB Project Contents Form Files (.frm) contain all interface controls and associated VB code Module Files ( .bas) store procedures, functions, constant and variable declarations available to every form in the project MDI Parent Form Files (.frm) container window that can hold several forms Class Files (.cls) objects created in VB

Standard VB Controls Label Text Box Command Button List Box Combo Boxes Frame Image Box Picture Box

Visual Basic for Applications (VBA) programming language which can be found in a number of Microsoft Windows applications developed by Microsoft as a variation of VB to provide a Windows-compatible programming environment

VBA Set Up for Intellicad Define an Intellicad object. Establish link between Intellicad and VBA. Create subroutines which can be loaded from Intellicad.

VBA Set Up for Intellicad Step 1: Define an Intellicad object. Intellicad object defined is the Intellicad Document. Global Doc As IntelliCAD.Document Object is defined in VBA Module File(.bas) so that it can be accessed anywhere in the project

VBA Set Up for Intellicad Step 2: Add VBA object to project. VBA object (.frm) is added to the project in a manner similar to VB (drag & drop). UserForm.frm is added to project.

VBA Set Up for Intellicad Step 3: Establish link between Intellicad and VBA. Bind Intellicad document Doc to drawing file in use (drawParts.DWG) whenever VBA UserForm1.frm is called. Private Sub UserForm1_Initialize() Set Doc = drawParts.ThisDocument End Sub Intellicad objects such as lines, circles, blocks, layers, etc. can now be added and drawn to the drawing file.

VBA Set Up for Intellicad Step 4: Create subroutines which can be loaded from Intellicad. Public Sub main() Load UserForm1 UserForm1.Show End Sub This function loads UserForm1.Public functions defined in module files (.bas) can be called from the Intellicad interface.