Generic GDI+ Error Win98

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • ML

    Generic GDI+ Error Win98

    I am trying to test a vb.net app in VirtualPC on a Win98 install. The app
    runs but I get "Generic GDI+" errors on any form with a groupbox.
    Does anyone know what this issue is or how to fix it? Does Win98 not fully
    support VB.NET??


  • Ken Tucker [MVP]

    #2
    Re: Generic GDI+ Error Win98

    Hi,

    Not all functions in the dot net framework work on windows 98.
    If you look up the function in the msdn documentation you will see the
    suported platorms check and see if win 98 is listed.

    Ken
    ------------------
    "ML" <ml@schoonersol utions.com> wrote in message
    news:OlAVAyDvEH A.1400@TK2MSFTN GP11.phx.gbl...
    I am trying to test a vb.net app in VirtualPC on a Win98 install. The app
    runs but I get "Generic GDI+" errors on any form with a groupbox.
    Does anyone know what this issue is or how to fix it? Does Win98 not fully
    support VB.NET??



    Comment

    • Herfried K. Wagner [MVP]

      #3
      Re: Generic GDI+ Error Win98

      "ML" <ml@schoonersol utions.com> schrieb:[color=blue]
      >I am trying to test a vb.net app in VirtualPC on a Win98 install.
      > The app runs but I get "Generic GDI+" errors on any form
      > with a groupbox. Does anyone know what this issue is or
      > how to fix it?[/color]

      Does this even occur with a "blank" project with only one form and a dummy
      groupbox?
      [color=blue]
      > Does Win98 not fully support VB.NET??[/color]

      Yes, it supports "VB.NET", but it does not fully support the .NET Framework.
      There are certain classes that are not supported on Windows 98/Me.
      Nevertheless, the groupbox should work.

      --
      Herfried K. Wagner [MVP]
      <URL:http://dotnet.mvps.org/>

      Comment

      • ML

        #4
        Re: Generic GDI+ Error Win98

        Only seems to happen with groupbox. All other controls are fine. If I turn
        off hardware acceleration for the video card in the Virtual PC OS settings
        it is fine.

        "Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message
        news:OMOEWJEvEH A.4076@TK2MSFTN GP14.phx.gbl...[color=blue]
        > "ML" <ml@schoonersol utions.com> schrieb:[color=green]
        >>I am trying to test a vb.net app in VirtualPC on a Win98 install.
        >> The app runs but I get "Generic GDI+" errors on any form
        >> with a groupbox. Does anyone know what this issue is or
        >> how to fix it?[/color]
        >
        > Does this even occur with a "blank" project with only one form and a dummy
        > groupbox?
        >[color=green]
        >> Does Win98 not fully support VB.NET??[/color]
        >
        > Yes, it supports "VB.NET", but it does not fully support the .NET
        > Framework. There are certain classes that are not supported on Windows
        > 98/Me. Nevertheless, the groupbox should work.
        >
        > --
        > Herfried K. Wagner [MVP]
        > <URL:http://dotnet.mvps.org/>[/color]


        Comment

        • ML

          #5
          Re: Generic GDI+ Error Win98

          Do you have a link to the supported features? I had thought it was fully
          supported on 98, not partially. This may be a an issue if our assumptions
          were wrong.

          "Ken Tucker [MVP]" <vb2ae@bellsout h.net> wrote in message
          news:%23wrAzIEv EHA.2192@TK2MSF TNGP14.phx.gbl. ..[color=blue]
          > Hi,
          >
          > Not all functions in the dot net framework work on windows 98.
          > If you look up the function in the msdn documentation you will see the
          > suported platorms check and see if win 98 is listed.
          >
          > Ken
          > ------------------
          > "ML" <ml@schoonersol utions.com> wrote in message
          > news:OlAVAyDvEH A.1400@TK2MSFTN GP11.phx.gbl...
          > I am trying to test a vb.net app in VirtualPC on a Win98 install. The app
          > runs but I get "Generic GDI+" errors on any form with a groupbox.
          > Does anyone know what this issue is or how to fix it? Does Win98 not
          > fully
          > support VB.NET??
          >
          >
          >[/color]


          Comment

          • Herfried K. Wagner [MVP]

            #6
            Re: Generic GDI+ Error Win98

            "ML" <ml@schoonersol utions.com> schrieb:[color=blue]
            > Do you have a link to the supported features? I had thought it was fully
            > supported on 98, not partially. This may be a an issue if our assumptions
            > were wrong.[/color]

            You will have to check the documentation for the methods you are calling.
            For each method/property/... it's documented on which platforms the
            method/property/... is supported.

            --
            Herfried K. Wagner [MVP]
            <URL:http://dotnet.mvps.org/>

            Comment

            • ML

              #7
              Re: Generic GDI+ Error Win98

              Yes thanks I found the list. It seems to be more lower level and some web
              based calls. All the UI elements and general features seem to be fine.
              This GDI+ issue I don't think is related to an unsupported feature. A
              groupbox is a pretty basic UI element.

              "Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message
              news:%23cIMHREv EHA.1976@TK2MSF TNGP09.phx.gbl. ..[color=blue]
              > "ML" <ml@schoonersol utions.com> schrieb:[color=green]
              >> Do you have a link to the supported features? I had thought it was fully
              >> supported on 98, not partially. This may be a an issue if our
              >> assumptions were wrong.[/color]
              >
              > You will have to check the documentation for the methods you are calling.
              > For each method/property/... it's documented on which platforms the
              > method/property/... is supported.
              >
              > --
              > Herfried K. Wagner [MVP]
              > <URL:http://dotnet.mvps.org/>[/color]


              Comment

              • ML

                #8
                Re: Generic GDI+ Error Win98

                Does the GDIPLUS merge module need to be included in the install perhaps?

                "Ken Tucker [MVP]" <vb2ae@bellsout h.net> wrote in message
                news:%23wrAzIEv EHA.2192@TK2MSF TNGP14.phx.gbl. ..[color=blue]
                > Hi,
                >
                > Not all functions in the dot net framework work on windows 98.
                > If you look up the function in the msdn documentation you will see the
                > suported platorms check and see if win 98 is listed.
                >
                > Ken
                > ------------------
                > "ML" <ml@schoonersol utions.com> wrote in message
                > news:OlAVAyDvEH A.1400@TK2MSFTN GP11.phx.gbl...
                > I am trying to test a vb.net app in VirtualPC on a Win98 install. The app
                > runs but I get "Generic GDI+" errors on any form with a groupbox.
                > Does anyone know what this issue is or how to fix it? Does Win98 not
                > fully
                > support VB.NET??
                >
                >
                >[/color]


                Comment

                • Peter Huang

                  #9
                  Re: Generic GDI+ Error Win98

                  Hi,

                  Can you reproduce the problem on a physical win98 machine?
                  I wonder if the VPC cause the problem, because the problem will disappear
                  after you shutdown the hardware acceleration.

                  Best regards,

                  Peter Huang
                  Microsoft Online Partner Support

                  Get Secure! - www.microsoft.com/security
                  This posting is provided "AS IS" with no warranties, and confers no rights.

                  Comment

                  • ML

                    #10
                    Re: Generic GDI+ Error Win98

                    It seems fine on one other "real" Win98 box. What seems odd is that the
                    only control that causes the issue is the groupbox. Also if the groupbox
                    has no text title, just the frame it works fine as well. Any form with a
                    groupbox with a title fails. Oddly enough I tried using the Janus groupbox
                    and it works fine. Seems as if it is only an issue with the MS groupbox.
                    This is with VS2003 using the latest .NET framework.

                    My concern is that this could show up on a client PC under the right
                    conditions since it happens in the VirtualPC. I also read a few other posts
                    of similar issues on real 98 machines but no clear answer as to why.

                    ""Peter Huang"" <v-phuang@online.m icrosoft.com> wrote in message
                    news:57jMFmLvEH A.3152@cpmsftng xa10.phx.gbl...[color=blue]
                    > Hi,
                    >
                    > Can you reproduce the problem on a physical win98 machine?
                    > I wonder if the VPC cause the problem, because the problem will disappear
                    > after you shutdown the hardware acceleration.
                    >
                    > Best regards,
                    >
                    > Peter Huang
                    > Microsoft Online Partner Support
                    >
                    > Get Secure! - www.microsoft.com/security
                    > This posting is provided "AS IS" with no warranties, and confers no
                    > rights.
                    >[/color]


                    Comment

                    • Peter Huang

                      #11
                      Re: Generic GDI+ Error Win98

                      Hi

                      Thank you for you input.
                      I think the mainly difference between a real machine with a VPC which may
                      cause the issue is that the VPC is a software machine while not a physical
                      machine, most of whose "hardware" is simulated by the software.
                      So it is hard to say which one cause the problem. If you have specified
                      problem with running .net application on win98, can you post here detail,
                      so we can troubleshoot it.

                      If you do care what caused the problem, which may need low level debugging.
                      I think you may try to contact MSPSS for further support service.
                      You may reach MSPSS via the link below.
                      Microsoft Support is here to help you with Microsoft products. Find how-to articles, videos, and training for Microsoft Copilot, Microsoft 365, Windows 11, Surface, and more.


                      If you still have any concern on this issue, please feel free to post here.

                      Best regards,

                      Peter Huang
                      Microsoft Online Partner Support

                      Get Secure! - www.microsoft.com/security
                      This posting is provided "AS IS" with no warranties, and confers no rights.

                      Comment

                      • ML

                        #12
                        Re: Generic GDI+ Error Win98

                        I managed to "fix" the issue. I set the groupbox's flatstyle to "system"
                        instead of "standard" and now it no longer generates a GDI+ error.

                        ""Peter Huang"" <v-phuang@online.m icrosoft.com> wrote in message
                        news:6%23pnWWWv EHA.3028@cpmsft ngxa10.phx.gbl. ..[color=blue]
                        > Hi
                        >
                        > Thank you for you input.
                        > I think the mainly difference between a real machine with a VPC which may
                        > cause the issue is that the VPC is a software machine while not a physical
                        > machine, most of whose "hardware" is simulated by the software.
                        > So it is hard to say which one cause the problem. If you have specified
                        > problem with running .net application on win98, can you post here detail,
                        > so we can troubleshoot it.
                        >
                        > If you do care what caused the problem, which may need low level
                        > debugging.
                        > I think you may try to contact MSPSS for further support service.
                        > You may reach MSPSS via the link below.
                        > http://support.microsoft.com
                        >
                        > If you still have any concern on this issue, please feel free to post
                        > here.
                        >
                        > Best regards,
                        >
                        > Peter Huang
                        > Microsoft Online Partner Support
                        >
                        > Get Secure! - www.microsoft.com/security
                        > This posting is provided "AS IS" with no warranties, and confers no
                        > rights.
                        >[/color]


                        Comment

                        • Peter Huang

                          #13
                          Re: Generic GDI+ Error Win98

                          Hi

                          I am glad that you have "fix" the issue, if you still have other concern,
                          please feel free to post here.

                          Best regards,

                          Peter Huang
                          Microsoft Online Partner Support

                          Get Secure! - www.microsoft.com/security
                          This posting is provided "AS IS" with no warranties, and confers no rights.

                          Comment

                          Working...