I think not for all country but some country need to have Vientnam working permit or visa for long stay in there to apply for and oder country visa from there
maybe the African people need Vientnam work permit to apply Thai visa there but me I have Thai wife and 3kid including all documents but in them told me fat I need to have Vientnam working permit or visa for long stay to apply visa for Thailand