vbaide question..

vbaide question..

Anonymous
Not applicable
599 Views
8 Replies
Message 1 of 9

vbaide question..

Anonymous
Not applicable
Is there any way of opening multiple dvb files in the editor WITHOUT
loading them into cad?
0 Likes
600 Views
8 Replies
Replies (8)
Message 2 of 9

fxcastil
Advocate
Advocate
Do you want to do this via a program ??
Look at the VBA extensibility library.
0 Likes
Message 3 of 9

Anonymous
Not applicable
ok, i'm lost..

I'm looking for a way to edit multiple autocad dvb files in the vba
editor without having the files loaded into cad..

Like you can with the vlide editor.. you can have multiple files open,
without having them linked...

that make sense?
0 Likes
Message 4 of 9

Anonymous
Not applicable
Makes sense, but lisp files are just ascii text files. You can open them in
Notepad or a myriad of other editors. Since dvb files also contain compiled
code, they can't be opened in another editor. The compiled code has to be
run and loaded into the acad process's memory as a client. That's why it has
to be loaded from withing acad. In VB, they are just text files. In other
apps like Office apps, the code is stored directly in the doc or xls and you
have no choice where to store your code, only whether you want to enable the
macros. At least adesk gives you that flexibility.

--
----
Ed
----
"C Witt" wrote in message
news:4996549@discussion.autodesk.com...
ok, i'm lost..

I'm looking for a way to edit multiple autocad dvb files in the vba
editor without having the files loaded into cad..

Like you can with the vlide editor.. you can have multiple files open,
without having them linked...

that make sense?
0 Likes
Message 5 of 9

Anonymous
Not applicable
so the only way to edit more than one dvb file is:

load file 1, edit, unload
load file 2, edit, unload
load file 3....etc..

?
0 Likes
Message 6 of 9

Anonymous
Not applicable
No, you can open [I'm sure there's a limit] as many as you like at anytime.

Joe
--

"C Witt" wrote in message
news:4996618@discussion.autodesk.com...
so the only way to edit more than one dvb file is:

load file 1, edit, unload
load file 2, edit, unload
load file 3....etc..

?
0 Likes
Message 7 of 9

Anonymous
Not applicable
ok, can you load the dvb files via the editor?.. or do i hav to do it
via cad? (i'm not seeing a load option, so it looks like i'm stuck with
cad..)
0 Likes
Message 8 of 9

Anonymous
Not applicable
No, you have to do it from within acad, not the vba ide. Either use one of
the autoloading options, or use VBAMAN to load as many as you need. They
will appear in a tree structure in the Project Explorer window.

--
----
Ed
----
0 Likes
Message 9 of 9

Anonymous
Not applicable
My main vba project is 6,000 kb and doesnt take very long to load, so I dont see the need to have so many separate ones, you can drag a module from one loaded project into another easy enough.
0 Likes