Search results for query: *

  1. SaeedP

    I'm having trouble writing the code to downloading the page.

    ...@inject IHttpContextAccessor HttpContextAccessor @inject NavigationManager NavigationManager @using System @using System.Net @* @using Microsoft.AspNetCore.Mvc @using Claue3_Haiko *@ <h3>Bitmap to SVG Converter</h3> <InputFile OnChange="@HandleFileUploadAsync" /> @* progress-bar *@...
  2. SaeedP

    I'm having trouble writing the code to downloading the page.

    Hello, I'm trying to make an app that converts image format to SVG. I am having trouble writing the code to download the image. Please inform me. private void DownloadSvg() { byte[] svgBytes = Encoding.UTF8.GetBytes(svgContent); var fileName = "convertedImage.svg"; var...
  3. SaeedP

    How to open web form web sites

    Thanks for your explanation. I realized that I made an error by opening a website instead of a web project. However, I encountered a new error: I have used the DevExpress component in the past, but now I'm encountering an error related to it. "Should I buy this component again just to take...
  4. SaeedP

    How to open web form web sites

    Yes, this project was created using WebForms. When I initially developed it, it had a starter page. However, now it keeps asking me what the starter page is. When I right-click on a page, there is no option to set it as the starter page. At that time, there was this option !!!
  5. SaeedP

    How to open web form web sites

    But that site isn't on the web now. Is there any way to fix this situation?
  6. SaeedP

    How to open web form web sites

    Sure, here you go: "No, I just need to take a screenshot from some old websites."
  7. SaeedP

    How to open web form web sites

    Hi, I'm trying to open an ASP.NET web form site in Visual Studio, but it keeps asking me which page is the starter page. When I right-click on an aspx page to set it as the starter page, there isn't an option for that. "What should I do?" thanks,
  8. SaeedP

    Problem in bitmap to vector image converter

    These are errors: Severity Code Description Project File Line Suppression State Error CS0246 The type or namespace name 'system' could not be found (are you missing a using directive or an assembly reference?) BlazorApp2_Monica(AI) E:\Conver_Bitmap_To_vector_Blazor...
  9. SaeedP

    Problem in bitmap to vector image converter

    ...System.Drawing; @using System.IO; @using system; <h1>Convert Bitmap to Vector</h1> <input type="file" @oninput="ConvertImage" accept="image/*" /> <br /> @if (!string.IsNullOrEmpty(VectorSvg)) { <h2>Vector Graphic:</h2> <div> <svg width="200" height="200"...
  10. SaeedP

    Problem in bitmap to vector image converter

    Certainly! Here is the revised text: "Could you please explain that code to me and provide instructions on how to proceed?" I casted the bytes to an object, but the problem still remains!
  11. SaeedP

    Problem in bitmap to vector image converter

    Sorry, I didn't have any experience in writing that code.
  12. SaeedP

    Problem in bitmap to vector image converter

    Here are the errors: Severity Code Description Project File Line Suppression State Error CS1503 Argument 2: cannot convert from 'method group' to 'Microsoft.AspNetCore.Components.EventCallback' BlazorApp2_Monica(AI) E:\Conver_Bitmap_To_vector_Blazor...
  13. SaeedP

    Problem in bitmap to vector image converter

    ...Microsoft.JSInterop @inject IJSRuntime JsRuntime <h1>Convert Bitmap to Vector</h1> <input type="file" @oninput="ConvertImage" accept="image/*" /> <br /> @if (!string.IsNullOrEmpty(VectorSvg)) { <h2>Vector Graphic:</h2> <div> <svg width="200" height="200"...
  14. SaeedP

    Trouble on placing a map on the blazor server app

    Hi there, I'm looking to add a map to a Blazor Server page, but I'm encountering the following error: Status 500 The map library I'm using is openstreetMap. Here's the code I'm using: <!-- Using jsDelivr CDN --> <script...
  15. SaeedP

    Why do I get this Chrome console error

    Yes, you are right. Thanks a lot.
  16. SaeedP

    Why do I get this Chrome console error

    Do you mean that you wrote the same code that I wrote and the result was this?
  17. SaeedP

    Why do I get this Chrome console error

    But there is no js code in my app!
  18. SaeedP

    Why do I get this Chrome console error

    ...id="imageText" @bind="@ImageText" /> </div> <button @onclick="GenerateImage" type="button">Generate Image</button> </form> <div> @* Display the generated image if available *@ @if (generatedImageUrl != null) { <img src="@generatedImageUrl" alt="Generated...
  19. SaeedP

    Strange issue on label id

    .../> </div> <button @onclick="GenerateImage" type="button">Generate Image</button> </form> <div> @* Display the generated image if available *@ @if (generatedImageUrl != null) { <img src="@generatedImageUrl" alt="Generated...
  20. SaeedP

    Exception issue

    Hi, I'm encountering this exception while running my code. Can someone help me understand what it means and what could be causing it?
Back
Top Bottom