Computer ForumsComputers  

Go Back   Computer Forums > Programmers Lounge > Programming Discussions

Reply
 
LinkBack Thread Tools Display Modes
Old 12-21-2004, 01:23 PM   #1 (permalink)
rookie1010
Master Techie
 
Join Date: Mar 2004
Posts: 2,069
Default VB in microsoft office

Hi
I just came across this statement in Sams teach yourself Visual BAsic in 21 days

microsoft Office also contains the complete Visual Basic 6 programming language with which you can automate microsoft Office applications

is that true?
rookie1010 is offline   Reply With Quote
Old 12-21-2004, 01:47 PM   #2 (permalink)
Skuzzle
True Techie
 
Join Date: Dec 2004
Posts: 164
Default

it contains a vb language yes.
Its good for making office apps do stuff but you will have problems designing forms etc and will not look pro as it'll open within office...

But yes it is there.
__________________
Skuzzle - Powered by Badgerbyte Web & IT Services
www.drive4fun.co.uk check it out
Skuzzle is offline   Reply With Quote
Old 12-21-2004, 02:04 PM   #3 (permalink)
rookie1010
Master Techie
 
Join Date: Mar 2004
Posts: 2,069
Default

so how do i write VB code in a word document?
rookie1010 is offline   Reply With Quote
Old 12-21-2004, 04:08 PM   #4 (permalink)
ZoneFire
True Techie
 
Join Date: Sep 2004
Posts: 156
Default

i am not sure of using VB in Microsoft WOrds.
But it seems more commonly used in Access.
i just know a bit using VB in the Access
__________________
The important thing is not to stop questioning...
Albert Einstein
ZoneFire is offline   Reply With Quote
Old 12-22-2004, 11:29 AM   #5 (permalink)
sippin codeine
Super Techie
 
Join Date: Jun 2004
Posts: 312
Send a message via Yahoo to sippin codeine
Default

You can make a Macro in MS Word, you put the VB/VBA code in the Macro. Tools > Macro > Create

Sub TEST()
MsgBox "Hello World"
End Sub
__________________
**[System specs]**

Delphi Enterprise 6 - 7
VB 6.0 - 2005 EE
sippin codeine is offline   Reply With Quote
Old 12-22-2004, 04:40 PM   #6 (permalink)
rookie1010
Master Techie
 
Join Date: Mar 2004
Posts: 2,069
Default

then why would one want a VB interface?
rookie1010 is offline   Reply With Quote
Old 12-22-2004, 10:08 PM   #7 (permalink)
rookie1010
Master Techie
 
Join Date: Mar 2004
Posts: 2,069
Default

what i meant is if i could program VB in word then why would i want VB 6?
rookie1010 is offline   Reply With Quote
Old 12-23-2004, 06:18 AM   #8 (permalink)
sippin codeine
Super Techie
 
Join Date: Jun 2004
Posts: 312
Send a message via Yahoo to sippin codeine
Default

there is a difference between VBA in MS Word and regular VB6, You cant make exe files in MS word.
__________________
**[System specs]**

Delphi Enterprise 6 - 7
VB 6.0 - 2005 EE
sippin codeine is offline   Reply With Quote
Old 12-23-2004, 03:13 PM   #9 (permalink)
rookie1010
Master Techie
 
Join Date: Mar 2004
Posts: 2,069
Default

does that mean the VB stuff i create in MS word, i can't port to any other machine.

or can i port it to some other machine, but that machine would have to have MS word installed?
rookie1010 is offline   Reply With Quote
Old 12-24-2004, 06:26 AM   #10 (permalink)
sippin codeine
Super Techie
 
Join Date: Jun 2004
Posts: 312
Send a message via Yahoo to sippin codeine
Default

I dont think you understand the concept of windows programming.
VB = Windows only.
__________________
**[System specs]**

Delphi Enterprise 6 - 7
VB 6.0 - 2005 EE
sippin codeine is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 07:38 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 RC8