Previous in Forum: Listen to Line-In   Next in Forum: PID Controller
Close
Close
Close
4 comments
Rate Comments: Nested
Anonymous Poster

visual basic

08/27/2008 10:05 PM

hi, is that possible to run vba file to another pc without vba software installed?

Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.
Power-User

Join Date: Jul 2008
Location: United States of America
Posts: 429
Good Answers: 3
#1

Re: visual basic

08/27/2008 10:12 PM

No.

VBA is an interpreted paradigm, hence it is necessary to have the "Interpreter" or vba software installed before the VBA user-application can be run.

__________________
EditorGBAnalysts - Give a boy fish and he will eat may be for a day, but teach him how to fish and he will eat everyday.
Reply
Guru
Engineering Fields - Instrumentation Engineering - New Member Hobbies - Fishing - New Member

Join Date: Jan 2008
Location: Kazakhstan
Posts: 753
Good Answers: 8
#2

Re: visual basic

08/28/2008 12:16 PM

Hello, Guest,

Your querry should be more accurate. VBA project consists of a several files. User's code is placed into the source file(s) with extention *.bas. Rest of project's files are generated by VBA software automatically. From here I'm supposing you asked about *.exe target file which created after VBA project compiling. This SomeVBA.exe file could be successfully runned at another PC where VBA software were not installed.

If I was wrong in my suppositions and you've meant VBA source code, I would agree with editorgbanalysts although not for reason of Basic 'interpreting nature".

Reply
Active Contributor

Join Date: Aug 2008
Posts: 10
#3

Re: visual basic

08/29/2008 2:50 AM

Yes.

It is possible.

if you are using vba for word or Excel , you have to set the macro security level for this file in another computer as low. Then save as the file and open it again and the macro will run.

if you are making a project in Visual basic itself, then you should make an .exe file (you will find the help in Visual basic package to know) and then save it to another pc and run it.

Reply
Anonymous Poster
#4

Re: visual basic

08/29/2008 10:26 AM

if you have a VBA compiler you can make .exe and transform all information and file created and database when using VB compiler also compile database such as excel, access, fox, and dbase.

yes it is

if you know what you are doing you can use compile qbasic *.bas using the VB compiler

Reply
Reply to Forum Thread 4 comments
Copy to Clipboard

Users who posted comments:

Anonymous Poster (1); caramba (1); editorgbanalysts (1); keshav_gokhale (1)

Previous in Forum: Listen to Line-In   Next in Forum: PID Controller

Advertisement