Being present in the U.S. on a dependent visa lets you pursue a change of status to a different visa category which may include work visas like H-1B or student visas like F-1 based on your qualifications and available opportunities. When applying from overseas you must follow the correct procedure which includes submitting all required documents at the U.S. embassy or consulate.