Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Detect file changes outside the Visual Basic 6 IDE?

Tags:

editor

ide

vb6

Background
I am working with VB6 legacy code and I am using an external editor because of the features that it has. Unfortunately, those changes aren't refreshed in the IDE because VB6 doesn't monitor loaded code for changes.

I have done some extensive searching on the subject including looking for alternative editors, a fairly exhaustive internet search including following all of the links on this StackExchange link and haven't found a way to refresh the code window to reflect the external file changes.

My company doesn't have access to the latest edition of Visual Studio and will not be purchasing it anytime in the near future. Until then, there is code to fix.

Question
Aside from restarting the program are there any methods that can be used to refresh the code displayed in the VB6 editing window?

like image 288
Dodzi Dzakuma Avatar asked Jul 15 '14 19:07

Dodzi Dzakuma


2 Answers

Check out vbAdvance add on. It will prompt you to reload source file in case of external modification.

like image 156
wqw Avatar answered Oct 17 '22 15:10

wqw


I think a found one possible solution.

The MZ-Tools set has an function called Reload file from Disk. It also allowed me to create a shortcut for this function through the MZ-Tools options menu, so I assigned it to the shortcut keys of my choosing.

It's a solution, but I'm still looking for anything that might be better.

like image 2
Dodzi Dzakuma Avatar answered Oct 17 '22 15:10

Dodzi Dzakuma