PDA

View Full Version : is it possible to preview bbcode with AMS


GoOgLe
03-23-2007, 02:11 PM
is it possible to preview bbcode with AMS ???

i can preview HTML codes with that code

result = Input.GetText("Input1");
TextFile.WriteFromString("C:\\temp_preview.html", "<HTML>"..result.."</HTML>", false);
File.Open("C:\\temp_preview.html", "", SW_SHOWNORMAL);

but i cant preview bbcode with that !!!!

RizlaUK
03-23-2007, 03:40 PM
File.Open("C:\\temp_preview.html", "", SW_SHOWNORMAL);

should be

File.OpenURL("C:\\temp_preview.html", SW_SHOWNORMAL);

and the web browser cant praze bbcode, the forum software dose that, you will need to translate the bbcode to html (like the forum dose) to preview it in ANY web browser