View Single Post
  #7  
Old August 25th, 2005, 01:22 PM
Al Edlund
external usenet poster
 
Posts: n/a
Default Differences between VBA and VB6

I gave a couple of references in the previous append. this from msdn,
al

Visual Basic is the senior member of the family of Visual Basic products
that includes Visual Basic for Applications and Visual Basic, Scripting
Edition (VBScript). While most of the code that you write in Visual Basic
can be shared with applications written in Visual Basic for Applications or
VBScript, there are some exceptions.

Compatibility with Visual Basic for Applications
Visual Basic for Applications is a single, common application scripting
language and environment that users and developers can leverage across their
Windows desktop. Visual Basic for Applications is included in Microsoft
Office and other Microsoft applications. It is also licensed to other
software vendors and included in a wide range of products.

Visual Basic for Applications, contained in Vba6.dll, is the underlying
language engine for Visual Basic. This library contains all of the language
elements that are shared by Visual Basic for Applications and Visual Basic.
You can view the elements by selecting VBA from the Library listbox in the
Object Browser. Code written in Visual Basic for Applications is portable to
Visual Basic with the following limitations: Visual Basic for Applications
code that refers to application-specific elements (such as an Microsoft
Excel worksheet) may be ported, provided that they contain a fully qualified
reference and provided that the referenced application exists on the target
machine.

Elements specific to Visual Basic, such as forms and intrinsic controls, are
contained in the type library Vb6.olb (which is also visible in the Object
Browser). In general, code written in Visual Basic is portable to Visual
Basic for Applications as long as it doesnt reference these elements.

For More Information To learn more about Visual Basic for Applications,
visit the Microsoft Web site at http://www.microsoft.com.To learn more about
referencing objects, see "Creating a Reference to an Object" in "Programming
with Components." To learn more about native-code compilation, see
"Compiling Your Project to Native Code" in "More About Programming."

JoJo wrote in message ...
Al Edlund:


What are the differences between VBA (found in Visio 2002) and VB6 ?
My goal is to be able to use Visual Basic to accomplish various tasks
(network discovery, etc) in Visio
Any tutorials/references/links deeply appreciated.


Thanks,
John.

"Al Edlund" wrote in message
...
understand it is VBA, not VB 6. There are differences.
al

JoJo wrote in message ...
Folks:


While browsing through Visio 2003, I noticed a "VB6 Editor" component -
Tools Macro Visual Basic Editor.
I think this is a very useful combination and so I would like to get
some practice with the VB Editor and Visio 2003.
Any references/tutorials/examples deeply appreciated


* What is the purpose of including Visual Basic 6.3 within Visio 2003
?
* VB6.3 Editor combines with Visio 2003 to accomplish what objectives
?





Thanks,
Jo.