WinCE下打开外部程序(VBNET)

来源:互联网 发布:网络信息平台建设 编辑:程序博客网 时间:2024/06/05 06:09

WinCE下打开外部程序(VBNET)


1、引用

Imports System.IO

Imports System.Reflection

2、本地路径(参考)

Dim mypath As String = Path.GetDirectoryName(Assembly.GetExecutingAssembly().GetName().CodeBase).ToString()

3、打开绝对路径

System.Diagnostics.Process.Start("\Storage Card\CE\NewCE001.exe", Nothing)


网上资料主要为C#和C++类的,经过我的修改翻译成VBNET;

至此,完成了.exe对外部.exe打开的工作,以便于开机启动,以此记之,与君共勉!


0 0