File not in Explorer but opens anyhow

T

Toyman

________________________________
I was checking to see if I had a 'file association' problem with TurboCad
(v.9.0). Opened Explorer and went to the 'Drawings' folder. Double-clicked
a drawing file (Basement.tcw), and a nastygram popped up "Windows cannot
find 'c:\program files\turbocad\drawings\basement.tcw'.". BUT the
program/file immediately opened and I was able to edit and save changes.
Closed the error window. Tried to close the program & another nastygram
displayed: "TurboCad for Windows Application has stopped working, etc". I
selected "Close the Program".

I next looked in the folder for another drawing file I had created
yesterday, 'c:\program files\turbocad\drawings\cabinets.tcw'. The file
wasn't in the folder, and Search didn't find it. But when I restarted
TurboCad and clicked Open, the file displayed in the list of available
files. Double-clicked it and it started normally. Made changes and saved &
closed it. The previous error window displayed when I tried to close
Turbocad. Still didn't show up in Explorer.

Reopened the file, and did a 'Save As' to the Desktop. File saved OK, and
the file icon displayed on the Desktop. Then opened Explorer and dragged
the file from the Desktop to the 'Drawings' folder. Didn't see a message
about 'an existing file of the same name...'. Closed and reopened
Explorer - now the file is displayed in the correct folder.

As long as the program will run, the error messages don't upset me, but not
being able to see/find the file with the other TurboCad files in Explorer is
a nuisance.

One other observation: I never was able to find a reference to turbocad.exe
in the Registry.

There are 10 other drawing files I copied from an XP machine, that all show
up in Explorer. The one that didn't display was created on the Vista
machine.

Thoughts???

Toyman
______________________________
 
T

Toyman

Need to add something here about the post below - 2nd paragraph.

When I opened the 'Cabinets.tcw' file (after not seeing it in the Drawings
folder), I clicked Save As to check that the default file location was the
Drawings folder. It was.
Apologies.
Toyman
_____________________________


________________________________
I was checking to see if I had a 'file association' problem with TurboCad
(v.9.0). Opened Explorer and went to the 'Drawings' folder. Double-clicked
a drawing file (Basement.tcw), and a nastygram popped up "Windows cannot
find 'c:\program files\turbocad\drawings\basement.tcw'.". BUT the
program/file immediately opened and I was able to edit and save changes.
Closed the error window. Tried to close the program & another nastygram
displayed: "TurboCad for Windows Application has stopped working, etc". I
selected "Close the Program".

I next looked in the folder for another drawing file I had created
yesterday, 'c:\program files\turbocad\drawings\cabinets.tcw'. The file
wasn't in the folder, and Search didn't find it. But when I restarted
TurboCad and clicked Open, the file displayed in the list of available
files. Double-clicked it and it started normally. Made changes and saved &
closed it. The previous error window displayed when I tried to close
Turbocad. Still didn't show up in Explorer.

Reopened the file, and did a 'Save As' to the Desktop. File saved OK, and
the file icon displayed on the Desktop. Then opened Explorer and dragged
the file from the Desktop to the 'Drawings' folder. Didn't see a message
about 'an existing file of the same name...'. Closed and reopened
Explorer - now the file is displayed in the correct folder.

As long as the program will run, the error messages don't upset me, but not
being able to see/find the file with the other TurboCad files in Explorer is
a nuisance.

One other observation: I never was able to find a reference to turbocad.exe
in the Registry.

There are 10 other drawing files I copied from an XP machine, that all show
up in Explorer. The one that didn't display was created on the Vista
machine.

Thoughts???

Toyman
______________________________
 
D

dean-dean

Go to C:\Program Files, and click on Compatibility Files in the Toolbar of
Windows Explorer. This will take you to C:\Users\(Your
Name)\AppData\Local\VirtualStore\Program Files. This is where Vista puts
the files of programs that write certain types of user files to the
C:\Program Files subdirectories. When you're in C:\Program Files\turbocad\
you should also see a button in the taskbar of Windows Explorer called
"Compatibility Files", which will take you directly to your program's .tcw
files.

