VB6 won't be able to do this:

extern "C"
{
__declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001;
}

which is why I am attempting it through a dll. Doing this one line will trigger the Nvidia Optimus driver, but so far only through C++ which is weird. Like nothing in the C++ project will have anything Nvidia related but somehow the driver magically recognizes it when you do this one line of code. Magically making it happen in VB6 is gonna take some hacks.