I create an HTML file with a report on the program and send a picture there, here's the code:

SaveFileDialog^ sfd = gcnew SaveFileDialog(); String ^ HTMLWay; sfd->Title = "Save HTML"; sfd->OverwritePrompt = true; sfd->CheckPathExists = true; sfd->Filter = "Html files (*.html)|*.html|All files (*.*)|*.*"; sfd->ShowHelp = true; if (sfd->ShowDialog() == Windows::Forms::DialogResult::OK) { try { StreamWriter ^ NewHTML = gcnew StreamWriter(sfd->FileName); NewHTML->WriteLine("<html>"); NewHTML->WriteLine("<head>"); NewHTML->WriteLine("<title>My Report</title>"); NewHTML->WriteLine("</head>"); NewHTML->WriteLine("<body>"); NewHTML->WriteLine("My Amount: " + Result_of_Amount->Text + "<br>"); NewHTML->WriteLine("Iterations: " + IterationsRes->Text + "<br>"); NewHTML->WriteLine("Size of amount: " + SizeBox->Text + "<br>"); NewHTML->WriteLine("My Massive[i][j]:<br>"); for (int i = 0; i < numericUpDown2->Value; i++) { for (int j = 0; j < numericUpDown1->Value; j++) { if (j != Convert::ToInt32(numericUpDown1->Value) - 1) { NewHTML->Write(Convert::ToString(Convert::ToInt32(dataGridView1->Rows[i]->Cells[j]->Value)) + " "); } else { NewHTML->Write(Convert::ToString(Convert::ToInt32(dataGridView1->Rows[i]->Cells[j]->Value)) + "<br>"); } } } NewHTML->WriteLine("<br>"); NewHTML->WriteLine("<img src= \"Report.bmp\"\"alt=\"Report\">"); NewHTML->WriteLine("</body>"); NewHTML->WriteLine("</html>"); NewHTML->Close(); } catch (...) { MessageBox::Show("You can save it", "ERROR", MessageBoxButtons::OK, MessageBoxIcon::Error); } } 

After that, in the report button, I simply open this HTML report in the webBrowser1 window, but the picture that, although located in the folder with this HTML file, opens in the form of a small square with a white cross, how can I fix it? Here is the code where the file opens

 private: System::Void HTMLOpen_Click(System::Object^ sender, System::EventArgs^ e) { OpenFileDialog^ open = gcnew OpenFileDialog(); open->Filter = "Html files (*.html)|*.html|All files (*.*)|*.*"; if (open->ShowDialog() == Windows::Forms::DialogResult::OK) { webBrowser1->Navigate(open->FileName); } } 

    0