Media Companion

Discussion and development board for the program Media Companion.
 
HomeHome  SearchSearch  RegisterRegister  Log inLog in  

 

 MC 3.168: Traps generating HTML

Go down 
AuthorMessage
dbareis
Senior Member
Senior Member
dbareis

Posts : 223
Join date : 2008-12-08

MC 3.168: Traps generating  HTML Empty
PostSubject: MC 3.168: Traps generating HTML   MC 3.168: Traps generating  HTML Icon_minitimeTue Nov 24, 2009 2:14 pm

Hi,

All 3 tempates fail to generate HTML, a non (MC) standard dialog with the details is displayed but these can't be copied and pasted. The error occurs quite quickly (for all but the one which includes the plot).
Back to top Go down
http://dennisbareis.com
billyad2000
Admin
billyad2000

Posts : 1326
Join date : 2008-09-20

MC 3.168: Traps generating  HTML Empty
PostSubject: Re: MC 3.168: Traps generating HTML   MC 3.168: Traps generating  HTML Icon_minitimeThu Nov 26, 2009 6:09 pm

Does the error occur before or after the save dialogue appears?

_________________
Do you have a problem with Media Companion, before posting a bug then please check you have the very latest version of Media Companion http://billyad2000.darkbb.com/announcements-f1/
Back to top Go down
http://billyad2000.co.uk
dbareis
Senior Member
Senior Member
dbareis

Posts : 223
Join date : 2008-12-08

MC 3.168: Traps generating  HTML Empty
PostSubject: Re: MC 3.168: Traps generating HTML   MC 3.168: Traps generating  HTML Icon_minitimeThu Nov 26, 2009 11:54 pm

billyad2000 wrote:
Does the error occur before or after the save dialogue appears?

It happens after this dialog.
Back to top Go down
http://dennisbareis.com
billyad2000
Admin
billyad2000

Posts : 1326
Join date : 2008-09-20

MC 3.168: Traps generating  HTML Empty
PostSubject: Re: MC 3.168: Traps generating HTML   MC 3.168: Traps generating  HTML Icon_minitimeFri Nov 27, 2009 1:09 am

If that is the case then i'm not sure what is causing the error, the creation of the html is working, but then failing on the save.

The code that is causing the issue is:
Code:
 Try
                Dim file As IO.StreamWriter = IO.File.CreateText(savepath)
                file.WriteLine(temphtml, False, Encoding.UTF8)
                file.Close()
                MsgBox("Movie List Saved OK")
            Catch ex As Exception
                MsgBox(ex.ToString)
            End Try

where "savepath" is the path selected in the save dialogue
and
"temphtml" is the actual html

In the past I added the msgbox so that details of an issue encountered was presented to the user. What is the error message you are getting?

_________________
Do you have a problem with Media Companion, before posting a bug then please check you have the very latest version of Media Companion http://billyad2000.darkbb.com/announcements-f1/
Back to top Go down
http://billyad2000.co.uk
dbareis
Senior Member
Senior Member
dbareis

Posts : 223
Join date : 2008-12-08

MC 3.168: Traps generating  HTML Empty
PostSubject: Re: MC 3.168: Traps generating HTML   MC 3.168: Traps generating  HTML Icon_minitimeFri Nov 27, 2009 9:28 am

billyad2000 wrote:
If that is the case then i'm not sure what is causing the error, the creation of the html is working, but then failing on the save.
What is the error message you are getting?

MC 3.168: Traps generating  HTML Htmlge10
Back to top Go down
http://dennisbareis.com
Sponsored content




MC 3.168: Traps generating  HTML Empty
PostSubject: Re: MC 3.168: Traps generating HTML   MC 3.168: Traps generating  HTML Icon_minitime

Back to top Go down
 
MC 3.168: Traps generating HTML
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Media Companion :: Media Companion :: Bug Discussion-
Jump to: