小编Lif*_*ift的帖子

我需要什么版本的Visual Studio来开发Windows Mobile 6.1应用程序?

我需要什么版本的Visual Studio来开发Windows Mobile 6.1应用程序?

我希望用Visual Studio编写运行Windows Mobile 6.1的设备的应用程序.我听说Visual Studio的Express版本不支持这个,但我读过的一些网站说标准版本有,有些人说只有专业人士才这样做.

有些人还说你可以使用Visual Studio 2010,有人说你只能用2008.

我目前正在运行Visual Studio 2012 Express,我认为它不支持Mobile,更不用说6.1了.

visual-studio windows-mobile-6.1

12
推荐指数
1
解决办法
1万
查看次数

对于每个文本框循环

我正在尝试创建一个foreach循环来检查面板中的每个TextBox,如果Text没有,则更改BackColor.我尝试过以下方法:

Dim c As TextBox
For Each c In Panel1.Controls
  if c.Text = "" Then
    c.BackColor = Color.LightYellow
  End If
Next
Run Code Online (Sandbox Code Playgroud)

但是我收到了错误:

无法将System.Windows.Forms.Label类型的对象强制转换为System.windows.forms.textbox类型

vb.net

8
推荐指数
2
解决办法
4万
查看次数

标签 统计

vb.net ×1

visual-studio ×1

windows-mobile-6.1 ×1