How do intermolecular forces affect solubility?
The type of intermolecular bond effects the solubility.
Say for example one has a Hydrogen Bond, which is the strongest type of intermolecular bonding, now a particular solvent has to try and break that bond in order for the particular compound to dissolve (so basically the solvent has to break the intermolecular forces within a compound in order for it to disassociate or dissolve). That's why only certain solvents dissolve certain compounds.
Hope I helped in answering your question :)