问题标签 [windows-mobile-5.0]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
c# - 使用文件
我需要创建一个将读取文件的应用程序,如下所示:
正如你所看到的,我将使用它来设置 TextBox 的一些属性,但我将存储这些引号内的每个内容并将它们存储在一些变量(、、、textFont
)textSize
中textStyle
。
我认为我可以使用此语法打开带有文件的流:
问题是:
- 声明 StreamReader 时,它将读取应用程序目录中的文件?(只是确认)
- 如何仅读取引号内的内容并将每个内容存储在字符串中?
我认为,文件 I/O 在 Windows Mobile 和 Windows 中是相同的。最好的祝福
c# - 没有 File.ReadAllText 有什么办法吗?
因为我喜欢开发文件 I/O 应用程序,而我的新开发平台是 Windows Mobile。有什么方法可以在不使用的情况下读取所有文件File.ReadAllText
?
因为Windows Mobile没有这个功能。
c# - Value Doesn't Fall Within The Expected
I'm building a application that uses a file to configure some fonts. It's like this:
And my code is like this:
And using it like this:
But when I execute it I got this error:
ArgumentException
Value does not fall within the expected
Then I have two questions:
- How can I solve this problem?
- How can I use instead of a string for
TextSize
use a float to implement it in theFont
method?
Thanks.
c# - 字符串数组和字符串参数
我正在开发一个简单的应用程序,它有这样一行:
由于 inputFile 是一个字符串,但是我怎样才能做到这一点而不会发生冲突(不能在 'string[]' 中隐式转换类型 'string')?
c# - 将文件关联到应用程序
我正在构建两个程序,一个文本编辑器和一个 zipper,但是在这两个程序中,我想为它们关联一个文件类型,但是我该怎么做呢?谢谢。
c# - FileAssociationInfo 和 ProgramAssociationInfo
我正在使用 C#(.Net Compact Framework 3.5) 为 Windows Mobile 开发应用程序,但我需要将我的程序与文件类型相关联。当我尝试使用 FileAssociationInfo 时,出现此错误:The type or namespace name 'FileAssociationInfo' could not be found (are you missing a using directive or an assembly reference?)
我需要做什么?
c# - CVTRES:致命错误 CVT1105:无法在文件中查找
我正在编译我的 Windows Mobile 项目,它是一个图像查看器,就在我单击构建按钮时,我收到了这个错误:
CVTRES:致命错误 CVT1105:无法在文件中查找
我正在使用带有 Visual Studio 2008 SP1 的 Windows 7 Ultimate。
c# - 使用 PlaySound 时没有听到任何声音
我正在开发一个简单的应用程序来使用 PlaySound 播放 WAV 文件,代码如下:
但是当我执行它并选择一个 WAV 文件(有 2 分钟的声音)时,我什么也没听到。
我需要做什么?谢谢。
c# - 通过 C# 应用程序在 phpBB 板上发布
我要改进我的一个新项目,我想添加的功能之一是可以在 phpBB 论坛板上发布一个新线程,但可以这样做吗?如果是,我该怎么做?谢谢。
c++ - 为 Windows Mobile 5 编译 Qt 应用程序
我正在尝试为 Windows Mobile 5 编译一个小型 Qt 应用程序。
所以我有几个问题:
- 目前我使用的是 ubuntu 9.10,我听说过一些关于交叉编译的事情,但我没有找到一个必须这样做的真实例子。可以从linux编译吗?
- 如何在任何地方为移动设备编译应用程序(windows(VS、mingw 等)、linux(cmake、qmake 等))
tnx,