conversion of proj from Vb to .NET

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

    conversion of proj from Vb to .NET

    Hi

    I have a project which I converted from Vb to Vb.NEt

    But the system is running extremely slow. I have Intel PIII Processor , 256
    MB RAM. Plz let me know if tehre is anything I can do to enhance the
    performance of my system.

    I know from MSDN that vs.net can run on p-II even, then why is the system so
    slow?

    Regards.


  • Armin Zingler

    #2
    Re: conversion of proj from Vb to .NET

    "Amka" <red@red.red> schrieb[color=blue]
    >
    > I have a project which I converted from Vb to Vb.NEt
    >
    > But the system is running extremely slow. I have Intel PIII Processor
    > , 256 MB RAM. Plz let me know if tehre is anything I can do to
    > enhance the performance of my system.
    >
    > I know from MSDN that vs.net can run on p-II even, then why is the
    > system so slow?[/color]

    If it runs, MSDN is correct. What is your problem? VS.NET is too slow or
    your converted project is too slow? In both cases, please be more specific
    on *what* is slow. On my XP1600+/512MB the IDE is often too slow, so I am
    not surprised that it is also true on a P3 (nevertheless I think it
    shouldn't).


    --
    Armin



    Comment

    • Peter van der Goes

      #3
      Re: conversion of proj from Vb to .NET


      "Amka" <red@red.red> wrote in message
      news:u85R4oN5DH A.2404@TK2MSFTN GP12.phx.gbl...[color=blue]
      > Hi
      >
      > I have a project which I converted from Vb to Vb.NEt
      >
      > But the system is running extremely slow. I have Intel PIII Processor ,[/color]
      256[color=blue]
      > MB RAM. Plz let me know if tehre is anything I can do to enhance the
      > performance of my system.
      >
      > I know from MSDN that vs.net can run on p-II even, then why is the system[/color]
      so[color=blue]
      > slow?
      >
      > Regards.
      >
      >[/color]
      Please provide some details, Amka.
      What, exactly, is running slowly? The Visual Studio .NET IDE, your solution
      in the IDE, or your solution as deployed? What does your solution do? Is
      database access involved, etc? Also, what speed CPU and what other hardware
      is involved?
      Without detailed information it's difficult to provide constructive
      suggestions, except to say that if your concerns are about Visual Studio
      ..NET itself, an additional 256 Meg of memory will produce a noticeable
      improvement, IME.

      --
      Peter [MVP Academic]


      Comment

      • Jay B. Harlow [MVP - Outlook]

        #4
        Re: conversion of proj from Vb to .NET

        Amka,
        In addition to Armin's comments.

        Remember there are things that you would do in VB6 to improve performance
        that may actually hurt performance in VB.NET.

        The following articles provide information on writing .NET code that
        performs well.











        Hope this helps
        Jay


        "Amka" <red@red.red> wrote in message
        news:u85R4oN5DH A.2404@TK2MSFTN GP12.phx.gbl...[color=blue]
        > Hi
        >
        > I have a project which I converted from Vb to Vb.NEt
        >
        > But the system is running extremely slow. I have Intel PIII Processor ,[/color]
        256[color=blue]
        > MB RAM. Plz let me know if tehre is anything I can do to enhance the
        > performance of my system.
        >
        > I know from MSDN that vs.net can run on p-II even, then why is the system[/color]
        so[color=blue]
        > slow?
        >
        > Regards.
        >
        >[/color]


        Comment

        • Herfried K. Wagner [MVP]

          #5
          Re: conversion of proj from Vb to .NET

          * "Amka" <red@red.red> scripsit:[color=blue]
          > I have a project which I converted from Vb to Vb.NEt
          >
          > But the system is running extremely slow. I have Intel PIII Processor , 256
          > MB RAM. Plz let me know if tehre is anything I can do to enhance the
          > performance of my system.[/color]

          If you run VS.NET on a machine with 256 MB RAM, add RAM to the machine.
          I have VS.NET installed on two machines:

          PII 350, 256 MB RAM: Sometimes the IDE "hangs", but it's possible to
          work, even on larger projects (> 150 classes).

          PIV 1.6, 785 MB RAM: Incredible fast. One year ago, the machine had
          256 MB RAM, after adding 512 MB everything was /much/ faster.

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

          Comment

          • Cor

            #6
            Re: conversion of proj from Vb to .NET

            Hi Amka,

            Herfried K. Wagner says often he uses a PII 350 (I do not know if that is
            changed)

            So tell us something more what is the slow part?
            Maybe we can help you then.

            Cor[color=blue]
            >
            > I have a project which I converted from Vb to Vb.NEt
            > But the system is running extremely slow. I have Intel PIII Processor ,[/color]
            256[color=blue]
            > MB RAM. Plz let me know if tehre is anything I can do to enhance the
            > performance of my system.
            >[/color]


            Comment

            • Herfried K. Wagner [MVP]

              #7
              Re: conversion of proj from Vb to .NET

              * "Cor" <non@non.com> scripsit:[color=blue]
              > Herfried K. Wagner says often he uses a PII 350 (I do not know if that is
              > changed)[/color]

              Yes, that's true. On weekends I use this machine. Nevertheless, I have
              configured the machine to run fast, by deactivating some services and
              applications. And I never run more than one instance of VS.NET at once.

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

              Comment

              • Amka

                #8
                Re: conversion of proj from Vb to .NET

                Thanks Peter. I have even tried with extra RAM, it did not help. I have
                given the details here. Plz see the reply to Cor.

                "Peter van der Goes" <p_vandergoes@m ars.cox.neptune > wrote in message
                news:Op8v5CO5DH A.488@TK2MSFTNG P12.phx.gbl...[color=blue]
                >
                > "Amka" <red@red.red> wrote in message
                > news:u85R4oN5DH A.2404@TK2MSFTN GP12.phx.gbl...[color=green]
                > > Hi
                > >
                > > I have a project which I converted from Vb to Vb.NEt
                > >
                > > But the system is running extremely slow. I have Intel PIII Processor ,[/color]
                > 256[color=green]
                > > MB RAM. Plz let me know if tehre is anything I can do to enhance the
                > > performance of my system.
                > >
                > > I know from MSDN that vs.net can run on p-II even, then why is the[/color][/color]
                system[color=blue]
                > so[color=green]
                > > slow?
                > >
                > > Regards.
                > >
                > >[/color]
                > Please provide some details, Amka.
                > What, exactly, is running slowly? The Visual Studio .NET IDE, your[/color]
                solution[color=blue]
                > in the IDE, or your solution as deployed? What does your solution do? Is
                > database access involved, etc? Also, what speed CPU and what other[/color]
                hardware[color=blue]
                > is involved?
                > Without detailed information it's difficult to provide constructive
                > suggestions, except to say that if your concerns are about Visual Studio
                > .NET itself, an additional 256 Meg of memory will produce a noticeable
                > improvement, IME.
                >
                > --
                > Peter [MVP Academic]
                >
                >[/color]


                Comment

                • Amka

                  #9
                  Re: conversion of proj from Vb to .NET

                  > In addition to Armin's comments
                  I did not find any response by Armin. Appreciate if you look into the
                  details of my issue,as given to Cor.

                  "Jay B. Harlow [MVP - Outlook]" <Jay_Harlow_MVP @msn.com> wrote in message
                  news:edb6AEO5DH A.1428@TK2MSFTN GP12.phx.gbl...[color=blue]
                  > Amka,
                  > In addition to Armin's comments.
                  >
                  > Remember there are things that you would do in VB6 to improve performance
                  > that may actually hurt performance in VB.NET.
                  >
                  > The following articles provide information on writing .NET code that
                  > performs well.
                  >
                  >[/color]
                  http://msdn.microsoft.com/library/de...anagedcode.asp[color=blue]
                  >
                  >[/color]
                  http://msdn.microsoft.com/library/de...anagedapps.asp[color=blue]
                  >
                  >[/color]
                  http://msdn.microsoft.com/library/de...vbnstrcatn.asp[color=blue]
                  >
                  >[/color]
                  http://msdn.microsoft.com/library/de...tchperfopt.asp[color=blue]
                  >
                  >[/color]
                  http://msdn.microsoft.com/library/de...tperftechs.asp[color=blue]
                  >
                  > Hope this helps
                  > Jay
                  >
                  >
                  > "Amka" <red@red.red> wrote in message
                  > news:u85R4oN5DH A.2404@TK2MSFTN GP12.phx.gbl...[color=green]
                  > > Hi
                  > >
                  > > I have a project which I converted from Vb to Vb.NEt
                  > >
                  > > But the system is running extremely slow. I have Intel PIII Processor ,[/color]
                  > 256[color=green]
                  > > MB RAM. Plz let me know if tehre is anything I can do to enhance the
                  > > performance of my system.
                  > >
                  > > I know from MSDN that vs.net can run on p-II even, then why is the[/color][/color]
                  system[color=blue]
                  > so[color=green]
                  > > slow?
                  > >
                  > > Regards.
                  > >
                  > >[/color]
                  >
                  >[/color]


                  Comment

                  • Amka

                    #10
                    Re: conversion of proj from Vb to .NET

                    Sure Cor. Actually I converted this project from VB to VB.NET
                    Now as I open this project by clicking to any form in the solution's
                    explorer, it takes considerable amount of time to open the form. After the
                    form is opened, the pointer is still as the hourglass for a long time.So the
                    issues are showing up in the design time itself. Do we have some settings
                    here that could be changed accordingly to enhance the system's performance,
                    like the InterOp, or debugger, or any background process that might be
                    having a direct link with the performance? Please help. Also, I must mention
                    that the application is pretty huge with around 120 forms and class modules
                    put together.
                    Regards.


                    What we would ideally like is to know if there are any settings in .NET IDE

                    which would result in a performance hit. Would there be any settings ( like

                    referrring to InterOp DLLs) which could be turned off or for that matter

                    turned on which would help us.

                    Also would there be any background process running ( like a debugger or so)

                    which may reduce the speed. We have noticed that even after a file is

                    opened in design/code view, the mouse pointer is still in the hourglass

                    mode which typically indicates that there are some background processes

                    running.




                    "Cor" <non@non.com> wrote in message
                    news:eA6KXFO5DH A.2348@TK2MSFTN GP10.phx.gbl...[color=blue]
                    > Hi Amka,
                    >
                    > Herfried K. Wagner says often he uses a PII 350 (I do not know if that is
                    > changed)
                    >
                    > So tell us something more what is the slow part?
                    > Maybe we can help you then.
                    >
                    > Cor[color=green]
                    > >
                    > > I have a project which I converted from Vb to Vb.NEt
                    > > But the system is running extremely slow. I have Intel PIII Processor ,[/color]
                    > 256[color=green]
                    > > MB RAM. Plz let me know if tehre is anything I can do to enhance the
                    > > performance of my system.
                    > >[/color]
                    >
                    >[/color]


                    Comment

                    • Armin Zingler

                      #11
                      Re: conversion of proj from Vb to .NET

                      "Amka" <red@red.red> schrieb[color=blue][color=green]
                      > > In addition to Armin's comments[/color]
                      > I did not find any response by Armin.[/color]

                      Heeellooo, I am over here in the vb.net group ;-) .... hmm, he/she can't
                      hear me..
                      [color=blue]
                      > Appreciate if you look into the
                      > details of my issue,as given to Cor.[/color]

                      I don't see a reply to Cor.


                      --
                      Armin




                      Comment

                      • Cor

                        #12
                        Re: conversion of proj from Vb to .NET

                        Hi Amka,

                        Are you using 2002 or 2003 because 2002 I remember me now is starting much
                        slower than 2003.

                        Cor


                        Comment

                        • Cor

                          #13
                          Re: conversion of proj from Vb to .NET

                          Hi Armin,

                          I am angry about something, I think you hear it probably this week.

                          This is the message to me,
                          My answer is about 2002 and 2003

                          Sure Cor. Actually I converted this project from VB to VB.NET
                          Now as I open this project by clicking to any form in the solution's
                          explorer, it takes considerable amount of time to open the form. After the
                          form is opened, the pointer is still as the hourglass for a long time.So the
                          issues are showing up in the design time itself. Do we have some settings
                          here that could be changed accordingly to enhance the system's performance,
                          like the InterOp, or debugger, or any background process that might be
                          having a direct link with the performance? Please help. Also, I must mention
                          that the application is pretty huge with around 120 forms and class modules
                          put together.
                          Regards.


                          What we would ideally like is to know if there are any settings in .NET IDE

                          which would result in a performance hit. Would there be any settings ( like

                          referrring to InterOp DLLs) which could be turned off or for that matter

                          turned on which would help us.

                          Also would there be any background process running ( like a debugger or so)

                          which may reduce the speed. We have noticed that even after a file is

                          opened in design/code view, the mouse pointer is still in the hourglass

                          mode which typically indicates that there are some background processes

                          running.




                          Comment

                          • Armin Zingler

                            #14
                            Re: conversion of proj from Vb to .NET

                            "Amka" <red@red.red> schrieb[color=blue]
                            > Sure Cor. Actually I converted this project from VB to VB.NET
                            > Now as I open this project by clicking to any form in the
                            > solution's explorer, it takes considerable amount of time to open the
                            > form. After the form is opened, the pointer is still as the hourglass
                            > for a long time.So the issues are showing up in the design time
                            > itself.[/color]

                            Opening the Form designer is really sssslllooowww. "Even" on my
                            XP1600+/512MB. I set the default editor for Forms to the code editor because
                            I modify the code much more frequently than the layout. If you also want
                            this, and if you don't want to "jump" to the "view code" icon: right-click
                            on the form in the solution explorer, "open with...", select "Microsoft
                            Visual Basic-Editor", click "Standard".


                            --
                            Armin




                            Comment

                            • Armin Zingler

                              #15
                              Re: conversion of proj from Vb to .NET

                              "Cor" <non@non.com> schrieb[color=blue]
                              > Hi Armin,
                              >
                              > I am angry about something, I think you hear it probably this
                              > week.[/color]

                              ??
                              [color=blue]
                              > This is the message to me,[/color]

                              Thanks, but I received it meanwhile.


                              --
                              Armin




                              Comment

                              Working...