   Runtime and Debug Mode
  Does anyone know how to switch from runtime to debug compile states with visual basic 6.0?  I have written a directx application, however on any machine that doesn''t have the debug libraries for directx it doesn''t run correctly.  Everything still initializes correctly, but all that is displayed is a black screen.  Any help would really be appreciated.   
  I''ve had this problem I VB when creating a direct x program too. I fixed it by doing a couple things. First how far are you in to the programming? Only Inti? Painting to the screen?    DarkNebula ;  It is nearly completed... beta versions... the software is a bit over 10,000 lines ;  I''m not certain, but you might need to put the SDK on the target machine to get the debug runtime.  Check first.It has nothing to do with Visual.  Go to Control Panel->DirectX->Direct3D tab, and set the Use Debug Version radio.  From there, anything that debugs DirectX will use the debug libs.   I like pie. ;  I want it to be able to run on the runtimes though, not the debug libraries ;  Are you creating a reference device by chance?  If you are, it won''t work on end-user systems and you''ll just get a black screen.  The reference device is only for development purposes.Not sure what the syntax looks like in VB6 but it''s the second argument to CreateDevice -- D3DDEVTYPE_REF or D3DDEVTYPE_HAL in C++.