In TurboCad's Options or Preferences dialog, can you change the default
location (path) of the drawings folder to one that is under your account
name. For example, C:\Users\(Your Name\Documents\Turbocad Drawings (you may
have to create the folder there first). Then Vista won't redirect, or
"virtualize" your files. It doesn't really cotton to user files being
written to the C:\Program Files subdirectories, after the initial
installation, and has put the Program Files folder on a security level as
that of the Windows folders themselves, making TrustedInstaller the owner.

The path to the virtualized folder is normally hidden, making a sub-folder
of the C:\Program Files folder a not-so-good choice for
saved Documents, Pictures, Music, etc. Too, I think once your saved files
are saved somewhere under C:\Users\(Your Name), your war
with Vista will be over, and the nastygrams will cease.
 
T

Toyman

_______________________________
Thanks for the quick response.

I'm not showing "Compatibility Files in the (C:\Program Files) Toolbar of
Explorer", nor in the taskbar of (C:\Program Files\turbocad\) Explorer. But
I did navigate to the described locations. I'm using Vista Office - any way
to get those Compatibility buttons to display?

Changed the default file location to "C:\Users\Toyman\Documents\Turbocad"
per your instructions, and moved (not copied) all drawings to the new
location. Also deleted the Turbocad folder & sub-folders that were in the
virtual location.

Unfortunately those changes didn't help. Problem stays the same. Just to
see if it would help, I changed the compatibility mode (on Turbocad.exe) to
XP. That didn't help either. Re-booted, but no changes there either.

Maybe improvement isn't meant to be . . . but one good thing came out of
this - I found a recently-created drawing in the Virtual location that
hadn't shown up on the 'available files' list. Also saw saved files from
other programs - I'll move those too.

I'm open to other suggestions.

Thanks dean-dean.

Toyman
_________________________________

Go to C:\Program Files, and click on Compatibility Files in the Toolbar of
Windows Explorer. This will take you to C:\Users\(Your
Name)\AppData\Local\VirtualStore\Program Files. This is where Vista puts
the files of programs that write certain types of user files to the
C:\Program Files subdirectories. When you're in C:\Program Files\turbocad\
you should also see a button in the taskbar of Windows Explorer called
"Compatibility Files", which will take you directly to your program's .tcw
files.

In TurboCad's Options or Preferences dialog, can you change the default
location (path) of the drawings folder to one that is under your account
name. For example, C:\Users\(Your Name\Documents\Turbocad Drawings (you may
have to create the folder there first). Then Vista won't redirect, or
"virtualize" your files. It doesn't really cotton to user files being
written to the C:\Program Files subdirectories, after the initial
installation, and has put the Program Files folder on a security level as
that of the Windows folders themselves, making TrustedInstaller the owner.

The path to the virtualized folder is normally hidden, making a sub-folder
of the C:\Program Files folder a not-so-good choice for
saved Documents, Pictures, Music, etc. Too, I think once your saved files
are saved somewhere under C:\Users\(Your Name), your war
with Vista will be over, and the nastygrams will cease.
 
D

dean-dean

Well, I'm mystified as to why you aren't seeing the "Compatibility Files"
Windows Explorer Toolbar button, when in the C:\Program Files folder. It
should be the last button in the dark blue band, under the Address box,
after Organize, View, (etc.), Burn. Each folder under
C:\Users\Toyman\AppData\Local\VirtualStore\Program Files should also create
the button in it's corresponding C:\Program Files subfolder.

If you press your Windows key + R. In the Run box type:

C:\Program Files\desktop.ini

Click OK. When Notepad pops up, does it have this:


[.ShellClassInfo]
LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21781


When you changed the default location in Turbocad.exe's Options dialog, did
they "stick", or go back to what they were? You could try changing the
Option, by right-clicking on Turbocad.exe, or its shortcut, and choosing
"Run as Administrator". If your program creates an *.ini file, rather than
write to the registry, that file will be virtualized also, and needs to stay
in its Turbocad folder or sub-folder under
C:\Users\Toyman\AppData\Local\VirtualStore\Program Files. It's fine to have
moved your drawing files to C:\Users\Toyman\Documents\Turbocad, but Turbocad
may be writing other database or ini files, that the user doesn't really
need to open, that shouldn't be moved from the VirtualStore.
 
T

Toyman

__________________________
1. Re the "Compatibility Files" Windows Explorer Toolbar button", you list
Organize, View, (ETC.), Burn. I only see those 3 items (Organize, View,
Burn) & a Help button at the right end of the bar.

2. Re the Run box (C:\Program Files\desktop.ini), yes, Notepad displays
those lines.

3. Re 'changing the default location in Turbocad.exe's Options dialog, did
they "stick", or go back to what they were?', I see a new (Virtual) Turbocad
folder with subfolders that don't include the drawing files. Apparently
they didn't stick. There IS an '.ini' file with a current creation
date/time. But there's a new twist - see #5.

4. I right-clicked the (Start Menu) shortcut for Turbocad and clicked "Run
as administrator". A window opened to "Register the program" to
Turbocad.com. Clicked 'no' & it closed. Did it again, completed the
product registration, and it closed again. But the 3rd & subsequent time,
the program started normally, I made edits, and closed it - no nastygrams!!!

5. After having luck with "Run as administrator", I left-clicked the icon to
open it, and looked at 'File Default Location'. It had changed to the
Virtual location, but no drawing files were shown. When I tried to close
the program, it refused to close, with a nastygram "Access to content
refused". Had to use Task Manager to close it. But then all worked fine
using "Run as Administrator". When I left-clicked again to start it, an
"Unhandled Exception" box displayed. Options included Run Debugger, Save
files, Continue, Get Details, or Close. I chose Get Details, which created
a log (following section). It also contained many lines of Module
information that I didn't include. I saved the file if your interested in
all of it.
_________________
T-Cad ExceptionError

System: Unknown version of Windows based on NT, version 6.0.6000
Reason:
Tcw90.exe caused an EXCEPTION_ACCESS_VIOLATION in module DBAPI90.dll at
001B:06064EB6, NotifyEngineNotify()+6214 byte(s)

Registers:
EAX=011A8A28 EBX=00000000 ECX=011D4EA0 EDX=011A8A28 ESI=011D4EB8
EDI=011D4E88 EBP=0012FACC ESP=0012FAB8 EIP=06064EB6 FLG=00010206
CS=001B DS=0023 SS=0023 ES=0023 FS=003B GS=0000

Stack:
001B:06064EB6 DBAPI90.dll, NotifyEngineNotify()+6214 byte(s)
001B:06063366 DBAPI90.dll, NotifyEngineUnadviseDbNotify()+0134 byte(s)
001B:00548886 Tcw90.exe,
CTCObjPropsPalette::OnSendNotificationSequence()+1081987 byte(s)
001B:005491E1 Tcw90.exe,
CTCObjPropsPalette::OnSendNotificationSequence()+1084382 byte(s)
001B:00524E79 Tcw90.exe,
CTCObjPropsPalette::OnSendNotificationSequence()+936054 byte(s)
001B:0052434A Tcw90.exe,
CTCObjPropsPalette::OnSendNotificationSequence()+933191 byte(s)
001B:6FF2BE8D MFC42.DLL
001B:005B4CA8 Tcw90.exe,
CTCObjPropsPalette::OnSendNotificationSequence()+1525413 byte(s)
001B:76753833 kernel32.dll
001B:7790A9BD ntdll.dll
______________________

After that I opened the program (as Administrator). The location of the
drawings files were mispointed. Had to direct the program to the location
"C:\Users\Toyman\Documents\Turbocad". Then all went well, including normal
program end. Don't think I'll try to run it again from a left-click.

I don't understand the 'priority' of the "Run as Administrator" option as
opposed to simply left-clicking on the shortcut. And is there a change that
can be made somewhere to avoid the right-click - i.e. just use the
shortcut - and not have to deal with Exception Errors?

Time to send this and reboot to see if I have other problems now. I get
nervous when I see references to kernel32.dll (in the log).

Toyman

__________________________________________
Well, I'm mystified as to why you aren't seeing the "Compatibility Files"
Windows Explorer Toolbar button, when in the C:\Program Files folder. It
should be the last button in the dark blue band, under the Address box,
after Organize, View, (etc.), Burn. Each folder under
C:\Users\Toyman\AppData\Local\VirtualStore\Program Files should also create
the button in it's corresponding C:\Program Files subfolder.

If you press your Windows key + R. In the Run box type:

C:\Program Files\desktop.ini

Click OK. When Notepad pops up, does it have this:


[.ShellClassInfo]
LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21781


When you changed the default location in Turbocad.exe's Options dialog, did
they "stick", or go back to what they were? You could try changing the
Option, by right-clicking on Turbocad.exe, or its shortcut, and choosing
"Run as Administrator". If your program creates an *.ini file, rather than
write to the registry, that file will be virtualized also, and needs to stay
in its Turbocad folder or sub-folder under
C:\Users\Toyman\AppData\Local\VirtualStore\Program Files. It's fine to have
moved your drawing files to C:\Users\Toyman\Documents\Turbocad, but Turbocad
may be writing other database or ini files, that the user doesn't really
need to open, that shouldn't be moved from the VirtualStore.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top