Topic: openfile problem with instance set to 1 (1 of 5), Read 59 times
Conf: Startup, File Open, Exit
From: Steve Rawling
Date: Wednesday, October 08, 2003 12:13 AM

I have found the following recurring problem only when vedit instance control is set to 1

1 I fully log a network drive with ZtreeWin

2 I execute the following from the Run prompt
c:\vedit\vpw [filename.ext]

What happens is vedit opens but does not show the toolbar and the file does not open and the hourglass is displayed and everything is locked up. I have to use the taskmanager to close vpw.exe and unlock the keyboard/display.

It only happens after fully logging a networked volume. If instead I fully log multiple local volumes, there is no problem. I checked my resources while this problem was occurring and it reported that 150mb or 256 of memory is free.

It only happens with VEDIT. If I try the same with notepad or WINWORD there is no problem

If I change instance control in VEDIT.CFG to 0 then
there is not problem.


I'm not sure if this is a VEDIT problem or a ZTREE problem.

Perhaps its a resources issue- maybe a handles issue.

Steve

 


Topic: openfile problem with instance set to 1 (2 of 5), Read 48 times
Conf: Startup, File Open, Exit
From: Ian Binnie
Date: Thursday, October 09, 2003 08:35 PM

I use ZTreeWin extensively (this & Vedit are the backbone of my computer).

By entering c:\vedit\Vpw.EXE filename you are loading a new command interpreter, which is not necessary.
(You can simulate this by using "START c:\vedit\Vpw.EXE" for the ZTreeWin Editor.
This opens a new command interpreter, which is closed shortly after.)


My Vedit is configured with instance=1, so files normally open in a single instance.
I have configued ZTreeWin Editor to "c:\vedit\Vpw.EXE"
I have configued ZTreeWin Alt-Editor to "c:\vedit\Vpw.EXE -s2"

If I desire to open a new instance of Vedit (very handy when using projects) I invoke using the ZTreeWin Alt-Editor command (Alt-E key).

The only problems I encounter, is that often Vedit starts at the COMMAND: prompt.
This is mildly annoying, but only requires an extra keystroke.

PS I do not experience the problems you mention, even with network drives logged.

 


Topic: openfile problem with instance set to 1 (3 of 5), Read 52 times
Conf: Startup, File Open, Exit
From: Steve Rawling
Date: Thursday, October 09, 2003 10:05 PM

Hello Ian, do you ever visit the ZtreeWin forum?

Using Start or not the problem remains



>I have configued ZTreeWin
>Editor to "c:\vedit\Vpw.EXE"
>I have configued ZTreeWin
>Alt-Editor to
>"c:\vedit\Vpw.EXE -s2"
>

Yes, the problem seems to be 1 option, Your solution makes sense. I dont know why it occurs only after logging a network drive.

Actually the wording in help for option 1 seems to suggest something odd is afloat
"1 Files opened from Explorer or the DOS/NT command prompt will try to open in an existing instance of VEDIT. However, files opened from a DOS/NT command prompt with the "-s0" or "-s2" invocation option will open in a new instance of VEDIT. "


I raised this issue on the ZTREEWIN forum
See http://www.vico1.com/bbs1/config.cgi?read=51418

Steve

 


Topic: openfile problem with instance set to 1 (4 of 5), Read 50 times
Conf: Startup, File Open, Exit
From: Ted Green
Date: Monday, October 13, 2003 11:08 AM

On 10/8/2003 12:13:24 AM, Steve Rawling wrote:
>I have found the following
>recurring problem only when
>vedit instance control is set
>to 1

PLEASE, PLEASE, PLEASE !!!

1. Always mention what version of VEDIT you are running.

2. Always mention what version of Windows you are running.

Win 95/98/ME are very different from Win NT/2000/XP/2003 with regard to these kinds of problems.

Thank you. :-))

Ted.

 


Topic: problem with instance set to 1 solved (5 of 5), Read 47 times
Conf: Startup, File Open, Exit
From: Steve Rawling
Date: Saturday, October 25, 2003 10:56 PM

Oops! Sorry, Ted:-)
>1. Always mention what version of VEDIT
>you are running.

6.10.2 (03/06/03)

>2. Always mention what version of
>Windows you are running.
W2K sp2

Actually I have solved the problem by using a setting of 0 as Ian suggested.
ie
My Vedit is configured with instance=1, so files normally open in a single instance.
I have configued ZTreeWin Editor to "start c:\vedit\Vpw.EXE"
I have configued ZTreeWin Alt-Editor to "start c:\vedit\Vpw.EXE -s2"

This is actually a better system even if I didn't have any problems.

This means that from outside ZtreeWin and inside ZtreeWin using E command for edit which is set to "start [path]\vpw.exe", multiple files are opened in the same instance.

On the few occassions when I wish to open an additional file in a separate instance of Vedit, I use ZtreeWins's Alt-E command for alternate editor which is set to "start [path]\vpw.exe -s2", which opens that single file in a new instance.

I haven't been able to replicate the problem lately using W2K SP4, so I dont think it is a VEDIT issue. I apologise for suggesting it may have been :-)

Steve