Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个字符串列表,代表我的 vb6 项目中的现有表单名称。我需要遍历每个名称并动态加载每个表单以编程方式访问其控件。到目前为止,我已经尝试使用 ScriptHost 命令来执行字符串生成的脚本,但是,我还没有成功加载表单。
尝试使用您的姓名添加表单,然后显示。
Set frm = Forms.Add("myForm") frm.Show()