Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Reloading code

0 views
Skip to first unread message

bad-guy

unread,
Jan 19, 2009, 11:17:27 AM1/19/09
to
Is it possible to reload (reread from disk) a form/module without closing
and reloading the whole project? What Visual Basic Extensibility
objects/methods are essential for this task?

Dean Earley

unread,
Jan 19, 2009, 12:13:27 PM1/19/09
to

Not in any way I've seen native to VB.

You could try loading the file in your addin and replacing the editor
contents, but this wont help with form designs or module properties.

--
Dean Earley (dean....@icode.co.uk)
i-Catcher Development Team

iCode Systems

Tim Rude

unread,
Jan 19, 2009, 2:05:17 PM1/19/09
to
MZ-Tools is a great free addin that adds this (among many other
capabilities).

www.mztools.com

--
Tim Rude

tim...@NOSPAM.hotmail.com
(remove NOSPAM. for correct email address)

"Dean Earley" <dean....@icode.co.uk> wrote in message
news:%23e1M$kleJH...@TK2MSFTNGP06.phx.gbl...

nos...@3web.net

unread,
Jan 20, 2009, 1:05:35 AM1/20/09
to

STEP A:
In the project window, right click on the form/module you wish to
reload.
Select delete... Select No when asked to save Form/Module

STEP B:
Click on Project... Select Add Form / Add Module etc
select existing form / module
Locate and select project / module that was removed in step A

Now you effectively only reloaded the desired form / module.

Dean Earley

unread,
Jan 20, 2009, 5:26:44 AM1/20/09
to
Tim Rude wrote:
> MZ-Tools is a great free addin that adds this (among many other
> capabilities).

So it does...

I've never noticed that before :)

Thanks

0 new messages