>I have a form with a treeview and abrowser object
>
>I create the the html programmatically and save yi to file and navigete to it
>I get an error message with a tilte of Visial foxpro, no error message text and an OK button
>If I press the ok button it goes on but the html does not display. the browser control is empty
>
>I do the same kind of stuff in other places without this problem
>
>
>the html shows fine in expression web and IE
>
>I tried all sorts of things but am stuck
>
>Any ideas anybody
>
>here is the code:
>
> lcTemp = FULLPATH([temp\])+[Mydiary]+ALLTRIM(oUser.username)+[.html]
> IF FILE(lcTemp)
> ERASE (lcTemp)
> ENDIF
> STRTOFILE(lcHTML,lcTemp)
> THISFORM.owb.navigate2(lcTemp)
> lnStartSeconds = SECONDS()
> DO WHILE .ReadyState <> 4 ;
> AND (SECONDS()-lnStartSeconds <= 1 )
> DOEVENTS
> ENDDO
>
>
>Thanks
>
>Peter
UPDATE:
Sorry, stupid suggestion.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.