OpenPcitureDialog
Moderators: SDS, support, admin
OpenPcitureDialog
Hi,
My program randomly works with Windows7 operating system on several machines.
The issue is comming from TOpenPictureDialog.
If TOpenPictureDialog's diplays the image at the right it works, but if does not show doesn't work.
Do you know any remedies.
Thanks
My program randomly works with Windows7 operating system on several machines.
The issue is comming from TOpenPictureDialog.
If TOpenPictureDialog's diplays the image at the right it works, but if does not show doesn't work.
Do you know any remedies.
Thanks
Re: OpenPcitureDialog
Hello Aby.
Such problem can be a result of user insufficient rights on some PC's or memory usage limitation. Please check users permissions and restrictions and try to run the application with administrator rights.
Alexander.
Such problem can be a result of user insufficient rights on some PC's or memory usage limitation. Please check users permissions and restrictions and try to run the application with administrator rights.
Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support
Re: OpenPcitureDialog
Hello,
We're having a similar issue i think.
On a specific Windows 7 PC open a DWG just doesn't work. While loading/opening the tools get 'stuck'. The apllication uses max CPU and never finishes loading. This is with V8.1 of the Import VCL component compiled under Delphi XE2.
Just to test we sent the client the same application but then using 8.0 version and that works.
Do you have any idea what the diffierence between 8.0 and 8.1 can be that gives this problem?
Regards,
Roland
We're having a similar issue i think.
On a specific Windows 7 PC open a DWG just doesn't work. While loading/opening the tools get 'stuck'. The apllication uses max CPU and never finishes loading. This is with V8.1 of the Import VCL component compiled under Delphi XE2.
Just to test we sent the client the same application but then using 8.0 version and that works.
Do you have any idea what the diffierence between 8.0 and 8.1 can be that gives this problem?
Regards,
Roland
Re: OpenPcitureDialog
Hi,
I couldn't find any remedy. It is a very weird situation.
My workaround to this issue was to create a Virtual Xp machine on the client's computer.
Then there is no problem.
Please Alex find a solution. I'm thinking that you had encountered the same problem like us. I think every body who is using this library soon or less would face the same problem.
Sabetay
I couldn't find any remedy. It is a very weird situation.
My workaround to this issue was to create a Virtual Xp machine on the client's computer.
Then there is no problem.
Please Alex find a solution. I'm thinking that you had encountered the same problem like us. I think every body who is using this library soon or less would face the same problem.
Sabetay
Re: OpenPcitureDialog
We've asked them to run with administrator rigths and it still isn't working.
Re: OpenPcitureDialog
Hello Sabetay, Roland.
The problem can depend on storing file name and full path by TOpenPictureDialog instance. The application can hang if the stored path not accessible at the moment. To avoid the situation you can set some (local) default path for TOpenPictureDialog.FileName property. Please try something like:
Alexander.
The problem can depend on storing file name and full path by TOpenPictureDialog instance. The application can hang if the stored path not accessible at the moment. To avoid the situation you can set some (local) default path for TOpenPictureDialog.FileName property. Please try something like:
Code: Select all
procedure TForm1.MIOpenClick(Sender: TObject);
begin
OpenDialog1.FileName := 'd:\1';
try
if OpenDialog1.Execute then
...
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support
Re: OpenPcitureDialog
Hello Alexander,
I'm not using the TOpenPictureDialog. I'm directly calling the TPicture.LoadFromFile and it's hanging there.
Roland.
I'm not using the TOpenPictureDialog. I'm directly calling the TPicture.LoadFromFile and it's hanging there.
Roland.
Re: OpenPcitureDialog
Hello Roland.
Please check if the file that you try to import is accessible. Try to open the same file using a dialog window.
Alexander.
Please check if the file that you try to import is accessible. Try to open the same file using a dialog window.
Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support
Re: OpenPcitureDialog
The file is accessable.
As i said earlier if we make a build using CADimport VCL 8.0 it works fine. When we build using V8.1 it doesn't work. It hangs.
So far on most computers it works fine. We just have two clients with Windows 7 now where we have this issue, they are unable to open any CAD files.
Regards,
Roland.
As i said earlier if we make a build using CADimport VCL 8.0 it works fine. When we build using V8.1 it doesn't work. It hangs.
So far on most computers it works fine. We just have two clients with Windows 7 now where we have this issue, they are unable to open any CAD files.
Regards,
Roland.
Re: OpenPcitureDialog
Hello Roland.
XE2 support is the most differense between versions 8.0 and 8.1. As you mentioned earlier:
Alexander.
XE2 support is the most differense between versions 8.0 and 8.1. As you mentioned earlier:
Could you please compile your project under previous Delphi version that was used with 8.0? Or you can try the Viewer.exe from the library on the problem PC, this option also will check using dialog. Does the problem occur with both 32- and 64-bit project versions?This is with V8.1 of the Import VCL component compiled under Delphi XE2.
Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support
Re: OpenPcitureDialog
Yes under both 32 and 64 bit, both hang.
I received a beta version of V8.0 for XE2 so i compiled the 8.0 (XE2 beta) and 8.1 under XE2.
I will try sending the viewer demo to the client, see if that works.
I received a beta version of V8.0 for XE2 so i compiled the 8.0 (XE2 beta) and 8.1 under XE2.
I will try sending the viewer demo to the client, see if that works.
Re: OpenPcitureDialog
Just got a reply from the client and the Viewer.exe gives the same problems.
Re: OpenPcitureDialog
Hello Roland.
The issue is unclear and not reproduced on our facilities, we need more details. Please specify if the client that have the problem opens files via a network path or from logical drive of the PC. Which Windows 7 editions installed on that PC? Could you please send to support@cadsofttools.com any problem DWG file for testing?
Alexander.
The issue is unclear and not reproduced on our facilities, we need more details. Please specify if the client that have the problem opens files via a network path or from logical drive of the PC. Which Windows 7 editions installed on that PC? Could you please send to support@cadsofttools.com any problem DWG file for testing?
Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support
Re: OpenPcitureDialog
Hello Sabetay.
Have any result with TOpenPictureDialog.FileName setting? If not then please provide us any information correspondingly to my previous post, if possible.
Alexander.
Have any result with TOpenPictureDialog.FileName setting? If not then please provide us any information correspondingly to my previous post, if possible.
Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support
Re: OpenPcitureDialog
Hello Alexander,
If i could reproduce this problem easily it would be nice
. But so far it's only on this clients PC (laptop actually).
I have looked for myself on this PC with remote desktop and i can't find anything out of the ordinary. The DWG files i can open on my own PC with no problems so it's not an issue with the files. The files are also on a local drive. Opening with older version 8.0 works, opening with 8.1 hangs, with the same (edit: ANY file) file.
This is a strange issue. If you have some version of the code which gives some debug info / messges or whatever might be useful. I was thinking of adding some debug messages to your code but that would be quite a big job. So if you have something like that it may be useful.
I also have a new issue for you!
.
http://sendit.dgmr.nl/absolutefs/?f=4048&fid=74bb38e5
This is a download link to a drawing which display differently on different PC's. Both screenshots are taken on Win 7 PC's. The 'bad' one is from my own PC and the 'good' is from a colleges PC.
If i could reproduce this problem easily it would be nice

I have looked for myself on this PC with remote desktop and i can't find anything out of the ordinary. The DWG files i can open on my own PC with no problems so it's not an issue with the files. The files are also on a local drive. Opening with older version 8.0 works, opening with 8.1 hangs, with the same (edit: ANY file) file.
This is a strange issue. If you have some version of the code which gives some debug info / messges or whatever might be useful. I was thinking of adding some debug messages to your code but that would be quite a big job. So if you have something like that it may be useful.
I also have a new issue for you!

http://sendit.dgmr.nl/absolutefs/?f=4048&fid=74bb38e5
This is a download link to a drawing which display differently on different PC's. Both screenshots are taken on Win 7 PC's. The 'bad' one is from my own PC and the 'good' is from a colleges PC.