模块文件打开帮助 [英] Module File Opening Help

查看:51
本文介绍了模块文件打开帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在制作虚拟机(请不要对此发表评论),并且我需要能够在exe模块上拖动文件并将其打开.这是c#中的示例代码:

hey guys,

i am making a virtual machine(please don''t comment on that) and i need to be able to drag a file on the module exe and it opens. Here is an example code in c#:

namespace H3LTON_v2._2
{
    class Program
    {
        static void Main(string[] args)
        {
             Console.Write(args[0]);
        }
    }
}



那是c#中的示例代码,有什么方法可以在Visual Basic 2010中做"args [0]"吗?



that is an example code in c#, is there any way that i can do an ''args[0]'' in Visual Basic 2010?

推荐答案

尝试:
Private Shared Sub Main(ByVal args As String())
    Console.Write(args(0))
End Sub


这篇关于模块文件打开帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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