在visual basic中的1个项目中运行多个表单 [英] Run multiple form in 1 project in visual basic

查看:85
本文介绍了在visual basic中的1个项目中运行多个表单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我在Visual Basic中遇到了一些问题,

如何设置从开始到结束的所有表单,以及如何在调试时设置这些表单,第一名的形式将调试第一,怎么样?



我尝试过:



现在我已将我的所有按钮设置为隐藏并显示这些表单,当我点击但开始调试时,表单永远不会显示和系统警告因为调试目标...是Missing.Please构建项目并重试,或者适当地设置OutputPath和AssemblyName属性以指向目标程序集的正确位置。

Hello everyone,I got some problem for the form in Visual Basic,
How i can set all of the form from the start to the end, and how to i set those form when i debug,the form in 1st place will debug 1st, How?

What I have tried:

Now i have set all my button to hide and show those form when i click but started to debug,the form never show up and system warning "Because the debugging target ... is Missing.Please build the project and retry,or set the OutputPath and AssemblyName properties appropriately to point at the correct location for the target assembly."

推荐答案

我理解你的问题,我猜问题是与调用表单的逻辑无关,而是与项目属性或项目配置相关



阅读这些帖子 -

c# - 缺少调试目标? - 堆栈溢出 [ ^ ]



c# - WinForm应用程序无法运行,因为& quot。缺失& quot; - 堆栈溢出 [ ^ ]



如何设置输出路径和程序集名称属性? - Xbox LIVE独立游戏论坛 [ ^ ]



我知道你想要直接的解决方案,而不是帖子的链接但是因为我们看不到你的代码而无法调试它,几乎不可能提供精确的解决方案
I understand your problem and I guess the issue is not related to the logic which calls the form but rather its with project properties or project configuration

Read these posts -
c# - Debug Target Is Missing? - Stack Overflow[^]

c# - WinForm Application cannot run because ".exe is missing" - Stack Overflow[^]

How to set output path and assembly name properties? - Xbox LIVE Indie Games Forums[^]

I know that you want direct solution and not the links of post but since we can't see your code and can't debug it, it is nearly impossible to provide exact solution


这篇关于在visual basic中的1个项目中运行多个表单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