What was the old graphics card? It must have been erally old if it's doing stuff in the config.sys file.

Anyway, safest way to change a video card is to change it to lowest resolution possible before swapping it for the new one, less likely to get conflicts that way. Then install the new driver after the new card is in.

If it still doesn't work, methinks I might like to see your config.sys file contents.