Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. xml with control createinfo

xml with control createinfo

Scheduled Pinned Locked Moved Visual Basic
csharpquestioncomlinux
7 Posts 3 Posters 17 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    JR212
    wrote on last edited by
    #1

    Hi Again I found info that uses an xml file to makes controls. [TaskbarItemInfo Class (System.Windows.Shell) | Microsoft Docs](https://docs.microsoft.com/en-us/dotnet/api/system.windows.shell.taskbariteminfo?view=netframework-4.5) However where do i put these files? How do I create them? add > file > xml and change the text. I can do that but how to completly implement those files? I'm working with default windows vb.net applications Jan

    L D 2 Replies Last reply
    0
    • J JR212

      Hi Again I found info that uses an xml file to makes controls. [TaskbarItemInfo Class (System.Windows.Shell) | Microsoft Docs](https://docs.microsoft.com/en-us/dotnet/api/system.windows.shell.taskbariteminfo?view=netframework-4.5) However where do i put these files? How do I create them? add > file > xml and change the text. I can do that but how to completly implement those files? I'm working with default windows vb.net applications Jan

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      That is XAML code, which is used to create the visual parts of WPF applications.

      1 Reply Last reply
      0
      • J JR212

        Hi Again I found info that uses an xml file to makes controls. [TaskbarItemInfo Class (System.Windows.Shell) | Microsoft Docs](https://docs.microsoft.com/en-us/dotnet/api/system.windows.shell.taskbariteminfo?view=netframework-4.5) However where do i put these files? How do I create them? add > file > xml and change the text. I can do that but how to completly implement those files? I'm working with default windows vb.net applications Jan

        D Offline
        D Offline
        Dave Kreskowiak
        wrote on last edited by
        #3

        If by "default", you mean a Windows Forms application, the code you found will not work. That is XAML code, which is used in WPF applications and controls.

        Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles.
        Dave Kreskowiak

        J 1 Reply Last reply
        0
        • D Dave Kreskowiak

          If by "default", you mean a Windows Forms application, the code you found will not work. That is XAML code, which is used in WPF applications and controls.

          Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles.
          Dave Kreskowiak

          J Offline
          J Offline
          JR212
          wrote on last edited by
          #4

          Yes I did mean Windows Form Application :) So When I see code like that I can create controls like described in de xaml and take over the code and adapt where needed? Any advances for windows forms over wpf? in any direction? Found already this [Difference between WPF and WinForms - GeeksforGeeks](https://www.geeksforgeeks.org/difference-between-wpf-and-winforms/) Jan

          L D 2 Replies Last reply
          0
          • J JR212

            Yes I did mean Windows Form Application :) So When I see code like that I can create controls like described in de xaml and take over the code and adapt where needed? Any advances for windows forms over wpf? in any direction? Found already this [Difference between WPF and WinForms - GeeksforGeeks](https://www.geeksforgeeks.org/difference-between-wpf-and-winforms/) Jan

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #5

            As we have said, this is XAML code and will only work with WPF applications.

            1 Reply Last reply
            0
            • J JR212

              Yes I did mean Windows Form Application :) So When I see code like that I can create controls like described in de xaml and take over the code and adapt where needed? Any advances for windows forms over wpf? in any direction? Found already this [Difference between WPF and WinForms - GeeksforGeeks](https://www.geeksforgeeks.org/difference-between-wpf-and-winforms/) Jan

              D Offline
              D Offline
              Dave Kreskowiak
              wrote on last edited by
              #6

              You cannot adapt that code to work in Windows Forms, at all. If there any benefit to using Windows Forms over WPF? Sure, the learning curve for Windows Forms is much easier compared to WPF. The advantage WPF has over Windows Forms is incredible power to create a UI over what is possible in Windows Forms.

              Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles.
              Dave Kreskowiak

              J 1 Reply Last reply
              0
              • D Dave Kreskowiak

                You cannot adapt that code to work in Windows Forms, at all. If there any benefit to using Windows Forms over WPF? Sure, the learning curve for Windows Forms is much easier compared to WPF. The advantage WPF has over Windows Forms is incredible power to create a UI over what is possible in Windows Forms.

                Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles.
                Dave Kreskowiak

                J Offline
                J Offline
                JR212
                wrote on last edited by
                #7

                OK Thanks both Jan

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups