VB Date应用程序 [英] VB Date application

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

问题描述

嘿所有人,有人可以帮我提供下面这个应用程序的代码*我已经创建了程序,如果你在标签栏中输入日期。它输出相同的文本..这不是要求的东西。我只是不知道如何开始它。任何
的解释都将受到高度赞赏。

Hey all, can anyone please help me with the code for this application *below* I've created programs where, if you type in the date in a label box. It outputs the same text.. Not something that this is asking for. I just don't know how to start it off. Any explanation would be highly appreciated.

编写一个接受两个输入的程序:日期和月份(均为数字格式)。



验证输入以确保天数在1 - 31范围内,月份在1 - 12范围内。如果输入值无效,则向用户发送消息。

Write a program that accepts two inputs: Date and month (both in numeric format).

Validate the input to ensure days are within the range 1 - 31, and months are within the range 1 - 12. Send the user a message if the input values are invalid.





使用输入框接受年份。

Use an input box to accept the year.

输出两行格式说

美国日期

mm / dd / yyyy

包含第二个按钮,将日期格式切换为世界其他地方可识别的格式。新消息应该说

Include a second button to switch the date format to one recognized elsewhere in the world. The new message should say

日期

dd / mm / yyyy

推荐答案

您好

这是学校作业吗?

你说"我创建了程序" - 显示到目前为止的代码。

You say "I've created programs" - show the code you have so far.


这篇关于VB Date应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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