VS 2022 upgrade queries

Nick Buckenham 41 Reputation points
2022-05-18T11:58:41.45+00:00

I am upgrading a major VB project developed in VS 2010 to newly installed VS 2022, and would appreciate advice on a couple of things -

  1. I use VB Powerpacks but although my existing project compiles with them still showing I can't get Powerpacks listed in the Toolbox. Tools > Choose Toolbox items doesn't show them. I still have, and have again run, vb_vbpowerpacks.exe but they don't show. Is this a 32 vs 64 bit issue? Is there a better way to ensure this works?
  2. When single-stepping through code, if I reset something and Set Next Statement to a previous line it never works 1st time, but repeating the Set next statement does ... is this a bug?
  3. It's oddly difficult after so many years remembering to use F11 instead of F8 to single step - is this changeable?

Thanks!

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,599 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 25,551 Reputation points Microsoft Vendor
    2022-05-19T09:35:18.557+00:00

    Hi @Nick Buckenham ,

    Welcome to Microsoft Q&A!

    >1. I use VB Powerpacks but although my existing project compiles with them still showing I can't get Powerpacks listed in the Toolbox. Tools > Choose Toolbox items doesn't show them. I still have, and have again run, vb_vbpowerpacks.exe but they don't show. Is this a 32 vs 64 bit issue? Is there a better way to ensure this works?

    Can you tell me your project’s target framework is .NET Core or .NET Framework?

    It is noted that the Visual Basic Power Packs has ended for support. Running the vb_vbpowerpacks.exe directly does not work. You can see more details here.

    If you want to use the PowerPacks controls, you can add a reference by right-clicking on project > Manage NuGet Packages > Browse > search “Microsoft.VisualBasic.PowerPacks.Vs” > install “VisualBasic.PowerPacks.Vs”.

    Then, you can go to Toolbox > Choose Items… > Filter the PowerPacks controls to add them to toolbox.

    >2.When single-stepping through code, if I reset something and Set Next Statement to a previous line it never works 1st time, but repeating the Set next statement does ... is this a bug?

    I couldn’t reproduce what you said on my side. You can check if the situations in the document are causing this problem.

    >3.It's oddly difficult after so many years remembering to use F11 instead of F8 to single step - is this changeable?

    In Visual Studio 2022, the F8 shortcut refers to “Go to next location”. F11 is used to “Step into” code line by line.
    If you want to reassign, please refer to: Customize a keyboard shortcut.

    Sincerely,
    Anna
    *
    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.