Sagi_Gal
(Sagi Gal)
April 12, 2021, 11:31am
21
If there’s something special for Windows and it doesn’t interfere with macOS to work properly when it exists, then how come it is not included with the built-in special/any preset for complete cross-platform compatibility?
Anyhow, I’ll be forever grateful if you could remember what that was.
As I recall it’s not part of the file type but part of the AcceptFileDrop code. I’ll look when I get to my desk this morning.
Sagi_Gal
(Sagi Gal)
April 12, 2021, 11:39am
23
I’ll highly appreciate it if you could find the time to look that out.
Sagi_Gal
(Sagi Gal)
April 12, 2021, 12:03pm
24
Greg_O_Lone:
BTW, you can simplify that code to
Var name as string = f.name
Return NthField(name, ".", CountFields(name, "."))
I like that, and I can simplify that code even furthermore:
Return f.name.NthField(".", f.name.CountFields("."))
Edit: I tried to be clever but it didn’t work
1 Like
Please, read the important (for you) information in this thread:
Have you set up a *.* extension in your DropTypes?
I have it working here in 2021r1 without issue.
Sagi_Gal
(Sagi Gal)
April 14, 2021, 5:29pm
27
Thank you, thank you, thank you for remembering me @Emile_Schwarz
It works like a charm after changing the special/any from .* into *.*
Happy to help. But Julian found the solution. I only send it to you.
1 Like
Sagi_Gal
(Sagi Gal)
April 14, 2021, 7:13pm
29
Yes, I noticed, but you made the connection to my case and sent me the rope, not trivial at all!
1 Like