Using of OpenFileDialog
Forum rules
This forum is for discussing APL-related issues. If you think that the subject is off-topic, then the Chat forum is probably a better place for your thoughts !
This forum is for discussing APL-related issues. If you think that the subject is off-topic, then the Chat forum is probably a better place for your thoughts !
5 posts
• Page 1 of 1
Using of OpenFileDialog
Hi.
Following code works fine in older Windows versions
But it does crash in Windows 10
Does anybody know what's wrong? Is it Dyalog APL error or improper using of Windows API?
Would be thankful for help.
Following code works fine in older Windows versions
- Code: Select all
⎕USING←'System'
⎕USING,←⊂'System.Windows.Forms,system.windows.forms.dll'
filebox←⎕NEW OpenFileDialog
filebox.ShowDialog ⍬
But it does crash in Windows 10
Does anybody know what's wrong? Is it Dyalog APL error or improper using of Windows API?
Would be thankful for help.
- nikll
- Posts: 13
- Joined: Sat Oct 17, 2015 1:35 pm
Re: Using of OpenFileDialog
Sorry, forget to mention that I use:
Version: 14.1.28415.0 64 Unicode
Version: 14.1.28415.0 64 Unicode
- nikll
- Posts: 13
- Joined: Sat Oct 17, 2015 1:35 pm
-
PGilbert - Posts: 436
- Joined: Sun Dec 13, 2009 8:46 pm
- Location: Montréal, Québec, Canada
Re: Using of OpenFileDialog
You are right, it looks like this is my internal issue.
Thanks a lot.
Thanks a lot.
- nikll
- Posts: 13
- Joined: Sat Oct 17, 2015 1:35 pm
Re: Using of OpenFileDialog
Hi Nikll,
I have 2 suggestions that I think will help:
1) Dyalog 14.1 needs the Microsoft Visual C++ 2005 Runtime DLLs.
You can download them from here http://www.microsoft.com/en-us/download/details.aspx?id=21254 and install them.
Restart your computer and see if that has helped.
2) Ensure that Dyalog knows to use .NET Framework 4.
Right click on the shortcut that starts Dyalog.
Go to Options→Configre→.NET Framework.
Ensure that the box is ticked and v4 is chosen.
Restart Dyalog and see if it works.
If these 2 suggestions don't help, please email me at Dyalog Support.
Regards,
Vince
I have 2 suggestions that I think will help:
1) Dyalog 14.1 needs the Microsoft Visual C++ 2005 Runtime DLLs.
You can download them from here http://www.microsoft.com/en-us/download/details.aspx?id=21254 and install them.
Restart your computer and see if that has helped.
2) Ensure that Dyalog knows to use .NET Framework 4.
Right click on the shortcut that starts Dyalog.
Go to Options→Configre→.NET Framework.
Ensure that the box is ticked and v4 is chosen.
Restart Dyalog and see if it works.
If these 2 suggestions don't help, please email me at Dyalog Support.
Regards,
Vince
- Vince|Dyalog
- Posts: 413
- Joined: Wed Oct 01, 2008 9:39 am
5 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group