igkins
12/7/2004 8:53:00 PM
Hello,
I have an ASP.net project that gets posted to by a flash object. For the
past month everything had been working fine, but in the past day, the page
refuses to load. I basically through response.write("here") to figure out
where it was hanging and it comes doesn to this:
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
'.. some code
LoadFonts()
'... more code
Private Function LoadFonts()
Dim path As String
'Load stencil and tempus
oPFC = New PrivateFontCollection
path = Server.MapPath("./fonts")
oPFC.AddFontFile(path & "\stencil.ttf")
oPFC.AddFontFile(path & "\tempus.ttf")
End Function
It basically hangs on teh oPFC = new PrivateFontCollection. Why would it
ever hang trying to create this object?
andrew