Windows 10: CHtmlView and PageSetup

Discus and support CHtmlView and PageSetup in Windows 10 Gaming to solve the problem; In my application I allow the user to invoke the CHtmlView Page Setup dialog:The above in using Windows 11. Here is the question ....Because the... Discussion in 'Windows 10 Gaming' started by AndrewTruckle, Oct 25, 2021.

  1. CHtmlView and PageSetup


    In my application I allow the user to invoke the CHtmlView Page Setup dialog:The above in using Windows 11. Here is the question ....Because the control was using IE under the hood, sometimes I would tell the user that they could fire up IE, and use the page setup window there to confgure it or so whatever, and it would be reflected in the ChtmlView control. I am just curious as to when a Windows 11 PC does not have IE.In this discussion https://answers.microsoft.com/en-us/windows/forum/windows_11-windows_install/questions-about-internet-explorer/702dc9a8-7038-4a04-aa6d-7f27a42f3bc4?messageId

    :)
     
    AndrewTruckle, Oct 25, 2021
    #1

  2. Edit PageSetup for all users with PowerShell ? (HKLM ?)

    Morning, everyone,
    Sorry if the title is not very explicit. But here's my problem. I need to enable the "Print Background Colord and Images" setting for all users with PowerShell script.

    Currently I can activate it by the current user using an HKCU key (HCKU:\Software\Microsoft\Internet Explorer\PageSetup\ -Name 'Print_Background').

    I don't know much about registry keys...
    But I would like to be able, from an administrator session, to be able to modify this parameter for all possible users and that in the event of creation of a new user, this one be automatically assigned by this parameter to the right value.

    I'm stuck on that. I tried to create an HKLM key but I couldn't modify this parameter for everyone using this method.

    Code:
    [i]Bonjour  tous,[/i][i]Désolé si le titre n'est pas très explicite. Mais voil mon problème. Je dois activer le parametre "Print Background Colord and Images" pour tout les utilisateur .[/i]
    
    [i]Actuellement je peux l'activer par l'utilisateur courant en passant par une clef HKCU (HCKU:\Software\Microsoft\Internet Explorer\PageSetup\ -Name 'Print_Background').
    [/i][i]Je n'ai pas beaucoup de connaissance en clef de registre..[/i][i]Mais je voudrais pouvoir,  partir d'une session administrateur, pouvoir modifier ce paramètre pour l'ensemble des possibles utilisateurs et que en cas de création d'un nouvel utilisateur, celui-ci
     soit automatiquement affectés par ce parametre  la bonne valeur. [/i]
    
    [i]Je bloque l -dessus. J'ai essayé de créer une clef HKLM mais je n'ai pas réussi  modifier ce paramètre pour tout le monde  partir de cette méthode.
    [/i]
     
    Meffapefecy, Oct 25, 2021
    #2
  3. RaviBhart Win User
    notepad

    notepad menu pagesetup me source function is not show
     
    RaviBhart, Oct 25, 2021
    #3
  4. CHtmlView and PageSetup

    Indexoutofrange exception

    CASE:

    1. We have come across an indexoutofrangeexception with an PC software, but we have trouble to recreated the situation on our computer

    2. The bug is reported on Win10, ver 1703, 15063.540

    3. According the tester, the bug shows when there is Russian content inside, English content is fine. (on our computer, both languages are OK)

    below is the detail of the exception.

    Detailed information on the use of

    (JIT) debugging instead of this dialog

    window at the end of this message.



    ************** Exception text **************

    System.IndexOutOfRangeException: The index was outside the bounds of the array.

    in SP_Editor.frmMain.mniFileExport_Click (Object sender, EventArgs e)

    in System.Windows.Forms.ToolStripItem.RaiseEvent (Object key, EventArgs e)

    in System.Windows.Forms.ToolStripMenuItem.OnClick (EventArgs e)

    in System.Windows.Forms.ToolStripItem.HandleClick (EventArgs e)

    in System.Windows.Forms.ToolStripItem.HandleMouseUp (MouseEventArgs e)

    in System.Windows.Forms.ToolStrip.OnMouseUp (MouseEventArgs mea)

    in System.Windows.Forms.ToolStripDropDown.OnMouseUp (MouseEventArgs mea)

    in System.Windows.Forms.Control.WmMouseUp (Message & m, MouseButtons button, Int32 clicks)

    in System.Windows.Forms.Control.WndProc (Message & m)

    in System.Windows.Forms.ToolStrip.WndProc (Message & m)

    in System.Windows.Forms.ToolStripDropDown.WndProc (Message & m)

    in System.Windows.Forms.Control.ControlNativeWindow.WndProc (Message & m)

    in System.Windows.Forms.NativeWindow.Callback (IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)





    ************** Uploaded Builds **************

    mscorlib

    Build version: 2.0.0.0

    Win32 version: 2.0.50727.8794 (WinRelRS2.050727-8700)

    CodeBase: file: /// C: /Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll

    ----------------------------------------

    XXXXX Editor

    Build version: 1.0.0.0

    Win32 Version: 1.0.0.0

    CodeBase: file: /// C: /Program%20Files/TP-E%20Editor/XXXXX%20Editor.exe

    ----------------------------------------

    System.Windows.Forms

    Build version: 2.0.0.0

    Win32 version: 2.0.50727.8784 (WinRel.050727-8700)

    CodeBase: file: /// C: /WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

    ----------------------------------------

    System

    Build version: 2.0.0.0

    Win32 version: 2.0.50727.8793 (WinRelRS2.050727-8700)

    CodeBase: file: /// C: /WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

    ----------------------------------------

    System.Drawing

    Build version: 2.0.0.0

    Win32 version: 2.0.50727.8784 (WinRel.050727-8700)

    CodeBase: file: /// C: /WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

    ----------------------------------------

    SPControls

    Build version: 1.0.6320.23989

    Win32 Version: 1.0.0.0

    CodeBase: file: /// C: /Program%20Files/TP-E%20Editor/SPControls.DLL

    ----------------------------------------

    PrintSetup

    Build version: 1.0.0.0

    Win32 Version: 1.0.0.0

    CodeBase: file: /// C: /Program%20Files/TP-E%20Editor/PrintSetup.DLL

    ----------------------------------------

    PageSetup

    Build version: 1.0.0.0

    Win32 Version: 1.0.0.0

    CodeBase: file: /// C: /Program%20Files/TP-E%20Editor/PageSetup.DLL

    ----------------------------------------

    MyGraphics

    Build version: 1.0.0.0

    Win32 Version: 1.0.0.0

    CodeBase: file: /// C: /Program%20Files/TP-E%20Editor/MyGraphics.DLL

    ----------------------------------------

    System.Data

    Build version: 2.0.0.0

    Win32 version: 2.0.50727.8784 (WinRel.050727-8700)

    CodeBase: file: /// C: /WINDOWS/assembly/GAC_64/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll

    ----------------------------------------

    System.Xml

    Build version: 2.0.0.0

    Win32 version: 2.0.50727.8784 (WinRel.050727-8700)

    CodeBase: file: /// C: /WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll

    ----------------------------------------

    System.Windows.Forms.resources

    Build version: 2.0.0.0

    Win32 version: 2.0.50727.8784 (WinRel.050727-8700)

    CodeBase: file: /// C: /WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_en_b77a5c561934e089/System.Windows.Forms.resources.dll

    ----------------------------------------

    FileTypeRegist

    Build version: 1.0.1.0

    Win32 Version: 1.0.0.0

    CodeBase: file: /// C: /Program%20Files/TP-E%20Editor/FileTypeRegist.DLL

    ----------------------------------------

    mscorlib.resources

    Build version: 2.0.0.0

    Win32 version: 2.0.50727.8794 (WinRelRS2.050727-8700)

    CodeBase: file: /// C: /Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll

    ----------------------------------------

    Accessibility

    Build version: 2.0.0.0

    Win32 version: 2.0.50727.8784 (WinRel.050727-8700)

    CodeBase: file: /// C: /WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

    ----------------------------------------



    ************** Operational debugging (JIT) **************

    To connect the operational (JIT) debugging, the .config file

    application or computer (machine.config) must have

    value jitDebugging, installed in the section system.windows.forms.

    The application must also be compiled with the included

    debugging.



    For example:



    <configuration>

    <system.windows.forms jitDebugging = "true" />

    </ configuration>



    When JIT debugging is enabled, any unhandled exception

    is sent to the JIT debugger that is registered on this computer,

    Instead of being processed by this dialog box.
     
    AdrianZhao1, Oct 25, 2021
    #4
Thema:

CHtmlView and PageSetup

Loading...
  1. CHtmlView and PageSetup - Similar Threads - CHtmlView PageSetup

  2. CHtmlView and PageSetup

    in Windows 10 Software and Apps
    CHtmlView and PageSetup: In my application I allow the user to invoke the CHtmlView Page Setup dialog:The above in using Windows 11. Here is the question ....Because the control was using IE under the hood, sometimes I would tell the user that they could fire up IE, and use the page setup window...
  3. Edit PageSetup for all users with PowerShell ? HKLM ?

    in Windows 10 Customization
    Edit PageSetup for all users with PowerShell ? HKLM ?: Morning, everyone, Sorry if the title is not very explicit. But here's my problem. I need to enable the "Print Background Colord and Images" setting for all users with PowerShell script. Currently I can activate it by the current user using an HKCU key...