VB:IF语句问题 [英] VB: IF statement issue

查看:73
本文介绍了VB:IF语句问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图制作一个程序,使用户能够找到解决手机问题的方法

但是我的程序似乎显示了错误的解决方案

代码:


打开表单后会显示下一位

label2.text =  将设备的问题概括为三到四个字"

解决方案

CG,

如果您想像要设置测试一样,现在真的是一个问题:如何向他们提出问题,以便程序可以弄清楚他们的答案是否正确.

在这种情况下,多项选择测试是最好的方法,我怀疑这就是您的最终选择.多项选择的一些改变如果是,那么是".


im trying to make a program which enables the user to find a solution to their mobile's issue

however my program seems to display the wrong solution 

code:


this next bit is displayed when the form is opened

label2.text =  "Summarise the problem with your device into three to four words"

解决方案

CG,

If you think about this as though you're setting up a test, it's really the same question now: How you pose the question to them in order that the program can figure out whether or not their answer is correct.

In that, a multiple-choice test is the best way and I suspect that's what you'll end up with here. Some alteration of a multiple-choice "if this, then that" sort of thing.


这篇关于VB:IF语句问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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