WebBrowser1.OleObject.document.body.innerHTML:='<html><body><Script>alert(''fff'');</Script></body></html>';运行这句总是出错,不知道什么原因
错误如下:
Project Project1.exe raised exception class EAccessViolation with message 'Access violation at address 00470eb7 in module 'Project1.exee' Read of address 0000000'. Process stopped. Use Step or Run to continue.我是想直接把html写入WebBrowser中
请高手指点一下啊