First thing first I’m using FCKEditor in asp.net site on GoDaddy.com. Of course I’m using dll assembly to control editor
Now, the problem:
When I try to browse for file I always get Security Exception in procedure
Public Shared Function CreateDirectory(ByVal path As String) As DirectoryInfo
Afther several days spent in searhing solution on google, I changed entire component to vb.net and found problem and solution on my on.
Problem was in procedure _mkdir and, I quess, dllimport function “msvcrt.dll”. Probably godaddy doesn’t allow access to this function so when I change entire CreateDirectory procedure with this
Public Shared Function CreateDirectory(ByVal path As String) As DirectoryInfo IO.Directory.CreateDirectory(path) Exit Sub
everything works fine.
My question is „Why fckeditor use dllimport instead of .Net build-In function for creating folders? “ Is there some function that now doesn’t work?