GithubHelp home page GithubHelp logo

Comments (4)

Tape-Worm avatar Tape-Worm commented on May 27, 2024

Have you tried running the examples using C#? I'd like to see if this is something wrong because of VB.Net or if it's something else entirely.

from gorgon.

Tape-Worm avatar Tape-Worm commented on May 27, 2024

OK, so I think I know what your issue is. You need to add an app.manifest to your application so that it can properly detect Windows 10. This is required for all windows apps (including C++). This is from the MSDN documentation on the function used to verify the version #:

"Windows 10: VerifyVersionInfo returns false when called by applications that do not have a compatibility manifest for Windows 8.1 or Windows 10 if the lpVersionInfo parameter is set so that it specifies Windows 8.1 or Windows 10, even when the current operating system version is Windows 8.1 or Windows 10."

If you read this link from the documentation: https://www.tape-worm.net/GorgonDocs/html/564985CC-F18F-4711-A2BC-0796D266E54D.htm

It'll explain what you need to do, this should apply to VB.Net as well.

--- EDIT
After reading the documentation, it's not very clear about this, so I'll update it.

from gorgon.

Tape-Worm avatar Tape-Worm commented on May 27, 2024

By the way, I was just looking at your code in the screen shot, and that line where you're throwing an exception will probably not do what you think it will. Windows Form events like Form_Load tend to just eat the exception. My suggestion is that you catch any errors, display a message dialog, and then exit using a try-catch block in the Form_Load event.

See https://stackoverflow.com/questions/3209706/why-the-form-load-cant-catch-exception

from gorgon.

Ranarrr avatar Ranarrr commented on May 27, 2024

Wow! Thank you for the quick AND thorough response. I've never done any graphics handling, or using D3D for that matter, so this wasn't something that popped up in my mind. I will also be taking your advice and using try catch in my code (for Load event). My bad for not reading the documentation very thoroughly (will do before I try to post any other "bugs").
Gotta say again, thank you very much for your response :)

from gorgon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.