Flash file

I am try to load a flash file in a web broswer. what is wrong this code

FlasfFile.DocumentStream = " C:\\Documents and Settings\\Francis Jackson\\My Documents\\Flash Folder productmatrixmenu";

It says can not convert from string to system IO. How should i fix this. I was useing the path to the file which is wrong please hlep.

Cisco



Answer this question

Flash file

  • RonF

    DocumentStream expects a Stream and not a string.

    You can use the Navigate() method or URL property to navigate using a string.

    webBrowser1.Navigate(@"http://forums.microsoft.com/msdn");



  • Flash file