Search results for query: *

  • Users: JohnH
  • Order by date
  1. JohnH

    Integrando C# y Crystal report

    Please translate to English and post again. Closing this thread.
  2. JohnH

    Resolved Having an input problem

    = is assignment operator, == comparison operator
  3. JohnH

    Question Problem with a .cfg file

    Raw string literals (C# 11) takes care of that: Raw string literals - ''' - C#
  4. JohnH

    Question Problem with a .cfg file

    Instead of the loop in BuildStringFromArray you can use String.Join method: var content = string.Join("\n", modFileContentArray); When using StreamWriter there is a NewLine property that can be set to customize line terminator.
  5. JohnH

    Question Menustrip disapers when form is resized

    It is due to AutoScroll and which control that has focus, when resizing that control is kept in scroll view. If you always want top-left corner of form visible when resizing you could handle Resize event and set AutoScrollPosition = Point.Empty.
  6. JohnH

    Set order of prerequisites installation

    Maybe the order comes from RelatedProducts/DependsOnProduct in the bootstrapper: FoxLearn | Adding Custom Prerequisites to Visual Studio Setup Project
  7. JohnH

    View PDF in Winform application?

    WebView2 control (the new "WebBrowser" control) can be used to display a pdf.
  8. JohnH

    Resolved Login form with Access db help

    Line 45 should be obvious to debug during loop. Problem due to line 60+61.
  9. JohnH

    Alternative to system.data.oledb

    https://www.connectionstrings.com/excel/
  10. JohnH

    Winforms picture scale blurry

    how?
  11. JohnH

    C# obtendo URL de qualquer navegador

    Please repost in English.
  12. JohnH

    Question Create PDF document from data

    The path is missing colon after drive letter. C:\Images... (double backslashes is normally how VS shows strings escaped in debugger)
  13. JohnH

    Question Create PDF document from data

    Why on earth would you do that? Just remove the whole line and problem be gone, yeah?
  14. JohnH

    Question Create PDF document from data

    The full namespace for Image class is iText.Layout.Element. iText 8.0.2 API: iText.Layout.Element Namespace Reference When you're working with the iText.Layout.Document class the namespace iText.Layout is usually imported already.
  15. JohnH

    Question Create PDF document from data

    I found an example on the internet to create image element: var el = New Element.Image(ImageDataFactory.Create("file path"));
  16. JohnH

    Question Create PDF document from data

    Your pdf question/problem is not related to it being winform project or any other project type.
  17. JohnH

    Question Create PDF document from data

    Line 12 if statement should remove ; Line 45 should be removed, closing the document on line 46 also closes the writer it uses (unless SetCloseWriter(false) was called). Throws exception otherwise.
  18. JohnH

    Question Creating a PDF document with iText

    Install Nuget package itext7.bouncy-castle-adapter https://kb.itextpdf.com/home/it7kb/releases/release-itext-core-8-0-0/breaking-changes-for-itext-core-8-0-0/bouncy-castle-changes
  19. JohnH

    Resolved Error connecting to server

    You haven't passed the connection to the command: MySQL :: MySQL Connector/NET Developer Guide :: 6.1.2 The MySqlCommand Object
  20. JohnH

    Resolved DatagriView with different ScrollBar Control

    You can use DataBindingComplete event.
Back
Top Bottom