My.Computer not working in VS2022 desktop app

V. Shane Curtis 0 Reputation points
2025-04-08T11:07:25.46+00:00

Hello,

I am having issues with using My.computer in my app. It generates an error that indicates that it's not defined. I know that it has something to do with the version of the .Net SDK being used in my app. Older apps that use older versions of the SDK still work. I am using version 8 of the SDK.

If there are alternate ways of gathering the information available through My.Computer I am happy to use them instead.

Any help you can provide in fixing this problem is appreciated.

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,827 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Castorix31 88,381 Reputation points
    2025-04-08T12:29:03.6+00:00

    You can see this thread https://www.vbforums.com/showthread.php?901065-Error-using-My-Computer

    (and it depends on what you want to get with My.Computer)

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.